diff --git a/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe b/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe new file mode 100644 index 000000000..85b630be1 --- /dev/null +++ b/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe @@ -0,0 +1,69 @@ +SUMMARY="FFmpeg based gstreamer plugin" +DESCRIPTION="GStreamer FFmpeg plug-in contains one plugin with a set of elements using the + FFmpeg library code. It contains most popular decoders as well as very fast colorspace + conversion elements." +HOMEPAGE="http://gstreamer.freedesktop.org/" +COPYRIGHT="Erik Walthinsen" +LICENSE="GNU LGPL v2" +REVISION="1" +SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$portVersion.tar.gz" +CHECKSUM_SHA256="ed9cc4375100c80ce56540ac1c30b8712a94d0cb97ba33dd52dd6203cd554729" +SOURCE_DIR="gst-ffmpeg-$portVersion" + +ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + gst_ffmpeg$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix + gst_plugins_base${secondaryArchSuffix} + lib:libgstreamer$secondaryArchSuffix + lib:libz$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + gst_plugins_base${secondaryArchSuffix}_devel + devel:libgstreamer$secondaryArchSuffix + devel:libpng$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix + devel:libz$secondaryArchSuffix + devel:libbz2$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtool + cmd:aclocal + cmd:autoconf + cmd:libtoolize + cmd:make + cmd:grep + cmd:bison + cmd:flex + cmd:python + cmd:pkg_config + " + +BUILD() +{ + export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ + runConfigure ./configure --disable-examples --disable-debug --disable-nls \ + --with-ffmpeg-extra-configure=--disable-mmx --disable-sse2 + find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \; + make $jobArgs +} + +INSTALL() +{ + make install +}