gstreamer-ti: fix path to codec combos
authorKoen Kooi <koen@openembedded.org>
Sat, 4 Apr 2009 09:10:13 +0000 (11:10 +0200)
committerKoen Kooi <koen@openembedded.org>
Sat, 4 Apr 2009 09:10:13 +0000 (11:10 +0200)
* 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

index e14f262..ab705f3 100644 (file)
@@ -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