aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-05 21:12:42 -0800
committerArmin Kuster <akuster808@gmail.com>2018-03-12 10:01:17 -0700
commit63c3ac2ce9a192a85bcba8d0559a30109bee592a (patch)
treedc160a85f88b0df322795d018182d1fdc3ace1c2 /meta-oe
parent404a37a9efd32cd985608023a8829c558f93a8c1 (diff)
downloadmeta-openembedded-contrib-63c3ac2ce9a192a85bcba8d0559a30109bee592a.tar.gz
mpv: Adjust for the recent waf bbclass updates
waf bbclass now expects waf to be an executable script in ${S} before do_configure, otherwise it ends up in ugly python stack traces Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb
index 44d92a0988f..de78de27f01 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb
@@ -16,7 +16,7 @@ LICENSE_FLAGS = "commercial"
SRC_URI = " \
https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz;name=mpv \
- http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf;subdir=${BPN}-${PV} \
+ http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf;downloadfilename=waf;subdir=${BPN}-${PV} \
"
SRC_URI[mpv.md5sum] = "038d0b660de07ff645ad6a741704ecab"
SRC_URI[mpv.sha256sum] = "daf3ef358d5f260f2269f7caabce27f446c291457ec330077152127133b71b46"
@@ -64,9 +64,10 @@ EXTRA_OECONF = " \
${PACKAGECONFIG_CONFARGS} \
"
-do_configure_prepend () {
- ln -sf waf-1.8.12 ${S}/waf
+adjust_waf_perms() {
chmod +x ${S}/waf
}
+do_patch[postfuncs] += "adjust_waf_perms"
+
FILES_${PN} += "${datadir}/icons"