mpv: Media Player
PATCH 1/1 mpv: Media Player
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 | 60 ++++++++++++++++++++++++ 1 file changed, 60 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 +60 -0
@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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" + +EXTRA_OECONF = " \ + --prefix=${D}/usr \ + --mandir=${mandir} \ + --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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 +} + +FILES_${PN} += "/usr/"
Signature · 1 line
2.5.0
Quoted 25 lines · Gary Thomas
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bbmeta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +11
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +REQUIRED_DISTRO_FEATURES = "x11" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb" +
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 21
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-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 \ +" +SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101" +SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc" +SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71" +SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b" + +EXTRA_OECONF = " \ + --prefix=${D}/usr \
why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +29
-0+ --mandir=${mandir} \ + --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 60
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"
${prefix}?
Does it install files in strange directories not covered by standard FILES?
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 81 lines · Martin Jansa
Quoted 25 lines · Gary Thomas
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 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 +11
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +REQUIRED_DISTRO_FEATURES = "x11" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=91f1cb870c1cc2d31351a4d2595441cb" +meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 21
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-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 \ +" +SRC_URI[mpv.md5sum] = "9042bd3fbff2bc8ba0b7fadaa4a22101" +SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc" +SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71" +SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b" + +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +29
-0+ --mandir=${mandir} \ + --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 60
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Quoted 3 lines
Does it install files in strange directories not covered by standard FILES?
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 31 lines · Gary Thomas
Quoted 30 lines · Martin Jansa
Quoted 29 lines · Gary Thomas
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 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 +15
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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"
Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 21
Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6
-0+SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc" +SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71" +SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b" + +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
Quoted 42 lines
Quoted 42 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +29
-0+ --mandir=${mandir} \ + --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 60
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Quoted 8 lines
Quoted 3 lines
Does it install files in strange directories not covered by standard FILES?
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 89 lines · Martin Jansa
Quoted 31 lines · Gary Thomas
Quoted 30 lines · Martin Jansa
Quoted 29 lines · Gary Thomas
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 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 +15
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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"Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 21
Quoted 6 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +6
-0+SRC_URI[mpv.sha256sum] = "7d31217ba8572f364fcea2955733f821374ae6d8c6d8f22f8bc63c44c0400bdc" +SRC_URI[waf.md5sum] = "cef4ee82206b1843db082d0b0506bf71" +SRC_URI[waf.sha256sum] = "01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b" + +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
Quoted 46 lines
Quoted 45 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +29
-0+ --mandir=${mandir} \ + --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 60
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Does it install files in strange directories not covered by standard FILES?
Quoted 7 lines
Quoted 4 lines
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
No, but it doesn't seem to have any notion of adjusting the install directory except at configure time, hence ${D}${prefix}
Please refer to the new patchset to see how I've changed the recipe.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
I did and there was still:
FILES_${PN} += "${prefix}"
that's why I've asked again here.
Quoted 132 lines · Gary Thomas
Quoted 103 lines · Martin Jansa
Quoted 43 lines · Gary Thomas
Quoted 41 lines · Martin Jansa
Quoted 39 lines · Gary Thomas
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 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 +10
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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] =Quoted 9 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 21
Quoted 5 lines
"
01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +3
-0+ +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
+ --mandir=${mandir} \
Quoted 46 lines
Quoted 46 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +28
-0+ --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 60
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Does it install files in strange directories not covered by standard FILES?
Quoted 9 lines
Quoted 5 lines
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
No, but it doesn't seem to have any notion of adjusting the install directory except at configure time, hence ${D}${prefix}
Please refer to the new patchset to see how I've changed the recipe.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 4 lines · Martin Jansa
I did and there was still:
FILES_${PN} += "${prefix}"that's why I've asked again here.
Now I understand why you're asking. I'll verify that it works correctly without that line, just using the standard packaging. If so, need I send another patch revision or can you just leave that one line out when you merge?
Quoted 123 lines · Gary Thomas
Quoted 121 lines · Martin Jansa
Quoted 104 lines · Gary Thomas
Quoted 44 lines · Martin Jansa
Quoted 42 lines · Gary Thomas
Quoted 40 lines
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bbmeta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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] =Quoted 9 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 21
Quoted 5 lines
"
01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +3
-0+ +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
+ --mandir=${mandir} \
Quoted 46 lines
Quoted 46 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +28
-0+ --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb line 60
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Does it install files in strange directories not covered by standard FILES?
Quoted 9 lines
Quoted 5 lines
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
No, but it doesn't seem to have any notion of adjusting the install directory except at configure time, hence ${D}${prefix}
Please refer to the new patchset to see how I've changed the recipe.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 9 lines · Gary Thomas
Quoted 4 lines · Martin Jansa
I did and there was still:
FILES_${PN} += "${prefix}"that's why I've asked again here.
Now I understand why you're asking. I'll verify that it works correctly without that line, just using the standard packaging. If so, need I send another patch revision or can you just leave that one line out when you merge?
The answer is yes, it does install to some non-standard paths. At least as the configuration currently stands, it needs
FILES_${PN} += "${prefix}/etc ${prefix}/share"
Quoted 125 lines
Quoted 124 lines · Gary Thomas
Quoted 121 lines · Martin Jansa
Quoted 104 lines · Gary Thomas
Quoted 44 lines · Martin Jansa
Quoted 42 lines · Gary Thomas
Quoted 40 lines
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bbmeta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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] =Quoted 9 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Quoted 5 lines
"
01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +3
-0+ +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
+ --mandir=${mandir} \
Quoted 46 lines
Quoted 46 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +28
-0+ --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Does it install files in strange directories not covered by standard FILES?
Quoted 9 lines
Quoted 5 lines
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
No, but it doesn't seem to have any notion of adjusting the install directory except at configure time, hence ${D}${prefix}
Please refer to the new patchset to see how I've changed the recipe.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 7 lines · Gary Thomas
Quoted 6 lines · Gary Thomas
Quoted 4 lines · Martin Jansa
I did and there was still:
FILES_${PN} += "${prefix}"that's why I've asked again here.
Quoted 7 lines
Quoted 3 lines
Now I understand why you're asking. I'll verify that it works correctly without that line, just using the standard packaging. If so, need I send another patch revision or can you just leave that one line out when you merge?
The answer is yes, it does install to some non-standard paths. At least as the configuration currently stands, it needs
FILES_${PN} += "${prefix}/etc ${prefix}/share"
Why doesn't it respect ${sysconfdir} and ${datadir}? Maybe you need to pass more configure flags?
Quoted 138 lines
Quoted 126 lines
Quoted 125 lines · Gary Thomas
Quoted 121 lines · Martin Jansa
Quoted 104 lines · Gary Thomas
Quoted 44 lines · Martin Jansa
Quoted 42 lines · Gary Thomas
Quoted 40 lines
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bbmeta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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] =Quoted 9 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Quoted 5 lines
"
01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +3
-0+ +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
+ --mandir=${mandir} \
Quoted 46 lines
Quoted 46 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +28
-0+ --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Does it install files in strange directories not covered by standard FILES?
Quoted 9 lines
Quoted 5 lines
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
No, but it doesn't seem to have any notion of adjusting the install directory except at configure time, hence ${D}${prefix}
Please refer to the new patchset to see how I've changed the recipe.
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]
Quoted 12 lines · Martin Jansa
Quoted 11 lines · Gary Thomas
Quoted 9 lines · Gary Thomas
Quoted 4 lines · Martin Jansa
I did and there was still:
FILES_${PN} += "${prefix}"that's why I've asked again here.
Now I understand why you're asking. I'll verify that it works correctly without that line, just using the standard packaging. If so, need I send another patch revision or can you just leave that one line out when you merge?
Quoted 7 lines
Quoted 3 lines
The answer is yes, it does install to some non-standard paths. At least as the configuration currently stands, it needs
FILES_${PN} += "${prefix}/etc ${prefix}/share"Why doesn't it respect ${sysconfdir} and ${datadir}? Maybe you need to pass more configure flags?
I'll look at it and see if I can get it to play nice.
Quoted 124 lines
Quoted 124 lines
Quoted 124 lines
Quoted 124 lines · Gary Thomas
Quoted 120 lines · Martin Jansa
Quoted 104 lines · Gary Thomas
Quoted 44 lines · Martin Jansa
Quoted 42 lines · Gary Thomas
Quoted 40 lines
mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more.
Signed-off-by Gary Thomas <[email protected]>--- meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bbmeta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0@@ -0,0 +1,60 @@ +SUMMARY = "Open Source multimedia player" +SECTION = "multimedia" +HOMEPAGE = "http://www.mpv.io/" +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv libxscrnsaver" + +# Depends on xsp, libxv, virtual/libx11, libxscrnsaver +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] =Quoted 9 lines
Quoted 8 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Quoted 5 lines
"
01bf2beab2106d1558800c8709bc2c8e496d3da4a2ca343fe091f22fca60c98b"meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +3
-0+ +EXTRA_OECONF = " \ + --prefix=${D}/usr \why not ${prefix} and does it really need to be prefixed with ${D} (unlike mandir bellow)? Ugly waf.
What about ${D}?
+ --mandir=${mandir} \
Quoted 46 lines
Quoted 46 lines
Quoted 29 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +28
-0+ --target=${SIMPLE_TARGET_SYS} \ + --disable-gl \ + --disable-libsmbclient \ + --disable-libass \ + --disable-lua \ + --disable-libass-osd \ + --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 \ + --enable-libarchive \ +" + +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} +}meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
Quoted 10 lines
meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb new file +10
-0+ +do_compile () { + ../waf build +} + +do_install() { + ../waf install +} + +FILES_${PN} += "/usr/"${prefix}?
Does it install files in strange directories not covered by standard FILES?
Quoted 9 lines
Quoted 5 lines
Use of ${prefix} does seem correct, I've updated the recipe. Patch v2 has been dispatched, including a required update to the libass package which was necessary to get a fully functional mpv.
Does it install files in strange directories not covered by standard FILES?
No, but it doesn't seem to have any notion of adjusting the install directory except at configure time, hence ${D}${prefix}
Please refer to the new patchset to see how I've changed the recipe.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------