libdca-0.0.5-3: initial recipe (Debian)
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 4 Feb 2011 01:15:53 +0000 (01:15 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Fri, 11 Feb 2011 12:43:24 +0000 (12:43 +0000)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
recipes/libdca/libdca_0.0.5-3.bb [new file with mode: 0644]

diff --git a/recipes/libdca/libdca_0.0.5-3.bb b/recipes/libdca/libdca_0.0.5-3.bb
new file mode 100644 (file)
index 0000000..5bc023a
--- /dev/null
@@ -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