diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2017-04-11 11:47:42 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-18 14:21:51 +0200 |
commit | 4f25ed6dfacc38ae98ad641ce3af7ab90122158d (patch) | |
tree | 4a8ba836d9def4e4bcd0f119d295d14b012c5015 | |
parent | 6fbc2c7c6ed8977c0cdac35c6da3ba1ead90733c (diff) | |
download | meta-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.bb | 13 |
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 | |||
3 | SECTION = "multimedia" | 3 | SECTION = "multimedia" |
4 | HOMEPAGE = "http://www.mpv.io/" | 4 | HOMEPAGE = "http://www.mpv.io/" |
5 | DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \ | 5 | DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \ |
6 | libxscrnsaver libv4l libxinerama libvdpau \ | 6 | libxscrnsaver libv4l libxinerama \ |
7 | " | 7 | " |
8 | 8 | ||
9 | REQUIRED_DISTRO_FEATURES = "x11" | 9 | REQUIRED_DISTRO_FEATURES = "x11" |
@@ -24,14 +24,23 @@ SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f2 | |||
24 | inherit waf pkgconfig pythonnative distro_features_check | 24 | inherit 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) |
27 | PACKAGECONFIG ??= "lua libass" | 27 | PACKAGECONFIG ??= " \ |
28 | lua \ | ||
29 | libass \ | ||
30 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ | ||
31 | " | ||
32 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,libdrm" | ||
33 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/mesa" | ||
28 | PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" | 34 | PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" |
29 | PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" | 35 | PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" |
30 | PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" | 36 | PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" |
31 | PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" | 37 | PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" |
32 | PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva" | 38 | PACKAGECONFIG[vaapi] = "--enable-vaapi, --disable-vaapi,libva" |
39 | PACKAGECONFIG[vdpau] = "--enable-vdpau, --disable-vdpau,libvdpau" | ||
40 | PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland,wayland" | ||
33 | 41 | ||
34 | SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" | 42 | SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}" |
43 | |||
35 | EXTRA_OECONF = " \ | 44 | EXTRA_OECONF = " \ |
36 | --prefix=${prefix} \ | 45 | --prefix=${prefix} \ |
37 | --target=${SIMPLE_TARGET_SYS} \ | 46 | --target=${SIMPLE_TARGET_SYS} \ |