[oe-commits] [meta-openembedded] 62/87: mpv: Adjust for the recent waf bbclass updates
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 12 17:04:21 UTC 2018
This is an automated email from the git hooks/post-receive script.
armin_kuster pushed a commit to branch master-next
in repository meta-openembedded.
commit 63c3ac2ce9a192a85bcba8d0559a30109bee592a
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Mar 5 21:12:42 2018 -0800
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 at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-oe/recipes-multimedia/mplayer/mpv_0.26.0.bb | 7 ++++---
1 file 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 44d92a0..de78de2 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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list