gst_libav: Add recipe for 1.12.0 version.

This commit is contained in:
Gerasim Troeglazov
2017-06-18 01:08:54 +10:00
parent 48115c9725
commit e9559ed822

View File

@@ -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
}