[oe-commits] Andreas Oberritter : libdca-0.0.5-3: initial recipe (Debian)

git version control git at git.openembedded.org
Fri Feb 11 12:45:00 UTC 2011


Module: openembedded.git
Branch: master
Commit: 7ae30cf534a60ccab84be5314b77e6656a7eecc2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7ae30cf534a60ccab84be5314b77e6656a7eecc2

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Fri Feb  4 01:15:53 2011 +0000

libdca-0.0.5-3: initial recipe (Debian)

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>

---

 recipes/libdca/libdca_0.0.5-3.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/recipes/libdca/libdca_0.0.5-3.bb b/recipes/libdca/libdca_0.0.5-3.bb
new file mode 100644
index 0000000..5bc023a
--- /dev/null
+++ b/recipes/libdca/libdca_0.0.5-3.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "decoding library for DTS Coherent Acoustics streams"
+SECTION = "libs/multimedia"
+LICENSE = "GPLv2+"
+
+SRC_URI = "git://git.debian.org/pkg-multimedia/${PN}.git;protocol=git"
+
+SRCREV = "6031938c28a2e66eed6f2b9bac1467364e25068d"
+S = "${WORKDIR}/git"
+
+inherit autotools lib_package pkgconfig
+
+do_unpackpost() {
+        QUILT_PATCHES=debian/patches quilt push -a
+        # single precision is enough and speeds up libdca by about 10-15%
+        sed -i -e 's/double/sample_t/g' ${S}/libdca/*.{ch}
+}
+
+addtask unpackpost after do_unpack before do_patch





More information about the Openembedded-commits mailing list