[poky] [PATCH 2/7] gst-ffmpeg: upgrade to version 0.10.11

Richard Purdie rpurdie at linux.intel.com
Thu Dec 9 04:40:27 PST 2010


Hi,

On Tue, 2010-12-07 at 14:08 +0800, Dongxiao Xu wrote:
> diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.11.bb b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.11.bb
> new file mode 100644
> index 0000000..96f08b6
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gst-ffmpeg_0.10.11.bb
> @@ -0,0 +1,39 @@
[...]
> +# We do this because the install program is called with -s which causes it to
> +# call "strip" and it then mangles cross compiled stuff..
> +PATH_prepend := "${TOOLCHAIN_PATH}/${TARGET_SYS}/bin:"
> +
> +# Hack to get STAGING_LIBDIR into the linker path when building ffmpeg
> +CC = "${CCACHE} ${HOST_PREFIX}gcc ${TARGET_CC_ARCH} -L${STAGING_LIBDIR}"
> +
> +SRC_URI[md5sum] = "0d23197ba7ac06ea34fa66d38469ebe5"
> +SRC_URI[sha256sum] = "ff36a138e5af4ed8dcc459d6d6521fe66ed31ec29ba9a924dc3675c6749a692e"

Whilst Saul included this in distro/master I'm not going to take it as
this PATH_prepend workaround is rather risky e.g. if anyone ever uses
BBCLASSEXTEND with the recipe or the recipe ever tries to find the
native compiler for some native tool used in the build process. Please
patch the package to take out the -s option used in the install
commands.

Cheers,

Richard




More information about the poky mailing list