mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
gstreamer: bump version
This commit is contained in:
96
media-libs/gstreamer/gstreamer-1.14.0.recipe
Normal file
96
media-libs/gstreamer/gstreamer-1.14.0.recipe
Normal file
@@ -0,0 +1,96 @@
|
||||
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="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="fc361367f0d4b780a868a8833f9f30b9c9f4ac9faea4e6b251db8b4b0398466e"
|
||||
PATCHES="gstreamer-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gstreamer$secondaryArchSuffix = $portVersion
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
lib:libgstbase_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
lib:libgstcontroller_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
lib:libgstnet_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
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${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
devel:libgstbase_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
devel:libgstcontroller_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
devel:libgstnet_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gstreamer$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
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:aclocal
|
||||
cmd:autoconf
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-gst-debug --disable-debug \
|
||||
--disable-tests --disable-failing-tests --disable-check \
|
||||
--disable-examples --disable-nls LIBS=-lnetwork
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libgst*.la $libDir/gstreamer-1.0/*.la
|
||||
|
||||
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 \
|
||||
$dataDir/aclocal \
|
||||
$dataDir/gtk-doc
|
||||
}
|
||||
Reference in New Issue
Block a user