mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
gst_libav: bump version
This commit is contained in:
82
media-libs/gst_libav/gst_libav-1.14.0.recipe
Normal file
82
media-libs/gst_libav/gst_libav-1.14.0.recipe
Normal file
@@ -0,0 +1,82 @@
|
||||
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
|
||||
GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="fb134b4d3e054746ef8b922ff157b0c7903d1fdd910708a45add66954da7ef89"
|
||||
SOURCE_DIR="gst-libav-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gst_libav$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgstapp_1.0$secondaryArchSuffix
|
||||
lib:libgstaudio_1.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libgstvideo_1.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:liborc_0.4$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
SUPPLEMENTS="
|
||||
gstreamer$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgstapp_1.0$secondaryArchSuffix
|
||||
devel:libgstaudio_1.0$secondaryArchSuffix
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix
|
||||
devel:libgstvideo_1.0$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:automake
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:orcc$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd $sourceDir
|
||||
./configure --enable-orc --enable-gpl \
|
||||
--with-libav-extra-configure="--disable-mmx --disable-asm"
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir/gstreamer-1.0
|
||||
cp -f $sourceDir/ext/libav/.libs/libgstlibav.so $libDir/gstreamer-1.0
|
||||
strip $libDir/gstreamer-1.0/libgstlibav.so
|
||||
}
|
||||
Reference in New Issue
Block a user