Skip to contentSkip to conversation

libebml: add 1.2.2

PATCH In review Koen Kooi 2 participants 11 messages Jan 27, 2013 – Jan 28, 2013

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH 1/7 libebml: add 1.2.2

---
 .../recipes-mkv/libebml/libebml_1.2.2.bb           | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb
meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb new file +31 -0
new file mode 100644
index 0000000..210a409
@@ -0,0 +1,31 @@
+SUMMARY = "libebml is a C++ libary to parse EBML files."
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+
+SRC_URI = "http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2"
+SRC_URI[md5sum] = "726cc2bd1a525929ff35ff9854c0ebab"
+SRC_URI[sha256sum] = "476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5"
+
+do_compile() {
+	cd ${S}/make/linux
+	oe_runmake CROSS="${TARGET_PREFIX}"
+}
+
+do_install() {
+	cd ${S}/make/linux
+
+	install -d ${D}${libdir}
+	install -m 0644 libebml.a ${D}${libdir}
+	install -m 0755 libebml.so.* ${D}${libdir}
+	cp -a libebml.so ${D}${libdir}
+
+	install -d ${D}${includedir}/ebml
+	for i in ../../ebml/*.h; do
+		install -m 0644 $i ${D}${includedir}/ebml
+	done
+
+	install -d ${D}${includedir}/ebml/c
+	for i in ../../ebml/c/*.h; do
+		install -m 0644 $i ${D}${includedir}/ebml/c
+	done
+}
Signature · 1 line
1.8.1
author
#1 lore raw

PATCH 2/7 libmatroska: add 1.3.0

---
 .../recipes-mkv/libmatroska/libmatroska_1.3.0.bb   | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb
meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb new file +33 -0
new file mode 100644
index 0000000..3a3dd0e
@@ -0,0 +1,33 @@
+SUMMARY = "libmatroska is a C++ libary to parse Matroska files (.mkv and .mka)"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+
+DEPENDS = "libebml"
+
+SRC_URI = "http://dl.matroska.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "f4a8c411f09d39c754eb726efd616043"
+SRC_URI[sha256sum] = "5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69"
+
+do_compile() {
+	cd ${S}/make/linux
+	oe_runmake CROSS="${TARGET_PREFIX}"
+}
+
+do_install() {
+	cd ${S}/make/linux
+
+	install -d ${D}${libdir}
+	install -m 0644 libmatroska.a ${D}${libdir}
+	install -m 0755 libmatroska.so.* ${D}${libdir}
+	cp -a libmatroska.so ${D}${libdir}
+
+	install -d ${D}${includedir}/matroska
+	for i in ../../matroska/*.h; do
+		install -m 0644 $i ${D}${includedir}/matroska
+	done
+
+	install -d ${D}${includedir}/matroska/c
+	for i in ../../matroska/c/*.h; do
+		install -m 0644 $i ${D}${includedir}/matroska/c
+	done
+}
Signature · 1 line
1.8.1
author
#2 lore raw

PATCH 3/7 mkvtoolnix: add 5.9.0

In reply to Koen Kooi
---
 .../recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb     | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb
meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb new file +30 -0
new file mode 100644
index 0000000..e7f93d2
@@ -0,0 +1,30 @@
+SUMMARY = "MKVToolNix -- Cross-platform tools for Matroska"
+HOMEPAGE = "http://www.bunkus.org/videotools/mkvtoolnix/source.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "curl boost expat zlib libebml libmatroska libogg libvorbis bzip2 lzo file ruby-native"
+
+SRC_URI = "http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${PV}.tar.bz2"
+SRC_URI[md5sum] = "033621461ef8eb922fc1366e0a9a6f16"
+SRC_URI[sha256sum] = "d913f531331c3332d2fb334c872ea19bfea7293dfedc4bf33ae7162e4efcbde1"
+
+inherit autotools
+
+EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR} \
+               "
+
+# remove some hardcoded searchpaths
+do_configure_prepend() {
+	sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e s:/usr/local/include:${STAGING_INCDIR}:g ac/ebml.m4
+}
+
+# Yeah, no makefile
+do_compile() {
+	./drake
+}
+
+do_install() {
+	./drake install DESTDIR=${D}
+}
Signature · 1 line
1.8.1
author
#3 lore raw

PATCH 4/7 x264: add git version

In reply to Koen Kooi
---
 meta-oe/recipes-multimedia/x264/x264_git.bb | 43 +++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/x264/x264_git.bb
meta-oe/recipes-multimedia/x264/x264_git.bb new file +43 -0
new file mode 100644
index 0000000..ba8e979
@@ -0,0 +1,43 @@
+SUMMARY = "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format"
+HOMEPAGE = "http://www.videolan.org/developers/x264.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "yasm-native"
+
+SRC_URI = "git://git.videolan.org/x264.git"
+SRCREV = "1cffe9f406cc54f4759fc9eeb85598fb8cae66c7"
+
+PV = "r2230+git"
+
+S = "${WORKDIR}/git"
+
+inherit lib_package pkgconfig
+
+X264_DISABLE_ASM = ""
+X264_DISABLE_ASM_armv4 = "--disable-asm"
+X264_DISABLE_ASM_armv4t = "--disable-asm"
+X264_DISABLE_ASM_armv5te = "--disable-asm"
+
+EXTRA_OECONF = '--prefix=${prefix} \
+                --host=${HOST_SYS} \
+                --cross-prefix=${TARGET_PREFIX} \
+                --sysroot=${STAGING_DIR_TARGET} \
+                --enable-shared \
+                --enable-static \
+                --disable-lavf \
+                ${X264_DISABLE_ASM} \
+               '
+
+do_configure() {
+	./configure ${EXTRA_OECONF}
+}
+
+# Get rid of -e
+EXTRA_OEMAKE = ""
+AS = "${TARGET_PREFIX}gcc"
+
+do_install() {
+	oe_runmake install DESTDIR=${D}
+}
Signature · 1 line
1.8.1
#4 lore raw

Re: [meta-oe][PATCH 4/7] x264: add git version

Quoted 23 lines · Koen Kooi
---
 meta-oe/recipes-multimedia/x264/x264_git.bb | 43 +++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/x264/x264_git.bb
meta-oe/recipes-multimedia/x264/x264_git.bb new file +11 -0
new file mode 100644
index 0000000..ba8e979
@@ -0,0 +1,43 @@
+SUMMARY = "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format"
+HOMEPAGE = "http://www.videolan.org/developers/x264.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "yasm-native"
+
+SRC_URI = "git://git.videolan.org/x264.git"
+SRCREV = "1cffe9f406cc54f4759fc9eeb85598fb8cae66c7"
+

meta-oe/recipes-multimedia/x264/x264_git.bb line 21

Quoted 10 lines
meta-oe/recipes-multimedia/x264/x264_git.bb new file +10 -0
+PV = "r2230+git"
+
+S = "${WORKDIR}/git"
+
+inherit lib_package pkgconfig
+
+X264_DISABLE_ASM = ""
+X264_DISABLE_ASM_armv4 = "--disable-asm"
+X264_DISABLE_ASM_armv4t = "--disable-asm"
+X264_DISABLE_ASM_armv5te = "--disable-asm"

Can we use more generic overrides?
meta/conf/machine/include/arm/arch-armv5.inc:MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}" meta/conf/machine/include/arm/arch-armv4.inc:MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}"

I'll update it in jansa/in-test, but send me your ack.

PKG_ARCH is not in default OVERRIDES IIRC and with different distro settings for default tune it could be also xscalete or arm926ejste etc.

Cheers,

Quoted 30 lines
meta-oe/recipes-multimedia/x264/x264_git.bb new file +22 -0
+
+EXTRA_OECONF = '--prefix=${prefix} \
+                --host=${HOST_SYS} \
+                --cross-prefix=${TARGET_PREFIX} \
+                --sysroot=${STAGING_DIR_TARGET} \
+                --enable-shared \
+                --enable-static \
+                --disable-lavf \
+                ${X264_DISABLE_ASM} \
+               '
+
+do_configure() {
+	./configure ${EXTRA_OECONF}
+}
+
+# Get rid of -e
+EXTRA_OEMAKE = ""
+AS = "${TARGET_PREFIX}gcc"
+
+do_install() {
+	oe_runmake install DESTDIR=${D}
+}
Signature · 7 lines
1.8.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
author Acked-by
#5 lore raw

Re: [meta-oe][PATCH 4/7] x264: add git version

Op 27 jan. 2013, om 20:19 heeft Martin Jansa <[email protected]> het volgende geschreven:

Quoted 39 lines · Koen Kooi
Quoted 23 lines

---
meta-oe/recipes-multimedia/x264/x264_git.bb | 43 +++++++++++++++++++++++++++++

1 file changed, 43 insertions(+)

create mode 100644 meta-oe/recipes-multimedia/x264/x264_git.bb

meta-oe/recipes-multimedia/x264/x264_git.bb new file +11 -0
new file mode 100644
index 0000000..ba8e979
@@ -0,0 +1,43 @@
+SUMMARY = "x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format"
+HOMEPAGE = "http://www.videolan.org/developers/x264.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "yasm-native"
+
+SRC_URI = "git://git.videolan.org/x264.git"
+SRCREV = "1cffe9f406cc54f4759fc9eeb85598fb8cae66c7"
+

meta-oe/recipes-multimedia/x264/x264_git.bb line 21

Quoted 10 lines
meta-oe/recipes-multimedia/x264/x264_git.bb new file +10 -0
+PV = "r2230+git"
+
+S = "${WORKDIR}/git"
+
+inherit lib_package pkgconfig
+
+X264_DISABLE_ASM = ""
+X264_DISABLE_ASM_armv4 = "--disable-asm"
+X264_DISABLE_ASM_armv4t = "--disable-asm"
+X264_DISABLE_ASM_armv5te = "--disable-asm"

Can we use more generic overrides?
meta/conf/machine/include/arm/arch-armv5.inc:MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}" meta/conf/machine/include/arm/arch-armv4.inc:MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}"

Quoted 1 line

I'll update it in jansa/in-test, but send me your ack.

Thanks!

Quoted 3 lines

PKG_ARCH is not in default OVERRIDES IIRC and with different distro settings for default tune it could be also xscalete or arm926ejste etc.

I hadn't thought about that, thanks for noticing!

Quoted 36 lines

Cheers,

Quoted 30 lines
meta-oe/recipes-multimedia/x264/x264_git.bb new file +22 -0
+
+EXTRA_OECONF = '--prefix=${prefix} \
+                --host=${HOST_SYS} \
+                --cross-prefix=${TARGET_PREFIX} \
+                --sysroot=${STAGING_DIR_TARGET} \
+                --enable-shared \
+                --enable-static \
+                --disable-lavf \
+                ${X264_DISABLE_ASM} \
+               '
+
+do_configure() {
+	./configure ${EXTRA_OECONF}
+}
+
+# Get rid of -e
+EXTRA_OEMAKE = ""
+AS = "${TARGET_PREFIX}gcc"
+
+do_install() {
+	oe_runmake install DESTDIR=${D}
+}
Signature · 7 lines
1.8.1


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

PATCH 5/7 libav: enable x264 encoder support

In reply to Koen Kooi
---
 meta-oe/recipes-multimedia/libav/libav.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-multimedia/libav/libav.inc +3 -2
index e85ae29..388a567 100644
@@ -9,9 +9,9 @@ PROVIDES = "ffmpeg"
 ARM_INSTRUCTION_SET = "arm"
 
 # faac faad2 lame schroedinger libgsm
-DEPENDS = "virtual/libsdl zlib libogg libvorbis libvpx libtheora ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'liba52', d)}"
+DEPENDS = "x264 virtual/libsdl zlib libogg libvorbis libvpx libtheora ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'liba52', d)}"
 
-INC_PR = "r6"
+INC_PR = "r7"
 
 inherit autotools pkgconfig
 
@@ -42,6 +42,7 @@ EXTRA_OECONF = " \
         --enable-x11grab \
         --enable-libtheora  \
         --enable-libvorbis \
+        --enable-libx264 \
         --arch=${TARGET_ARCH} \
         --target-os="linux" \
         --enable-cross-compile \
Signature · 1 line
1.8.1
author
#7 lore raw

PATCH 6/7 apcupsd: fix QA error and SUMMARY

In reply to Koen Kooi
---
 meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb +5 -1
index e50d03f..bd11f0d 100644
@@ -1,4 +1,4 @@
-SUMMARY = "foo"
+SUMMARY = "Apcupsd a daemon for controlling APC UPSes"
 
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c12853cc7fdf20d17b4fddefd26b7802"
@@ -32,4 +32,8 @@ do_configure() {
 	oe_runconf
 }
 
+do_install_append() {
+	rm ${D}${datadir}/hal -rf
+}
+
 
Signature · 1 line
1.8.1
author
#8 lore raw

PATCH 7/7 python-smbus: add 3.0.3

In reply to Koen Kooi
---
 .../recipes-devtools/python/python-smbus_3.0.3.bb    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb
meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb new file +20 -0
new file mode 100644
index 0000000..5ba24c6
@@ -0,0 +1,20 @@
+DESCRIPTION = "Set of i2c tools for linux - Python module"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
+
+SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
+          "
+SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
+SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
+
+DEPENDS = "i2c-tools"
+
+inherit distutils
+
+S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/"
+
+do_configure_prepend() {
+	# Adjust for OE header rename
+	sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk
+	sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c
+}
Signature · 1 line
1.8.1
#9 lore raw
In reply to Koen Kooi
Quoted 1 line · Koen Kooi

All applied, Thanks.

Now I have only:
3424ca7 wscan: add 20121111
5c7cfdd xbmc: first try at making it build for non-GLES platforms pending from you :).

Quoted 50 lines
---
 .../recipes-mkv/libebml/libebml_1.2.2.bb           | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb
meta-multimedia/recipes-mkv/libebml/libebml_1.2.2.bb new file +31 -0
new file mode 100644
index 0000000..210a409
@@ -0,0 +1,31 @@
+SUMMARY = "libebml is a C++ libary to parse EBML files."
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+
+SRC_URI = "http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2"
+SRC_URI[md5sum] = "726cc2bd1a525929ff35ff9854c0ebab"
+SRC_URI[sha256sum] = "476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5"
+
+do_compile() {
+	cd ${S}/make/linux
+	oe_runmake CROSS="${TARGET_PREFIX}"
+}
+
+do_install() {
+	cd ${S}/make/linux
+
+	install -d ${D}${libdir}
+	install -m 0644 libebml.a ${D}${libdir}
+	install -m 0755 libebml.so.* ${D}${libdir}
+	cp -a libebml.so ${D}${libdir}
+
+	install -d ${D}${includedir}/ebml
+	for i in ../../ebml/*.h; do
+		install -m 0644 $i ${D}${includedir}/ebml
+	done
+
+	install -d ${D}${includedir}/ebml/c
+	for i in ../../ebml/c/*.h; do
+		install -m 0644 $i ${D}${includedir}/ebml/c
+	done
+}
Signature · 7 lines
1.8.1


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

Op 28 jan. 2013, om 11:43 heeft Martin Jansa <[email protected]> het volgende geschreven:

Quoted 9 lines · Koen Kooi
Quoted 1 line

All applied, Thanks.

Now I have only:
3424ca7 wscan: add 20121111
5c7cfdd xbmc: first try at making it build for non-GLES platforms pending from you :).

Still haven't had the time to look at fixing wscan and xbmc is a *$(*$(#*$(@ mess when trying to make it build against EMGD libs