[oe] [STABLE][PATCH v2] gstreamer-ti: fix path to codec combos
Koen Kooi
k.kooi at student.utwente.nl
Tue Apr 7 10:40:44 UTC 2009
On 04-04-09 14:38, Koen Kooi wrote:
> From: Koen Kooi<koen at openembedded.org>
ping
>
> ---
> gstreamer-ti_svn.bb | 11 +++++++++--
> ti-codec-combos_3.16.bb | 7 +++++--
> 2 files changed, 14 insertions(+), 4 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-devel
mailing list