commit: dc9c0ffb402ba9d890059866257921fd41469c7f Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Feb 15 22:37:57 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 16 09:15:01 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9c0ffb
media-video/vlc: Add masked 4.0.0_pre20260215 Qt6-based snapshot Bug: https://bugs.gentoo.org/954006 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/45823 Closes: https://github.com/gentoo/gentoo/pull/45823 Signed-off-by: Sam James <sam <AT> gentoo.org> media-video/vlc/Manifest | 1 + media-video/vlc/files/vlc-4.0.0_pre20260215-force-x11.patch | 11 +++++++++++ .../vlc/{vlc-9999.ebuild => vlc-4.0.0_pre20260215.ebuild} | 5 +++-- media-video/vlc/vlc-9999.ebuild | 2 +- profiles/package.mask | 4 ++++ 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest index a4dad3d697f4..b5ed03a494ec 100644 --- a/media-video/vlc/Manifest +++ b/media-video/vlc/Manifest @@ -1 +1,2 @@ DIST vlc-3.0.23.tar.xz 26486988 BLAKE2B 4cf4371f244b04b87903662e2cf5d4992cad0a7ded5c6fcb22c190de5804758eff921f570bb0e803aed3e6fe3c1712b52eb3c2fbcb8017dcfe9c734238095c42 SHA512 557e4ac76a17158877a4a86f27c9a5bc189b7ac559687552117dc8b44961d1172cf93bf8e1eb70fecb05999bdfc3f69ab79b55126c71486fe3a8cdfbf92e6df6 +DIST vlc-4.0.0_pre20260215-50fca9d2.tar.gz 37036144 BLAKE2B fa5360064109d5e195df4caacb2eaeb389ce859975b5b6c4ec8077f29c82c56e16f118c2af668986c4506df9ea7619c90404332be11c52e39081cb9d4b51b7ba SHA512 aaf39a00f757daa7ada98bb5031a360434904f8b4d5d5613661ee93d0492863f188bc7ff54c10b2e50346703f1a662c8b26bec9d5853a38ca764f36b94d7db8a diff --git a/media-video/vlc/files/vlc-4.0.0_pre20260215-force-x11.patch b/media-video/vlc/files/vlc-4.0.0_pre20260215-force-x11.patch new file mode 100644 index 000000000000..a97a0dd62be9 --- /dev/null +++ b/media-video/vlc/files/vlc-4.0.0_pre20260215-force-x11.patch @@ -0,0 +1,11 @@ +--- a/share/vlc.desktop.in ++++ b/share/vlc.desktop.in +@@ -117,7 +117,7 @@ + Name[zh_CN]=VLC 媒体播放器 + GenericName[zh_CN]=媒体播放器 + Comment[zh_CN]=读取、捕获、广播您的多媒体流 +-Exec=@bindir@/vlc --started-from-file %U ++Exec=env QT_QPA_PLATFORM=xcb @bindir@/vlc --started-from-file %U + TryExec=@bindir@/vlc + Icon=vlc + Terminal=false diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-4.0.0_pre20260215.ebuild similarity index 98% copy from media-video/vlc/vlc-9999.ebuild copy to media-video/vlc/vlc-4.0.0_pre20260215.ebuild index 8b66f080807d..d4724a39e626 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-4.0.0_pre20260215.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]] ; then EGIT_REPO_URI="https://code.videolan.org/videolan/vlc.git" inherit git-r3 else - COMMIT= + COMMIT=50fca9d25c78dffc00cef24cae467fc202d19466 if [[ -n ${COMMIT} ]] ; then SRC_URI="https://code.videolan.org/videolan/vlc/-/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" @@ -245,6 +245,7 @@ PATCHES=( "${FILESDIR}"/${PN}-9999-no-vlc-cache-gen.patch # bugs 564842, 608256 "${FILESDIR}"/${PN}-9999-fix-libtremor-libs.patch # build system "${FILESDIR}"/${PN}-9999-configure-lua-version.patch + "${FILESDIR}"/${P}-force-x11.patch # crashes w/ wayland platform plugin ) pkg_setup() { @@ -260,7 +261,7 @@ src_prepare() { xdg_environment_reset # Bootstrap when we are on a git checkout. - if [[ ${PV} == *9999* || ${PV} == *_p[0-9]* ]] ; then + if [[ ${PV} == *9999* || ${PV} == *_p[0-9]* || ${PV} == *_pre[0-9]* ]] ; then ./bootstrap fi diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index 8b66f080807d..6c296667d4fc 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -260,7 +260,7 @@ src_prepare() { xdg_environment_reset # Bootstrap when we are on a git checkout. - if [[ ${PV} == *9999* || ${PV} == *_p[0-9]* ]] ; then + if [[ ${PV} == *9999* || ${PV} == *_p[0-9]* || ${PV} == *_pre[0-9]* ]] ; then ./bootstrap fi diff --git a/profiles/package.mask b/profiles/package.mask index 8db6dc6207e7..469e3a022f7c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -36,6 +36,10 @@ #--- END OF EXAMPLES --- +# Andreas Sturmlechner <[email protected]> (2026-02-15) +# Masked for testing and possible libvlc revdeps breakage. +~media-video/vlc-4.0.0_pre20260215 + # Conrad Kostecki <[email protected]> (2026-02-15) # Supports only Qt5 and upstream not making any progress towards Qt6. # Removal on 2026-03-01. Bug #953260.
