Fixes [BUGID #501] While building the poky-image-sato target, gst-ffmpeg failed when it attempted to run altivec tests on the host. We can live without this optimization, so the easiest fix is to simply disable it. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "FFmpeg-based GStreamer plug-in"
|
|
SECTION = "multimedia"
|
|
PRIORITY = "optional"
|
|
LICENSE = "LGPL"
|
|
HOMEPAGE = "http://www.gstreamer.net/"
|
|
DEPENDS = "gstreamer zlib gst-plugins-base"
|
|
PR = "r4"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \
|
|
file://no_beos.patch;patch=1 \
|
|
file://configure_fix.patch;patch=1"
|
|
|
|
FILES_${PN} += "${libdir}/gstreamer-0.10/*.so"
|
|
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
|
|
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a"
|
|
|
|
EXTRA_OECONF = "--disable-sdltest --disable-ffplay --disable-freetypetest \
|
|
--disable-vorbis --disable-vorbistest --disable-encoders \
|
|
--disable-v4l --disable-audio-oss --disable-dv1394 \
|
|
--disable-vhook --disable-ffmpeg --disable-ffserver \
|
|
--enable-pp --disable-decoder-vorbis --with-pic=no --disable-altivec"
|
|
|
|
# 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="${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin:"
|
|
|
|
# Hack to get STAGING_LIBDIR into the linker path when building ffmpeg
|
|
CC = "${CCACHE} ${HOST_PREFIX}gcc -L${STAGING_LIBDIR}"
|
|
|
|
acpaths = "-I ${S}/common/m4"
|