Skip to contentSkip to conversation

mpv: Media Player

PATCH In review Gary Thomas 4 participants 14 messages Mar 10, 2016 – May 24, 2016

lore
Share & tools
lore
#0 lore raw

v3 cover mpv: Media Player

mpv is a new media player, based on a fork of Mplayer and mplayer2. libass is updated to the latest version (necessary for fully functioning mpv)

Gary Thomas (2):
libass: Update to latest version
mpv: Media Player

 meta-oe/recipes-multimedia/libass/libass.inc       |  7 +--
 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb |  5 --
 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb |  4 ++
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb   | 67 ++++++++++++++++++++++
 4 files changed, 73 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
 create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Signature · 1 line
2.5.0
#1 lore raw

PATCH v3 1/2 libass: Update to latest version

libass has moved from Google to github.com
Also update to the latest version (libass.so.5)

---
 meta-oe/recipes-multimedia/libass/libass.inc       | 7 ++-----
 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb | 5 -----
 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb | 4 ++++
 3 files changed, 6 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
 create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
meta-oe/recipes-multimedia/libass/libass.inc +2 -5
index 328cd14..a394c56 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
-HOMEPAGE = "http://code.google.com/p/libass/"
+HOMEPAGE = "http://github.com/libass/libass/"
 SECTION = "libs/multimedia"
 
 LICENSE = "ISC"
@@ -7,10 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
 
 DEPENDS = "enca fontconfig freetype libpng fribidi"
 
-INC_PR = "r1"
-
-SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz"
-
+SRC_URI = "https://github.com/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz"
 inherit autotools pkgconfig
 
 PACKAGECONFIG ??= ""
meta-oe/recipes-multimedia/libass/libass_0.10.1.bb deleted +0 -5
deleted file mode 100644
index 0b32276..0000000
@@ -1,5 +0,0 @@
-require ${PN}.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
-SRC_URI[sha256sum] = "629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"
meta-oe/recipes-multimedia/libass/libass_0.13.2.bb new file +4 -0
new file mode 100644
index 0000000..123c9dd
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
+SRC_URI[sha256sum] = "8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e"
Signature · 1 line
2.5.0
#2 lore raw

Re: [meta-oe][PATCH v3 1/2] libass: Update to latest version

Quoted 2 lines · Gary Thomas

libass has moved from Google to github.com
Also update to the latest version (libass.so.5)

libass-0.13.2: ELF binary '/tmp/work/i586-oe-linux/libass/0.13.2-r0/packages-split/libass/usr/lib/libass.so.5.3.0' has relocations in .text [textrel]

Quoted 61 lines
---
 meta-oe/recipes-multimedia/libass/libass.inc       | 7 ++-----
 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb | 5 -----
 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb | 4 ++++
 3 files changed, 6 insertions(+), 10 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb
 create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb
meta-oe/recipes-multimedia/libass/libass.inc +2 -5
index 328cd14..a394c56 100644
@@ -1,5 +1,5 @@
 DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
-HOMEPAGE = "http://code.google.com/p/libass/"
+HOMEPAGE = "http://github.com/libass/libass/"
 SECTION = "libs/multimedia"
 
 LICENSE = "ISC"
@@ -7,10 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
 
 DEPENDS = "enca fontconfig freetype libpng fribidi"
 
-INC_PR = "r1"
-
-SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz"
-
+SRC_URI = "https://github.com/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz"
 inherit autotools pkgconfig
 
 PACKAGECONFIG ??= ""
meta-oe/recipes-multimedia/libass/libass_0.10.1.bb deleted +0 -5
deleted file mode 100644
index 0b32276..0000000
@@ -1,5 +0,0 @@
-require ${PN}.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
-SRC_URI[sha256sum] = "629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"
meta-oe/recipes-multimedia/libass/libass_0.13.2.bb new file +4 -0
new file mode 100644
index 0000000..123c9dd
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
+SRC_URI[sha256sum] = "8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e"
Signature · 7 lines
2.5.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Re: [meta-oe][PATCH v3 1/2] libass: Update to latest version

Quoted 8 lines · Martin Jansa
Quoted 2 lines · Gary Thomas

libass has moved from Google to github.com
Also update to the latest version (libass.so.5)

libass-0.13.2: ELF binary '/tmp/work/i586-oe-linux/libass/0.13.2-r0/packages-split/libass/usr/lib/libass.so.5.3.0' has relocations in .text [textrel]

Hmm, this doesn't happen on arm (cortexa9) builds :-(

Please tell me how you do "world builds" and I'll try to duplicate this and the mpv issues.

Quoted 55 lines
Quoted 55 lines
---
  meta-oe/recipes-multimedia/libass/libass.inc       | 7 ++-----
  meta-oe/recipes-multimedia/libass/libass_0.10.1.bb | 5 -----
  meta-oe/recipes-multimedia/libass/libass_0.13.2.bb | 4 ++++
  3 files changed, 6 insertions(+), 10 deletions(-)

delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb

meta-oe/recipes-multimedia/libass/libass.inc +2 -5
index 328cd14..a394c56 100644
@@ -1,5 +1,5 @@
  DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."
-HOMEPAGE = "http://code.google.com/p/libass/"
+HOMEPAGE = "http://github.com/libass/libass/"
  SECTION = "libs/multimedia"
 
  LICENSE = "ISC"
@@ -7,10 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"
 
  DEPENDS = "enca fontconfig freetype libpng fribidi"
 
-INC_PR = "r1"
-
-SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz"
-
+SRC_URI = "https://github.com/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz"
  inherit autotools pkgconfig
 
  PACKAGECONFIG ??= ""
meta-oe/recipes-multimedia/libass/libass_0.10.1.bb deleted +0 -5
deleted file mode 100644
index 0b32276..0000000
@@ -1,5 +0,0 @@
-require ${PN}.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
-SRC_URI[sha256sum] = "629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"
meta-oe/recipes-multimedia/libass/libass_0.13.2.bb new file +4 -1
new file mode 100644
index 0000000..123c9dd
@@ -0,0 +1,4 @@
+require ${PN}.inc
+
+SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
+SRC_URI[sha256sum] = "8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e"
--

2.5.0

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw

Re: [meta-oe][PATCH v3 1/2] libass: Update to latest version

See first line:
http://www.openembedded.org/wiki/Bitbake_World_Status

Quoted 93 lines · Gary Thomas
Quoted 12 lines · Martin Jansa
Quoted 3 lines · Gary Thomas

libass has moved from Google to github.com
Also update to the latest version (libass.so.5)

libass-0.13.2: ELF binary

'/tmp/work/i586-oe-linux/libass/0.13.2-r0/packages-split/libass/usr/lib/libass.so.5.3.0' has relocations in .text [textrel]

Hmm, this doesn't happen on arm (cortexa9) builds :-(

Please tell me how you do "world builds" and I'll try to duplicate this and the mpv issues.

Quoted 57 lines
Quoted 57 lines
---
  meta-oe/recipes-multimedia/libass/libass.inc       | 7 ++-----
  meta-oe/recipes-multimedia/libass/libass_0.10.1.bb | 5 -----
  meta-oe/recipes-multimedia/libass/libass_0.13.2.bb | 4 ++++
  3 files changed, 6 insertions(+), 10 deletions(-)

delete mode 100644 meta-oe/recipes-multimedia/libass/libass_0.10.1.bb create mode 100644 meta-oe/recipes-multimedia/libass/libass_0.13.2.bb

meta-oe/recipes-multimedia/libass/libass.inc +0 -0
index 328cd14..a394c56 100644
@@ -1,5 +1,5 @@
  DESCRIPTION = "libass is a portable subtitle renderer for the ASS/SSA

(Advanced Substation Alpha/Substation Alpha) subtitle format. It is mostly compatible with VSFilter."

meta-oe/recipes-multimedia/libass/libass.inc +1 -1
-HOMEPAGE = "http://code.google.com/p/libass/"
+HOMEPAGE = "http://github.com/libass/libass/"
  SECTION = "libs/multimedia"
 
  LICENSE = "ISC"
@@ -7,10 +7,7 @@ LIC_FILES_CHKSUM =

"file://COPYING;md5=8ae98663bac55afe5d989919d296f28a"

DEPENDS = "enca fontconfig freetype libpng fribidi"

meta-oe/recipes-multimedia/libass/libass.inc +0 -3
-INC_PR = "r1"
-
-SRC_URI = "http://${BPN}.googlecode.com/files/${BP}.tar.gz

<http://googlecode.com/files/$%7BBP%7D.tar.gz>"

meta-oe/recipes-multimedia/libass/libass.inc +1 -1
-
+SRC_URI = "

https://github.com/${PN}/${PN}/releases/download/0.13.2/${BP}.tar.gz"
inherit autotools pkgconfig

PACKAGECONFIG ??= ""

meta-oe/recipes-multimedia/libass/libass_0.10.1.bb deleted +0 -5
deleted file mode 100644
index 0b32276..0000000
@@ -1,5 +0,0 @@
-require ${PN}.inc
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "6cace482a013a3c4bf3b31a68ac66026"
-SRC_URI[sha256sum] =

"629a7e81fff92dea8d0399b818a41fd1b61e381c67a5961b1eaec2efadb14c6c"

meta-oe/recipes-multimedia/libass/libass_0.13.2.bb new file +0 -0
new file mode 100644
index 0000000..123c9dd
@@ -0,0 +1,4 @@
Quoted 9 lines
Quoted 8 lines
meta-oe/recipes-multimedia/libass/libass_0.13.2.bb new file +4 -0
+require ${PN}.inc
+
+SRC_URI[md5sum] = "b4d82616bb18e8e954b18746a105a3b8"
+SRC_URI[sha256sum] =

"8baccf663553b62977b1c017d18b3879835da0ef79dc4d3b708f2566762f1d5e" --
2.5.0

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

#5 lore raw

PATCH v3 2/2 mpv: Media Player

In reply to Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67 ++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +67 -0
new file mode 100644
index 0000000..acad319
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+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 \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+inherit pkgconfig
+
+# Note: both lua and libass are required to get on-screen-display (controls)
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \
+    --confdir=${sysconfdir} \
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+	ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
Signature · 1 line
2.5.0
#6 lore raw
Quoted 15 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

---
 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67 ++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 6

Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
Log data follows:

| DEBUG: Executing shell function do_compile
| Waf: Entering directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| [  1/195] Compiling version.sh
| [  2/195] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py", line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
| 
| Waf: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| Build failed
|  -> task in 'rst2man' failed (exit status 1):
| 	{task 139933719149072: rst2man mpv.rst -> mpv.1}
| ' /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)

NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb, do_compile) failed with exit code '1'

Quoted 15 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +15 -0
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+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 \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+inherit pkgconfig

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 31

Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10 -0
+
+# Note: both lua and libass are required to get on-screen-display (controls)
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Quoted 44 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +36 -0
+    --confdir=${sysconfdir} \
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+	ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
Signature · 7 lines
2.5.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw
Quoted 56 lines · Martin Jansa
Quoted 15 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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

create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 6

Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
Log data follows:

| DEBUG: Executing shell function do_compile
| Waf: Entering directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| [  1/195] Compiling version.sh
| [  2/195] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py", line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| Build failed
|  -> task in 'rst2man' failed (exit status 1):
| 	{task 139933719149072: rst2man mpv.rst -> mpv.1}
| ' /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
Quoted 3 lines

NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb, do_compile) failed with exit code '1'

What recipe/package is pulling in rst? I'll check the config options and make sure it builds correctly with/without that package present.

Quoted 28 lines
Quoted 15 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +15 -0
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+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 \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+inherit pkgconfig

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 31

Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10 -0
+
+# Note: both lua and libass are required to get on-screen-display (controls)
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Quoted 4 lines

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Thanks for pointing this out.

Quoted 39 lines
Quoted 39 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +36 -1
+    --confdir=${sysconfdir} \
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+	ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
--

2.5.0

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#8 lore raw

Ping? Once I understand why it breaks in world builds, I can submit a new patchset. See below - what's causing rst to be brought in?

Thanks

Quoted 146 lines · Gary Thomas
Quoted 58 lines · Martin Jansa
Quoted 15 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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

create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 6

Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834 Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| [  1/195] Compiling version.sh
| [  2/195] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py", line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory
`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
| Build failed
|  -> task in 'rst2man' failed (exit status 1):
|     {task 139933719149072: rst2man mpv.rst -> mpv.1}
| ' /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst
Quoted 8 lines

DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb, do_compile) failed with exit code '1'

What recipe/package is pulling in rst? I'll check the config options and make sure it builds correctly with/without that package present.

Quoted 28 lines
Quoted 15 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +15 -0
+
+REQUIRED_DISTRO_FEATURES = "x11"
+
+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 \
+"
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"
+
+inherit pkgconfig

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 31

Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10 -0
+
+# Note: both lua and libass are required to get on-screen-display (controls)
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Quoted 4 lines

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Thanks for pointing this out.

Quoted 39 lines
Quoted 39 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +36 -1
+    --confdir=${sysconfdir} \
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+    ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
--

2.5.0

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#9 lore raw

I don't know, but it doesn't matter what pulled rst.

mpv should build ok with or without rst available.

Quoted 199 lines · Gary Thomas

Ping? Once I understand why it breaks in world builds, I can submit a new patchset.
See below - what's causing rst to be brought in?

Thanks

Quoted 127 lines · Gary Thomas
Quoted 77 lines · Martin Jansa
Quoted 18 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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

create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 6

Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834 Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| [  1/195] Compiling version.sh
| [  2/195] Compiling
TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File
"/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py",
line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| Build failed
|  -> task in 'rst2man' failed (exit status 1):
|     {task 139933719149072: rst2man mpv.rst -> mpv.1}
| '

/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst
DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

Quoted 8 lines

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/ mpv_0.15.0.bb,
do_compile) failed with exit code '1'

What recipe/package is pulling in rst? I'll check the config options and make sure it builds correctly with/without that package present.

+

Quoted 36 lines
Quoted 28 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+
+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 \
+"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =

"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =

"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+inherit pkgconfig
+
+# Note: both lua and libass are required to get on-screen-display

(controls)

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] =

"--enable-libarchive,--disable-libarchive,libarchive"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 31

Quoted 4 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Quoted 51 lines
Quoted 6 lines

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Thanks for pointing this out.

Quoted 40 lines

+ --confdir=${sysconfdir} \

Quoted 38 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +35 -1
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+    ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
--

2.5.0

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#10 lore raw
Quoted 3 lines · Martin Jansa

I don't know, but it doesn't matter what pulled rst.

mpv should build ok with or without rst available.

I agree and it does build without rst in the mix. It fails if those tools are present and I'd like to fix it but I don't know what is bringing them in (and I don't have the resources available to run 'bitbake world')

Quoted 202 lines · Gary Thomas
Quoted 200 lines

Ping? Once I understand why it breaks in world builds, I can submit a new patchset.
See below - what's causing rst to be brought in?

Thanks

Quoted 127 lines · Gary Thomas
Quoted 77 lines · Martin Jansa
Quoted 18 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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

create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 6

Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834 Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| [  1/195] Compiling version.sh
| [  2/195] Compiling
TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File
"/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py",
line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| Build failed
|  -> task in 'rst2man' failed (exit status 1):
|     {task 139933719149072: rst2man mpv.rst -> mpv.1}
| '

/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst
DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

Quoted 8 lines

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/ mpv_0.15.0.bb,
do_compile) failed with exit code '1'

What recipe/package is pulling in rst? I'll check the config options and make sure it builds correctly with/without that package present.

+

Quoted 36 lines
Quoted 28 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+
+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 \
+"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =

"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =

"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+inherit pkgconfig
+
+# Note: both lua and libass are required to get on-screen-display

(controls)

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] =

"--enable-libarchive,--disable-libarchive,libarchive"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 31

Quoted 4 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Quoted 51 lines
Quoted 6 lines

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Thanks for pointing this out.

Quoted 40 lines

+ --confdir=${sysconfdir} \

Quoted 38 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +35 -1
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+    ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
--

2.5.0

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#11 lore raw
Quoted 8 lines · Gary Thomas
Quoted 3 lines · Martin Jansa

I don't know, but it doesn't matter what pulled rst.

mpv should build ok with or without rst available.

I agree and it does build without rst in the mix. It fails if those tools are present and I'd like to fix it but I don't know what is bringing them in (and I don't have the resources available to run 'bitbake world')

There is also:
mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency, missing jack in DEPENDS or PACKAGECONFIG? [build-deps]

Quoted 213 lines
Quoted 201 lines · Gary Thomas
Quoted 200 lines

Ping? Once I understand why it breaks in world builds, I can submit a new patchset.
See below - what's causing rst to be brought in?

Thanks

Quoted 127 lines · Gary Thomas
Quoted 77 lines · Martin Jansa
Quoted 18 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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

create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 6

Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \
+"

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834 Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| [  1/195] Compiling version.sh
| [  2/195] Compiling
TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin
| [  4/195] Compiling etc/input.conf
| [  5/195] Compiling sub/osd_font.otf
| [  6/195] Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua
| [  8/195] Compiling player/lua/assdraw.lua
| [  9/195] Compiling player/lua/options.lua
| [ 10/195] Compiling player/lua/osc.lua
| [ 11/195] Compiling player/lua/ytdl_hook.lua
| [ 13/195] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c
| [ 14/195] Compiling DOCS/man/mpv.rst
| Traceback (most recent call last):
|   File
"/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py",
line 21, in <module>
|     from docutils.core import publish_cmdline, default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| Build failed
|  -> task in 'rst2man' failed (exit status 1):
|     {task 139933719149072: rst2man mpv.rst -> mpv.1}
| '

/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/rst2man.py ../DOCS/man/mpv.rst
DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

Quoted 8 lines

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-multimedia/mplayer/ mpv_0.15.0.bb,
do_compile) failed with exit code '1'

What recipe/package is pulling in rst? I'll check the config options and make sure it builds correctly with/without that package present.

+

Quoted 36 lines
Quoted 28 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+
+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 \
+"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =

"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =

"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+inherit pkgconfig
+
+# Note: both lua and libass are required to get on-screen-display

(controls)

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] =

"--enable-libarchive,--disable-libarchive,libarchive"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 31

Quoted 4 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Quoted 51 lines
Quoted 6 lines

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Thanks for pointing this out.

Quoted 40 lines

+ --confdir=${sysconfdir} \

Quoted 38 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +35 -1
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \
+"
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+    ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D}
+}
+
+FILES_${PN} += "${datadir}/icons"
--

2.5.0

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 9 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#12 lore raw

Hello Gary,

Are you planning to send updated PR for MPV?

Noor

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Thursday, March 17, 2016 7:45 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH v3 2/2] mpv: Media Player

Quoted 9 lines · Gary Thomas
Quoted 3 lines · Martin Jansa

I don't know, but it doesn't matter what pulled rst.

mpv should build ok with or without rst available.

I agree and it does build without rst in the mix. It fails if those tools are present and I'd like to fix it but I don't know what is bringing them in (and I don't have the resources available to run 'bitbake world')

There is also:
mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency, missing jack in DEPENDS or PACKAGECONFIG? [build-deps]

Quoted 215 lines
Quoted 192 lines · Gary Thomas
Quoted 191 lines

Ping? Once I understand why it breaks in world builds, I can submit a new patchset.
See below - what's causing rst to be brought in?

Thanks

Quoted 180 lines · Gary Thomas
Quoted 78 lines · Martin Jansa
Quoted 19 lines · Gary Thomas

mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.

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

create mode 100644
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +0 -0
new file mode 100644
index 0000000..acad319

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 5

Quoted 5 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +5 -0
@@ -0,0 +1,67 @@
+SUMMARY = "Open Source multimedia player"
+SECTION = "multimedia"
+HOMEPAGE = "http://www.mpv.io/"
+DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
+           libxscrnsaver libv4l libxinerama \ "

It's failing in world builds

ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log file is located at

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-g nueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
ERROR: Logfile of failure stored in:

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-g nueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
Log data follows:
| DEBUG: Executing shell function do_compile
| Waf: Entering directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| [  1/195] Compiling version.sh
| [  2/195] Compiling
TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
| [  3/195] Compiling video/out/x11_icon.bin [  4/195] Compiling 
| etc/input.conf [  5/195] Compiling sub/osd_font.otf [  6/195] 
| Compiling video/out/opengl/nnedi3_weights.bin
| [  7/195] Compiling player/lua/defaults.lua [  8/195] Compiling 
| player/lua/assdraw.lua [  9/195] Compiling 
| player/lua/options.lua [ 10/195] Compiling player/lua/osc.lua [ 
| 11/195] Compiling player/lua/ytdl_hook.lua [ 13/195] Processing 
| ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
build/ebml_types.h
| [ 13/195] Compiling demux/ebml.c [ 14/195] Compiling 
| DOCS/man/mpv.rst Traceback (most recent call last):
|   File
"/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/
usr/bin/rst2man.py",
line 21, in <module>
|     from docutils.core import publish_cmdline, 
| default_description
| ImportError: No module named docutils.core
|
| Waf: Leaving directory

`/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'

| Build failed
|  -> task in 'rst2man' failed (exit status 1):
|     {task 139933719149072: rst2man mpv.rst -> mpv.1} '

/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/u sr/bin/rst2man.py
../DOCS/man/mpv.rst
DOCS/man/mpv.1 '
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

Quoted 10 lines

/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-g nueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
ERROR: Task 15304 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipe s-multimedia/mplayer/
mpv_0.15.0.bb,
do_compile) failed with exit code '1'

What recipe/package is pulling in rst? I'll check the config options and make sure it builds correctly with/without that package present.

+

Quoted 38 lines
Quoted 30 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+REQUIRED_DISTRO_FEATURES = "x11"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+
+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 \
+"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101"
+SRC_URI[mpv.sha256sum] =

"7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +2 -0
+SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71"
+SRC_URI[waf.sha256sum] =

"01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +5 -0
+
+inherit pkgconfig
+
+# Note: both lua and libass are required to get 
+on-screen-display

(controls)

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+PACKAGECONFIG ??= "lua libass"
+PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
+PACKAGECONFIG[libass] = "--enable-libass,--disable-libass,libass"
+PACKAGECONFIG[libarchive] =

"--enable-libarchive,--disable-libarchive,libarchive"

meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb

Quoted 4 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +4 -0
+
+EXTRA_OECONF = " \
+    --prefix=${prefix} \
+    --target=${SIMPLE_TARGET_SYS} \

Where is this variable set? git grep in oe-core and meta-oe didn't show anything.

Quoted 6 lines

Did you copy it from mplayer2 recipe?

If yes then you forgot to include:
export SIMPLE_TARGET_SYS="$(echo ${TARGET_SYS} | sed s:${TARGET_VENDOR}::g)"

Thanks for pointing this out.

Quoted 37 lines

+ --confdir=${sysconfdir} \

Quoted 35 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +32 -1
+    --datadir=${datadir} \
+    --disable-manpage-build \
+    --disable-gl \
+    --disable-libsmbclient \
+    --disable-encoding \
+    --disable-libbluray \
+    --disable-dvdread \
+    --disable-dvdnav \
+    --disable-cdda \
+    --disable-enca \
+    --disable-libguess \
+    --disable-uchardet \
+    --disable-rubberband \
+    --disable-lcms2 \
+    --disable-vapoursynth \
+    --disable-vapoursynth-lazy \ "
+
+do_configure() {
+    if [ ! -L ../waf ]; then
+        chmod a+x ../waf-1.8.12
+    ln -s waf-1.8.12 ../waf
+    fi
+    ../waf configure ${EXTRA_OECONF} }
+
+do_compile () {
+    ../waf build
+}
+
+do_install() {
+    ../waf install --destdir=${D} }
+
+FILES_${PN} += "${datadir}/icons"
--

2.5.0

Quoted 11 lines
Quoted 11 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#13 lore raw
Quoted 6 lines · Noor

Hello Gary,

Are you planning to send updated PR for MPV?

Noor

Any news on this series?

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics