diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2021-05-24 18:08:38 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-05-28 06:55:33 -0700 |
commit | 74d9b806a71a424d3864f6e5e88ab192c4d468db (patch) | |
tree | 2b7659b98c4549635c697eb5933bab270c3e786b | |
parent | 1fa26e59ba32ce9e011cac5f756d2ae351898484 (diff) | |
download | meta-openembedded-74d9b806a71a424d3864f6e5e88ab192c4d468db.tar.gz |
mpv: upgrade 0.32.0 -> 0.33.1
Some PACKAGECONFIG / configuration changes were necessary:
* libass is mandatory
* luajit on aarch64 is fine
* wayland requires egl
* --disable-libsmbclient is gone
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-multimedia/mplayer/mpv_0.33.1.bb (renamed from meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb) | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.33.1.bb index 171eef7b7..1a9150479 100644 --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.33.1.bb | |||
@@ -3,7 +3,13 @@ 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 | 5 | ||
6 | DEPENDS = "zlib ffmpeg jpeg libv4l" | 6 | DEPENDS = " \ |
7 | zlib \ | ||
8 | ffmpeg \ | ||
9 | jpeg \ | ||
10 | libv4l \ | ||
11 | libass \ | ||
12 | " | ||
7 | 13 | ||
8 | DEPENDS += " \ | 14 | DEPENDS += " \ |
9 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' virtual/libx11 xsp libxv libxscrnsaver libxinerama', '', d)} \ | 15 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' virtual/libx11 xsp libxv libxscrnsaver libxinerama', '', d)} \ |
@@ -12,9 +18,9 @@ DEPENDS += " \ | |||
12 | LICENSE = "GPLv2+" | 18 | LICENSE = "GPLv2+" |
13 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=91f1cb870c1cc2d31351a4d2595441cb" | 19 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=91f1cb870c1cc2d31351a4d2595441cb" |
14 | 20 | ||
15 | SRCREV_mpv = "70b991749df389bcc0a4e145b5687233a03b4ed7" | 21 | SRCREV_mpv = "b5d3e43198b9d57af5620b63537885aaa41fa8cd" |
16 | SRC_URI = " \ | 22 | SRC_URI = " \ |
17 | git://github.com/mpv-player/mpv;name=mpv \ | 23 | git://github.com/mpv-player/mpv;name=mpv;branch=release/0.33;protocol=https \ |
18 | https://waf.io/waf-2.0.20;name=waf;subdir=git \ | 24 | https://waf.io/waf-2.0.20;name=waf;subdir=git \ |
19 | " | 25 | " |
20 | SRC_URI[waf.sha256sum] = "bf971e98edc2414968a262c6aa6b88541a26c3cd248689c89f4c57370955ee7f" | 26 | SRC_URI[waf.sha256sum] = "bf971e98edc2414968a262c6aa6b88541a26c3cd248689c89f4c57370955ee7f" |
@@ -27,18 +33,16 @@ LDFLAGS_append_riscv64 = " -latomic" | |||
27 | 33 | ||
28 | LUA ?= "lua" | 34 | LUA ?= "lua" |
29 | LUA_mips64 = "" | 35 | LUA_mips64 = "" |
30 | LUA_aarch64 = "" | ||
31 | LUA_powerpc64 = "" | 36 | LUA_powerpc64 = "" |
32 | LUA_powerpc64le = "" | 37 | LUA_powerpc64le = "" |
33 | LUA_riscv64 = "" | 38 | LUA_riscv64 = "" |
34 | LUA_riscv32 = "" | 39 | LUA_riscv32 = "" |
35 | LUA_powerpc = "" | 40 | LUA_powerpc = "" |
36 | 41 | ||
37 | # Note: both lua and libass are required to get on-screen-display (controls) | 42 | # Note: lua is required to get on-screen-display (controls) |
38 | PACKAGECONFIG ??= " \ | 43 | PACKAGECONFIG ??= " \ |
39 | ${LUA} \ | 44 | ${LUA} \ |
40 | libass \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \ |
41 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ | ||
42 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ |
43 | ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ | 47 | ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ |
44 | " | 48 | " |
@@ -46,11 +50,10 @@ PACKAGECONFIG ??= " \ | |||
46 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11" | 50 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11" |
47 | PACKAGECONFIG[xv] = "--enable-xv,--disable-xv,libxv" | 51 | PACKAGECONFIG[xv] = "--enable-xv,--disable-xv,libxv" |
48 | PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" | 52 | PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" |
49 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl," | 53 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" |
50 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,libdrm" | 54 | PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,libdrm" |
51 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgbm" | 55 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgbm" |
52 | PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" | 56 | PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit" |
53 | PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass" | ||
54 | PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" | 57 | PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive" |
55 | PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" | 58 | PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack" |
56 | PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva" | 59 | PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva" |
@@ -90,7 +93,6 @@ EXTRA_OECONF = " \ | |||
90 | --confdir=${sysconfdir} \ | 93 | --confdir=${sysconfdir} \ |
91 | --datadir=${datadir} \ | 94 | --datadir=${datadir} \ |
92 | --disable-manpage-build \ | 95 | --disable-manpage-build \ |
93 | --disable-libsmbclient \ | ||
94 | --disable-libbluray \ | 96 | --disable-libbluray \ |
95 | --disable-dvdnav \ | 97 | --disable-dvdnav \ |
96 | --disable-cdda \ | 98 | --disable-cdda \ |