Package Details: vlc-git 4.0.0.r28784.g2e086ae8ed-1

Git Clone URL: https://aur.archlinux.org/vlc-git.git (read-only, click to copy)
Package Base: vlc-git
Description: Multi-platform MPEG, VCD/DVD, and DivX player
Upstream URL: https://code.videolan.org/videolan/vlc
Licenses: GPL2, LGPL2.1
Conflicts: vlc
Provides: vlc
Submitter: None
Maintainer: xiota (knoelli)
Last Packager: knoelli
Votes: 206
Popularity: 0.35
First Submitted: 2008-04-01 12:14 (UTC)
Last Updated: 2024-04-29 16:33 (UTC)

Required by (160)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 44 Next › Last »

ManuelBoe commented on 2024-05-05 08:14 (UTC)

It works! Thank You @knoelli!

knoelli commented on 2024-04-29 16:46 (UTC)

@jwhickman The Qt6.7 patch was merged with commits 42fa6221 and 9cbc2ff2 so 5182.patch is no longer needed. I updated PKGBUILD so compilation should work again.

jwhickman commented on 2024-04-29 12:58 (UTC)

It works - after I strip 5182.patch from the PKGBUILD.

knoelli commented on 2024-04-26 19:04 (UTC)

@cassa The error you see is because the source has already been patched. If you use an AUR helper like yay, you should look for the temporary build directory (in case of yay it should be ~/.cache/yay/vlc-git/) and install the already build package from there with pacman -U <packagename>.tar.zst.

cassa commented on 2024-04-25 22:49 (UTC)

I had almost installed the package - but password timed out - now I consistently get

Hunk #2 FAILED at 39.

but the reject file saved is nowhere to be found

knoelli commented on 2024-04-25 15:21 (UTC) (edited on 2024-04-25 19:48 (UTC) by knoelli)

@ManuelBoe Upstream did quite a lot of changes which made modifications to the Qt6.7 patch necessary. Latest commit should not compile, except for the following problem:

@all
Current version of libupnp 1.14.19-1 contains a bug in one of it's configuration files which makes this package fail to build right now. In order to compile the package, you need to either:
- downgrade to libupnp 1.14.18-1
- manually edit the file /usr/lib/pkgconfig/libupnp.pc and add the version number 1.14.19-1 in the corresponding line
- wait for the libupnp package to get updated, I'll open a ticket for the package maintainer right now.

libupnp version 1.14.19-2 fixes above mentioned issue.

ManuelBoe commented on 2024-04-24 12:15 (UTC)

Something still doesn't seem right.

Hunk #1 succeeded at 1 with fuzz 1.
Hunk #2 succeeded at 39 with fuzz 1 (offset -1 lines).
can't find file to patch at input line 1924
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch b/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch
|index 6a8edacf20c1..ebfd73309e49 100644
|--- a/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch
|+++ b/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
3 out of 3 hunks ignored
patching file contrib/src/qtshadertools/SHA512SUMS
patching file contrib/src/qtshadertools/rules.mak
patching file contrib/src/qtsvg/SHA512SUMS
patching file contrib/src/qtsvg/rules.mak
patching file contrib/src/qtvlcdeps/vlcdeps.pro
Hunk #1 succeeded at 6 with fuzz 1 (offset 2 lines).
patching file contrib/src/qtwayland/SHA512SUMS
patching file contrib/src/qtwayland/rules.mak
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: vlc-git-exit status 4

kunring commented on 2024-04-14 15:43 (UTC)

@knoelli Thank you, the package is working for me now.

knoelli commented on 2024-04-14 00:21 (UTC)

@kunring Current VLC source is not yet compatible with Qt 6.7 which is now the default installed on Arch. There is a patch available to make VLC compatible with Qt 6.7, which has not yet been merged into the source. I've updated the package to include this patch and VLC should now compile again.

kunring commented on 2024-04-13 21:33 (UTC)

Fails for me in a clean chroot:

/usr/include/qt6/QtCore/qobjectdefs.h:480:15: error: no type named ‘ReturnType’ in ‘struct QtPrivate::Callable<InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t*, MainCtx*, QWindow*, QObject*)::<lambda()>, std::nullptr_t>’
  480 |         using R = typename QtPrivate::Callable<Func, Args...>::ReturnType;
      |               ^
/usr/include/qt6/QtCore/qobjectdefs.h:481:47: error: no type named ‘ReturnType’ in ‘struct QtPrivate::Callable<InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t*, MainCtx*, QWindow*, QObject*)::<lambda()>, std::nullptr_t>’
  481 |         QTemplatedMetaMethodReturnArgument<R> r{ QtPrivate::qMetaTypeInterfaceForType<R>(), nullptr,
      |                                               ^
/usr/include/qt6/QtCore/qobjectdefs.h:481:47: error: no type named ‘ReturnType’ in ‘struct QtPrivate::Callable<InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t*, MainCtx*, QWindow*, QObject*)::<lambda()>, std::nullptr_t>’
  CXX      maininterface/libqt_plugin_la-compositor_x11_uisurface.lo
  CXX      maininterface/libqt_plugin_la-compositor_x11_utils.lo
make[5]: *** [Makefile:8099: maininterface/libqt_plugin_la-interface_window_handler.lo] Error 1