[oe-commits] Andreas Oberritter : libdca: fix sed failing on unpack

git version control git at git.openembedded.org
Thu Sep 8 10:07:47 UTC 2011


Module: openembedded.git
Branch: master
Commit: 4f4ed88bc7caa3d2b0b44ae2f51907aa9e68fc1b
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=4f4ed88bc7caa3d2b0b44ae2f51907aa9e68fc1b

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Thu Sep  8 09:57:14 2011 +0000

libdca: fix sed failing on unpack

  sed: can't read [...]/libdca/*.{ch}: No such file or directory

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

---

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

diff --git a/recipes/libdca/libdca_0.0.5-3.bb b/recipes/libdca/libdca_0.0.5-3.bb
index 5bc023a..67b311e 100644
--- a/recipes/libdca/libdca_0.0.5-3.bb
+++ b/recipes/libdca/libdca_0.0.5-3.bb
@@ -1,6 +1,7 @@
 DESCRIPTION = "decoding library for DTS Coherent Acoustics streams"
 SECTION = "libs/multimedia"
 LICENSE = "GPLv2+"
+PR = "r1"
 
 SRC_URI = "git://git.debian.org/pkg-multimedia/${PN}.git;protocol=git"
 
@@ -12,7 +13,7 @@ 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}
+        sed -i -e 's/double/sample_t/g' ${S}/libdca/*.c ${S}/libdca/*.h
 }
 
 addtask unpackpost after do_unpack before do_patch





More information about the Openembedded-commits mailing list