mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
gstreamer: Add recipe for 1.12.0 version.
This commit is contained in:
95
media-libs/gstreamer/gstreamer-1.12.0.recipe
Normal file
95
media-libs/gstreamer/gstreamer-1.12.0.recipe
Normal file
@@ -0,0 +1,95 @@
|
||||
SUMMARY="Open source multimedia framework"
|
||||
DESCRIPTION="GStreamer is a library for constructing graphs of media-handling components. \
|
||||
The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming \
|
||||
to complex audio (mixing) and video (non-linear editing) processing."
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="14d5eef8297d2bf2a728d38fa43cd92cc267a0ad260cf83d770215212aff4302"
|
||||
PATCHES="gstreamer-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gstreamer_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbase_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstcontroller_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstnet_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_inspect_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_launch_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_stats_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_typefind_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
gstreamer_1.0${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstbase_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstcontroller_1.0$secondaryArchSuffix = $portVersion
|
||||
devel:libgstnet_1.0$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gstreamer_1.0$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:make
|
||||
cmd:grep
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:python
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-gst-debug --disable-debug \
|
||||
--disable-tests --disable-failing-tests --disable-check \
|
||||
--disable-examples --disable-nls
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libgstreamer-1.0 libgstbase-1.0 \
|
||||
libgstcontroller-1.0 libgstnet-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