mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
gst_plugins_bad: Add recipe for 1.12.0 version.
This commit is contained in:
139
media-libs/gst_plugins_bad/gst_plugins_bad-1.12.0.recipe
Normal file
139
media-libs/gst_plugins_bad/gst_plugins_bad-1.12.0.recipe
Normal file
@@ -0,0 +1,139 @@
|
||||
SUMMARY="GStreamer Bad Plug-ins"
|
||||
DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the \
|
||||
rest. They might be close to being good quality, but they're missing something - be it a good \
|
||||
code review, some documentation, a set of tests, a real live maintainer, or some actual wide use."
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="11b73cfff1b315a8e9be1756435ea84937e7cb90afbab0e8e6975367dbfb8534"
|
||||
SOURCE_DIR="gst-plugins-bad-$portVersion"
|
||||
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gst_plugins_bad_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstadaptivedemux_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbadallocators_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbadaudio_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbadbase_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbadvideo_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbasecamerabinsrc_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstcodecparsers_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstinsertbin_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstmpegts_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstphotography_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstplayer_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgsturidownloader_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
gst_plugins_base_1.0$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libfaad$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:liborc_0.4$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libsdl$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libx265$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gst_plugins_bad_1.0${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgstadaptivedemux_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstbadallocators_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstbadaudio_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstbadbase_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstbadvideo_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstbasecamerabinsrc_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstcodecparsers_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstinsertbin_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstmpegts_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstphotography_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstplayer_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgsturidownloader_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
gst_plugins_bad_1.0${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
gst_plugins_base_1.0${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libfaad$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:liborc_0.4$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libx265$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
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd $sourceDir
|
||||
runConfigure ./configure --disable-examples --disable-debug --disable-nls --enable-orc
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
prepareInstalledDevelLibs libgstadaptivedemux-1.0 libgstbadallocators-1.0 \
|
||||
libgstbadaudio-1.0 libgstbadbase-1.0 libgstbadvideo-1.0 \
|
||||
libgstbasecamerabinsrc-1.0 libgstcodecparsers-1.0 libgstinsertbin-1.0 \
|
||||
libgstmpegts-1.0 libgstphotography-1.0 libgstplayer-1.0 libgsturidownloader-1.0
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
mv -f $includeDir/gstreamer-1.0/gst $includeDir/
|
||||
rm -rf $includeDir/gstreamer-1.0
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user