summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2017-04-10 22:51:00 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-18 14:21:51 +0200
commit6fbc2c7c6ed8977c0cdac35c6da3ba1ead90733c (patch)
tree7c2e66cf7b80c0d81b05a687ac0355f763f5ad11 /meta-oe/recipes-multimedia
parent9d2916933a1674c7b6e5b8200421bab148e63166 (diff)
downloadmeta-openembedded-6fbc2c7c6ed8977c0cdac35c6da3ba1ead90733c.tar.gz
mpv: update 0.15.0 -> 0.24.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv/0001-Fix-build-with-HAVE_GL-0.patch39
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb (renamed from meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb)12
2 files changed, 45 insertions, 6 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv/0001-Fix-build-with-HAVE_GL-0.patch b/meta-oe/recipes-multimedia/mplayer/mpv/0001-Fix-build-with-HAVE_GL-0.patch
new file mode 100644
index 000000000..ab2b5347f
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv/0001-Fix-build-with-HAVE_GL-0.patch
@@ -0,0 +1,39 @@
1From 212f6c8206bd4dcc7d8970c5f1632823ae4e783a Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Sun, 12 Feb 2017 23:01:21 -0800
4Subject: [PATCH] Fix build with HAVE_GL==0
5
6video/out/opengl/hwdec.h includes video/out/opengl/common.h, which tries
7to include opengl headers.
8
9Upstream-Status: Backport
10---
11 options/options.c | 5 ++++-
12 1 file changed, 4 insertions(+), 1 deletion(-)
13
14diff --git a/options/options.c b/options/options.c
15index b711156..0bb36ad 100644
16--- a/options/options.c
17+++ b/options/options.c
18@@ -40,7 +40,6 @@
19 #include "stream/stream.h"
20 #include "video/csputils.h"
21 #include "video/hwdec.h"
22-#include "video/out/opengl/hwdec.h"
23 #include "video/image_writer.h"
24 #include "sub/osd.h"
25 #include "audio/filter/af.h"
26@@ -53,6 +52,10 @@
27 #include "video/out/drm_common.h"
28 #endif
29
30+#if HAVE_GL
31+#include "video/out/opengl/hwdec.h"
32+#endif
33+
34 extern const char mp_help_text[];
35
36 static void print_version(struct mp_log *log)
37--
382.9.3
39
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb
index f51df778a..3f46dc187 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb
@@ -11,11 +11,13 @@ REQUIRED_DISTRO_FEATURES = "x11"
11LICENSE = "GPLv2+" 11LICENSE = "GPLv2+"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
13 13
14SRC_URI = "https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \ 14SRC_URI = " \
15 http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf;subdir=${BPN}-${PV} \ 15 https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
16 http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf;subdir=${BPN}-${PV} \
17 file://0001-Fix-build-with-HAVE_GL-0.patch \
16" 18"
17SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101" 19SRC_URI[mpv.md5sum] = "5c85d1163911e49315a5bf1ca1fae13d"
18SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc" 20SRC_URI[mpv.sha256sum] = "a41854fa0ac35b9c309ad692aaee67c8d4495c3546f11cb4cdd0a124195d3f15"
19SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71" 21SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
20SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b" 22SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
21 23
@@ -43,8 +45,6 @@ EXTRA_OECONF = " \
43 --disable-dvdread \ 45 --disable-dvdread \
44 --disable-dvdnav \ 46 --disable-dvdnav \
45 --disable-cdda \ 47 --disable-cdda \
46 --disable-enca \
47 --disable-libguess \
48 --disable-uchardet \ 48 --disable-uchardet \
49 --disable-rubberband \ 49 --disable-rubberband \
50 --disable-lcms2 \ 50 --disable-lcms2 \