[oe-commits] Koen Kooi : gstreamer-ti: fix path to codec combos

GIT User account git at amethyst.openembedded.net
Sat Apr 4 09:16:06 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7759f821b5b2912156a953d50b4819340da1977b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7759f821b5b2912156a953d50b4819340da1977b

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Apr  4 11:10:13 2009 +0200

gstreamer-ti: fix path to codec combos
* if it's going to hardcode the codec locations it should hardcode the locations where OE installs them to instead of './*.x64P'

---

 recipes/dsplink/gstreamer-ti_svn.bb |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/recipes/dsplink/gstreamer-ti_svn.bb b/recipes/dsplink/gstreamer-ti_svn.bb
index e14f262..ab705f3 100644
--- a/recipes/dsplink/gstreamer-ti_svn.bb
+++ b/recipes/dsplink/gstreamer-ti_svn.bb
@@ -4,7 +4,7 @@ SRC_URI = "svn://gforge.ti.com/svn/gstreamer_ti/trunk;module=gstreamer_ti;proto=
           "
 SRCREV = "160"
 
-PR = "r6"
+PR = "r7"
 
 # Again, no '.' in PWD allowed :(
 PV = "0+svnr${SRCREV}"
@@ -32,6 +32,14 @@ export XDC_PLATFORM
 #GCArmv5T.cc.opts = "SEDME_CCARCH";
 #GCArmv5T.cc.$seal("opts");
 
+do_configure_prepend() {
+	for i in ${S}/src/*.cfg ; do
+		sed -i -e s:\./encodeCombo.x64P:${datadir}/ti-codec-combos/encodeCombo.x64P:g \
+	           -e s:\./decodeCombo.x64P:${datadir}/ti-codec-combos/decodeCombo.x64P:g \
+	           $i
+	done
+}
+
 do_compile_prepend() {
 	for i in $(find ${S} -name "config.bld") ; do
 		    sed -i -e s:SEDME_CCARCH:'${TARGET_CCARCH}': $i





More information about the Openembedded-commits mailing list