summaryrefslogtreecommitdiff
path: root/multimedia/mpv/patches
diff options
context:
space:
mode:
authornat <nat>2017-03-10 15:55:33 +0000
committernat <nat>2017-03-10 15:55:33 +0000
commita32df60756f50e8e21aac60cf61490a6f0b4cf9d (patch)
treee83a5fff50c8e5bfb86223ca16c93df32e351407 /multimedia/mpv/patches
parent897f7c412fecc06841a3ab85b9906510cf2dc13c (diff)
downloadpkgsrc-a32df60756f50e8e21aac60cf61490a6f0b4cf9d.tar.gz
Add support for Raspberry Pi/GLES.
Add support for SDL2. LibASS is now optional. Bump PKG_REVISION.
Diffstat (limited to 'multimedia/mpv/patches')
-rw-r--r--multimedia/mpv/patches/patch-player_main.c6
-rw-r--r--multimedia/mpv/patches/patch-waftools_checks_custom.py16
2 files changed, 19 insertions, 3 deletions
diff --git a/multimedia/mpv/patches/patch-player_main.c b/multimedia/mpv/patches/patch-player_main.c
index c656cc244ef..18f46f5cd51 100644
--- a/multimedia/mpv/patches/patch-player_main.c
+++ b/multimedia/mpv/patches/patch-player_main.c
@@ -1,11 +1,11 @@
-$NetBSD: patch-player_main.c,v 1.1 2016/11/03 14:41:28 leot Exp $
+$NetBSD: patch-player_main.c,v 1.2 2017/03/10 15:55:33 nat Exp $
Avoid to check mismatched built vs running libraries version.
The use in pkgsrc can be considered a legitimate one.
---- player/main.c.orig 2016-10-19 21:10:13.000000000 +0000
+--- player/main.c.orig 2017-02-12 01:31:16.000000000 +0000
+++ player/main.c
-@@ -429,18 +429,6 @@ int mp_initialize(struct MPContext *mpct
+@@ -438,18 +438,6 @@ int mp_initialize(struct MPContext *mpct
handle_deprecated_options(mpctx);
diff --git a/multimedia/mpv/patches/patch-waftools_checks_custom.py b/multimedia/mpv/patches/patch-waftools_checks_custom.py
new file mode 100644
index 00000000000..aa7d5abf9b3
--- /dev/null
+++ b/multimedia/mpv/patches/patch-waftools_checks_custom.py
@@ -0,0 +1,16 @@
+$NetBSD: patch-waftools_checks_custom.py,v 1.1 2017/03/10 15:55:33 nat Exp $
+
+Pkgconfig descriptions are not available for rpi_userland on NetBSD.
+
+--- waftools/checks/custom.py.orig 2017-03-10 15:24:39.000000000 +0000
++++ waftools/checks/custom.py
+@@ -142,9 +142,6 @@ def check_rpi(ctx, dependency_identifier
+ prev_pkg_path]))
+
+ checks = [
+- check_pkg_config('bcm_host', uselib_store='bcm_host'),
+- check_pkg_config('egl'),
+- check_pkg_config('glesv2'),
+ check_cc(lib=['mmal_core', 'mmal_util', 'mmal_vc_client'], use=['bcm_host']),
+ # We still need all OpenGL symbols, because the vo_opengl code is
+ # generic and supports anything from GLES2/OpenGL 2.1 to OpenGL 4 core.