mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
gst_plugins_base: Add recipe for 1.12.0 version.
This commit is contained in:
123
media-libs/gst_plugins_base/gst_plugins_base-1.12.0.recipe
Normal file
123
media-libs/gst_plugins_base/gst_plugins_base-1.12.0.recipe
Normal file
@@ -0,0 +1,123 @@
|
||||
SUMMARY="GStreamer Base Plug-ins"
|
||||
DESCRIPTION="GStreamer Base Plug-ins is a well-groomed and well-maintained collection of \
|
||||
GStreamer plug-ins and elements, spanning the range of possible types of elements one \
|
||||
would want to write for GStreamer. It also contains helper libraries and base classes \
|
||||
useful for writing elements. A wide range of video and audio decoders, encoders, and \
|
||||
filters are included."
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="345fc6877f54b8b6e97aacf2996be37a51a0e369f53fc2cf83108af9f764364d"
|
||||
SOURCE_DIR="gst-plugins-base-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gst_plugins_base_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_device_monitor_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_discoverer_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_play_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstallocators_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstapp_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstaudio_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstfft_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstpbutils_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstriff_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstrtp_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstrtsp_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstsdp_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgsttag_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstvideo_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:liborc_0.4$secondaryArchSuffix
|
||||
lib:libtheoradec$secondaryArchSuffix
|
||||
lib:libtheoraenc$secondaryArchSuffix
|
||||
lib:libvorbis$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gst_plugins_base_1.0${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgstallocators_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstapp_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstaudio_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstfft_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstpbutils_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstriff_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstrtp_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstrtsp_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstsdp_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgsttag_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstvideo_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gst_plugins_base_1.0$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:liborc_0.4$secondaryArchSuffix
|
||||
devel:libtheora$secondaryArchSuffix
|
||||
devel:libvorbis$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:orcc$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:make
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-examples --disable-debug --disable-nls --enable-orc
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libgstallocators-1.0 libgstapp-1.0 libgstaudio-1.0 \
|
||||
libgstfft-1.0 libgstpbutils-1.0 libgstriff-1.0 libgstrtp-1.0 libgstrtsp-1.0 \
|
||||
libgstsdp-1.0 libgsttag-1.0 libgstvideo-1.0
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
rm $libDir/gstreamer-1.0/*.la
|
||||
|
||||
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