diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-10-25 19:22:28 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-10-25 19:22:28 +0300 |
commit | 41649a7fc71d6abd6a6eca5b0f99257dd247c7f4 (patch) | |
tree | 5f762cdc9ebbc1baa2a08c6a397252e2fee7cdcb /media-video/mpv | |
parent | media-video/mpv: Drop old (diff) | |
download | gentoo-41649a7fc71d6abd6a6eca5b0f99257dd247c7f4.tar.gz gentoo-41649a7fc71d6abd6a6eca5b0f99257dd247c7f4.tar.bz2 gentoo-41649a7fc71d6abd6a6eca5b0f99257dd247c7f4.zip |
media-video/mpv: patch egl dep requirement
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-video/mpv')
-rw-r--r-- | media-video/mpv/files/mpv-0.29.1-egl-bound.patch | 27 | ||||
-rw-r--r-- | media-video/mpv/mpv-0.29.1-r1.ebuild | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/media-video/mpv/files/mpv-0.29.1-egl-bound.patch b/media-video/mpv/files/mpv-0.29.1-egl-bound.patch new file mode 100644 index 000000000000..5a9be073fbfa --- /dev/null +++ b/media-video/mpv/files/mpv-0.29.1-egl-bound.patch @@ -0,0 +1,27 @@ +From f726b368da87024a0cfe82627e0730ffe4578716 Mon Sep 17 00:00:00 2001 +From: Marvin Schmidt <marv@exherbo.org> +Date: Wed, 18 Sep 2019 17:07:29 +0200 +Subject: [PATCH] build: lower version requirement for EGL + +`egl.pc` can be provided either by mesa or libglvnd. The latter doesn't +follow the same version scheme as mesa but instead uses the API version +that the library exposes, which is 1.5 for EGL[1] + +[1] https://github.com/NVIDIA/libglvnd/commit/0dfaea2bcb7cdcc785f95e244223bd004a2d7fba#diff-b58a140c00ea99fb9a708e15afaade62R8 +--- + wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wscript b/wscript +index 3569dbf060..97a4d9196b 100644 +--- a/wscript ++++ b/wscript +@@ -636,7 +636,7 @@ video_output_features = [ + 'deps': 'wayland', + 'groups': [ 'gl' ], + 'func': check_pkg_config('wayland-egl', '>= 9.0.0', +- 'egl', '>= 9.0.0') ++ 'egl', '>= 1.5') + } , { + 'name': '--gl-win32', + 'desc': 'OpenGL Win32 Backend', diff --git a/media-video/mpv/mpv-0.29.1-r1.ebuild b/media-video/mpv/mpv-0.29.1-r1.ebuild index e5ba10d835d3..0022e823df76 100644 --- a/media-video/mpv/mpv-0.29.1-r1.ebuild +++ b/media-video/mpv/mpv-0.29.1-r1.ebuild @@ -138,6 +138,7 @@ RDEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}/${PN}-0.29.0-make-ffmpeg-version-check-non-fatal.patch" + "${FILESDIR}/${PN}-0.29.1-egl-bound.patch" ) src_prepare() { |