diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-05-04 18:46:22 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-05-04 18:48:32 +0300 |
commit | e6cc0a2583c4a5172e47df809363389512937463 (patch) | |
tree | fd844280c25dfc42b27755346b28715974fdb8cb /media-video | |
parent | app-editors/vscode: add 1.78.0 (diff) | |
download | gentoo-e6cc0a2583c4a5172e47df809363389512937463.tar.gz gentoo-e6cc0a2583c4a5172e47df809363389512937463.tar.bz2 gentoo-e6cc0a2583c4a5172e47df809363389512937463.zip |
media-video/qmplay2: fix dependency on libva-glx
This is used as one of the fallback backends. Already built
installations continue to work (one of the reasons we missed this
bug for ~3 month since an action), so no need to revbump to rebuild.
Closes: https://bugs.gentoo.org/905453
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/qmplay2/files/qmplay2-23.02.05-fix-libva-glx.patch | 13 | ||||
-rw-r--r-- | media-video/qmplay2/qmplay2-23.02.05.ebuild | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/media-video/qmplay2/files/qmplay2-23.02.05-fix-libva-glx.patch b/media-video/qmplay2/files/qmplay2-23.02.05-fix-libva-glx.patch new file mode 100644 index 000000000000..e47aacf22a5f --- /dev/null +++ b/media-video/qmplay2/files/qmplay2-23.02.05-fix-libva-glx.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/905453 + +--- a/src/modules/FFmpeg/CMakeLists.txt ++++ b/src/modules/FFmpeg/CMakeLists.txt +@@ -67,7 +67,7 @@ if(USE_FFMPEG_VAAPI OR USE_FFMPEG_VDPAU OR USE_FFMPEG_DXVA2 OR USE_FFMPEG_D3D11V + list(APPEND FFmpeg_HDR VAAPIVulkan.hpp) + list(APPEND FFmpeg_SRC VAAPIVulkan.cpp) + endif() +- pkg_check_modules(LBVA REQUIRED libva libva-glx libva-drm egl) ++ pkg_check_modules(LBVA REQUIRED libva libva-drm egl) + include_directories(${LBVA_INCLUDE_DIRS}) + link_directories(${LBVA_LIBRARY_DIRS}) + list(APPEND FFmpeg_LIBS ${LBVA_LIBRARIES}) diff --git a/media-video/qmplay2/qmplay2-23.02.05.ebuild b/media-video/qmplay2/qmplay2-23.02.05.ebuild index 83acd1b1df36..04d454c891d3 100644 --- a/media-video/qmplay2/qmplay2-23.02.05.ebuild +++ b/media-video/qmplay2/qmplay2-23.02.05.ebuild @@ -66,6 +66,10 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="dev-qt/linguist-tools:5" +PATCHES=( + "${FILESDIR}/${PN}-23.02.05-fix-libva-glx.patch" +) + src_prepare() { # disable compress man pages sed -r \ |