Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 0/2] mpv: add desc & use waf.bbclass
@ 2016-06-09 18:12 Christopher Larson
  2016-06-09 18:13 ` [meta-oe][PATCH 1/2] mpv: add DESCRIPTION Christopher Larson
  2016-06-09 18:13 ` [meta-oe][PATCH 2/2] mpv: use waf.bbclass Christopher Larson
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Larson @ 2016-06-09 18:12 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

The following changes since commit 52213998eb4ead7d24cba012c937bcc25e89c2ca:

  mpv: Media Player (2016-06-08 14:55:30 +0200)

are available in the git repository at:

  git://github.com/kergoth/meta-openembedded mpv-use-waf-bbclass
  https://github.com/kergoth/meta-openembedded/tree/mpv-use-waf-bbclass

Christopher Larson (2):
  mpv: add DESCRIPTION
  mpv: use waf.bbclass

 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

-- 
2.8.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH 1/2] mpv: add DESCRIPTION
  2016-06-09 18:12 [meta-oe][PATCH 0/2] mpv: add desc & use waf.bbclass Christopher Larson
@ 2016-06-09 18:13 ` Christopher Larson
  2016-06-09 18:13 ` [meta-oe][PATCH 2/2] mpv: use waf.bbclass Christopher Larson
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Larson @ 2016-06-09 18:13 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
index 6a258b5..5fac298 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -1,4 +1,5 @@
 SUMMARY = "Open Source multimedia player"
+DESCRIPTION = "mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more."
 SECTION = "multimedia"
 HOMEPAGE = "http://www.mpv.io/"
 DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
-- 
2.8.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH 2/2] mpv: use waf.bbclass
  2016-06-09 18:12 [meta-oe][PATCH 0/2] mpv: add desc & use waf.bbclass Christopher Larson
  2016-06-09 18:13 ` [meta-oe][PATCH 1/2] mpv: add DESCRIPTION Christopher Larson
@ 2016-06-09 18:13 ` Christopher Larson
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Larson @ 2016-06-09 18:13 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
index 5fac298..768c87a 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
@@ -12,14 +12,14 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"
 
 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 \
+           http://www.freehackers.org/~tnagy/release/waf-1.8.12;name=waf;subdir=${BPN}-${PV} \
 "
 SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
 SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
 SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
 SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
 
-inherit pkgconfig pythonnative distro_features_check
+inherit waf pkgconfig pythonnative distro_features_check
 
 # Note: both lua and libass are required to get on-screen-display (controls)
 PACKAGECONFIG ??= "lua libass"
@@ -28,6 +28,7 @@ PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
 PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
 PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack"
 
+SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}"
 EXTRA_OECONF = " \
     --prefix=${prefix} \
     --target=${SIMPLE_TARGET_SYS} \
@@ -50,21 +51,9 @@ EXTRA_OECONF = " \
     --disable-vapoursynth-lazy \
 "
 
-do_configure() {
-    if [ ! -L ../waf ]; then
-        chmod a+x ../waf-1.8.12
-	ln -s waf-1.8.12 ../waf
-    fi
-    export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"
-    ../waf configure ${EXTRA_OECONF}
-}
-
-do_compile () {
-    ../waf build
-}
-
-do_install() {
-    ../waf install --destdir=${D}
+do_configure_prepend () {
+    ln -sf waf-1.8.12 ${S}/waf
+    chmod +x ${S}/waf
 }
 
 FILES_${PN} += "${datadir}/icons"
-- 
2.8.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-09 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09 18:12 [meta-oe][PATCH 0/2] mpv: add desc & use waf.bbclass Christopher Larson
2016-06-09 18:13 ` [meta-oe][PATCH 1/2] mpv: add DESCRIPTION Christopher Larson
2016-06-09 18:13 ` [meta-oe][PATCH 2/2] mpv: use waf.bbclass Christopher Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox