summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2017-04-11 11:47:42 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-18 14:21:51 +0200
commit4f25ed6dfacc38ae98ad641ce3af7ab90122158d (patch)
tree4a8ba836d9def4e4bcd0f119d295d14b012c5015
parent6fbc2c7c6ed8977c0cdac35c6da3ba1ead90733c (diff)
downloadmeta-openembedded-4f25ed6dfacc38ae98ad641ce3af7ab90122158d.tar.gz
mpv: add PACKAGECONFIG for drm/gbm/vdpau/wayland
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb
index 3f46dc187..ce7b3d1e1 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.24.0.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "mpv is a fork of mplayer2 and MPlayer. It shares some features wi
3SECTION = "multimedia" 3SECTION = "multimedia"
4HOMEPAGE = "http://www.mpv.io/" 4HOMEPAGE = "http://www.mpv.io/"
5DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \ 5DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
6 libxscrnsaver libv4l libxinerama libvdpau \ 6 libxscrnsaver libv4l libxinerama \
7" 7"
8 8
9REQUIRED_DISTRO_FEATURES = "x11" 9REQUIRED_DISTRO_FEATURES = "x11"
@@ -24,14 +24,23 @@ SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f2
24inherit waf pkgconfig pythonnative distro_features_check 24inherit waf pkgconfig pythonnative distro_features_check
25 25
26# Note: both lua and libass are required to get on-screen-display (controls) 26# Note: both lua and libass are required to get on-screen-display (controls)
27PACKAGECONFIG ??= "lua libass" 27PACKAGECONFIG ??= " \
28 lua \
29 libass \
30 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
31"
32PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,libdrm"
33PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/mesa"
28PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" 34PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
29PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" 35PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
30PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" 36PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
31PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" 37PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack"
32PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva" 38PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva"
39PACKAGECONFIG[vdpau] = "--enable-vdpau, --disable-vdpau,libvdpau"
40PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland,wayland"
33 41
34SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" 42SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}"
43
35EXTRA_OECONF = " \ 44EXTRA_OECONF = " \
36 --prefix=${prefix} \ 45 --prefix=${prefix} \
37 --target=${SIMPLE_TARGET_SYS} \ 46 --target=${SIMPLE_TARGET_SYS} \