[oe-commits] Koen Kooi : gstreamer-ti: fix path to codec combos
GIT User account
git at amethyst.openembedded.net
Wed Apr 8 14:30:32 UTC 2009
Module: openembedded.git
Branch: stable/2009
Commit: 399a19118b2acf263c1029282ad04445e70bf5e3
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=399a19118b2acf263c1029282ad04445e70bf5e3
Author: Koen Kooi <koen at openembedded.org>
Date: Sat Apr 4 02:38:17 2009 +0000
gstreamer-ti: fix path to codec combos
Acked-by: Philip Balister <philip at balister.org>
---
recipes/dsplink/gstreamer-ti_svn.bb | 10 +++++++++-
recipes/dsplink/ti-codec-combos_3.16.bb | 6 +++++-
2 files changed, 14 insertions(+), 2 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
diff --git a/recipes/dsplink/ti-codec-combos_3.16.bb b/recipes/dsplink/ti-codec-combos_3.16.bb
index dd97a57..6bab35a 100644
--- a/recipes/dsplink/ti-codec-combos_3.16.bb
+++ b/recipes/dsplink/ti-codec-combos_3.16.bb
@@ -13,7 +13,7 @@ S = "${WORKDIR}/omap3530_dvsdk_combos_3_16"
# Yes, the xdc stuff still breaks with a '.' in PWD
PV = "316"
-PR = "r14"
+PR = "r15"
TARGET = "all"
@@ -77,6 +77,10 @@ do_install () {
do_stage () {
install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos
cp -pPrf ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos
+ for codec in encode decode ; do
+ mkdir -p ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos/packages/ti/sdo/servers/$codec/package/info/${datadir}/ti-codec-combos
+ ln -sf ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos/packages/ti/sdo/servers/$codec/package/info/$codec* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos/packages/ti/sdo/servers/$codec/package/info/${datadir}/ti-codec-combos
+ done
}
FILES_ti-codec-combos = "${datadir}/ti-codec-combos/*"
More information about the Openembedded-commits
mailing list