mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
gstreamer and plugins: bump to 1.12.2 version
This commit is contained in:
110
media-libs/gst_plugins_good/gst_plugins_good-1.12.2.recipe
Normal file
110
media-libs/gst_plugins_good/gst_plugins_good-1.12.2.recipe
Normal file
@@ -0,0 +1,110 @@
|
||||
SUMMARY="GStreamer Good Plug-ins"
|
||||
DESCRIPTION="GStreamer Good Plug-ins is a set of plug-ins that we consider to have good quality code, \
|
||||
correct functionality, our preferred license (LGPL for the plug-in code, LGPL or LGPL-compatible \
|
||||
for the supporting library)."
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="121e8e46a7f0e622f09ec9be012607b89d737dd72d48b0f2f0680821ae2cf54b"
|
||||
SOURCE_DIR="gst-plugins-good-$portVersion"
|
||||
|
||||
gitCommit="c3a7bfbdd780e6adb8f4d5c5f7369586491a3250"
|
||||
SOURCE_URI_2="https://github.com/threedeyes/gsthaikuaudiosink/archive/$gitCommit.zip"
|
||||
CHECKSUM_SHA256_2="4c60ac05b4f4c847be00e1275bb8d5495ced4fb9bdc24cf1b96d46dce10b4899"
|
||||
SOURCE_DIR_2="gsthaikuaudiosink-$gitCommit"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gst_plugins_good_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
gst_plugins_base_1.0$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libflac$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libsoup$secondaryArchSuffix
|
||||
lib:libspeex$secondaryArchSuffix
|
||||
lib:libsqlite3$secondaryArchSuffix
|
||||
lib:libtag$secondaryArchSuffix
|
||||
lib:liborc_0.4$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
gst_plugins_base_1.0${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libsoup$secondaryArchSuffix
|
||||
devel:libspeex$secondaryArchSuffix
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
devel:libtag$secondaryArchSuffix
|
||||
devel:liborc_0.4$secondaryArchSuffix
|
||||
devel:libvorbis$secondaryArchSuffix
|
||||
devel:libvpx$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:bison
|
||||
cmd:cmake
|
||||
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
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd $sourceDir
|
||||
runConfigure ./configure --disable-debug --disable-examples --disable-nls \
|
||||
--enable-orc --disable-oss --disable-oss4
|
||||
make $jobArgs
|
||||
|
||||
cd $sourceDir2
|
||||
cmake .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd $sourceDir
|
||||
make install
|
||||
|
||||
rm $libDir/gstreamer-1.0/*.la
|
||||
|
||||
cd $sourceDir2
|
||||
cp -f libgsthaikuaudiosink.so $libDir/gstreamer-1.0
|
||||
}
|
||||
Reference in New Issue
Block a user