From e9559ed822eeb08d46ff84094391ef695ba4a299 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 18 Jun 2017 01:08:54 +1000 Subject: [PATCH] gst_libav: Add recipe for 1.12.0 version. --- media-libs/gst_libav/gst_libav-1.12.0.recipe | 74 ++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 media-libs/gst_libav/gst_libav-1.12.0.recipe diff --git a/media-libs/gst_libav/gst_libav-1.12.0.recipe b/media-libs/gst_libav/gst_libav-1.12.0.recipe new file mode 100644 index 000000000..a04ad9702 --- /dev/null +++ b/media-libs/gst_libav/gst_libav-1.12.0.recipe @@ -0,0 +1,74 @@ +SUMMARY="LibAV based gstreamer plugin" +DESCRIPTION="GStreamer LibAV plug-in contains one plugin with a set of elements using the \ +LibAV library code. It contains most popular decoders as well as very fast colorspace \ +conversion elements." +HOMEPAGE="https://gstreamer.freedesktop.org/" +COPYRIGHT="Erik Walthinsen" +LICENSE="GNU LGPL v2" +REVISION="1" +SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$portVersion.tar.xz" +CHECKSUM_SHA256="39d1477f642ee980b008e78d716b16801eec9a6e5958c5a6cdc0cb04ab0750c4" +SOURCE_DIR="gst-libav-$portVersion" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + gst_libav_1.0$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + gst_plugins_base_1.0$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + lib:libgstreamer_1.0$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + gst_plugins_base_1.0${secondaryArchSuffix}_devel + devel:libglib_2.0$secondaryArchSuffix + devel:libgstreamer_1.0$secondaryArchSuffix + devel:libbz2$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libintl$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:bison + cmd:flex + cmd:gcc$secondaryArchSuffix + cmd:grep + cmd:ld$secondaryArchSuffix + cmd:libtool + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:orcc$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + cmd:python + cmd:which + cmd:yasm + " + +BUILD() +{ + cd $sourceDir + runConfigure ./configure --disable-examples --disable-debug --disable-nls \ + --enable-orc --enable-gpl --with-libav-extra-configure="--disable-mmx" + make $jobArgs +} + +INSTALL() +{ + make install + rm $libDir/gstreamer-1.0/*.la +}