mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
115 lines
3.3 KiB
Bash
115 lines
3.3 KiB
Bash
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="6afa35747d528d3ab4ed8f5eac13f7235d7d28100d6a24dd78f81ec7c0d04688"
|
|
SOURCE_DIR="gst-plugins-good-$portVersion"
|
|
|
|
sinkVersion=$portVersion
|
|
SOURCE_URI_2="https://github.com/threedeyes/gsthaikuaudiosink/archive/$sinkVersion.tar.gz"
|
|
CHECKSUM_SHA256_2="8e324a47d9d1d02e04e2382953ca3388887e9feec6fc0de046a6bf8989ab1077"
|
|
SOURCE_DIR_2="gsthaikuaudiosink-$sinkVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gst_plugins_good$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libflac$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgstapp_1.0$secondaryArchSuffix
|
|
lib:libgstaudio_1.0$secondaryArchSuffix
|
|
lib:libgstreamer_1.0$secondaryArchSuffix
|
|
lib:libgstvideo_1.0$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libsoup_2.4$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
|
|
"
|
|
SUPPLEMENTS="
|
|
gstreamer$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libflac$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgstapp_1.0$secondaryArchSuffix
|
|
devel:libgstaudio_1.0$secondaryArchSuffix
|
|
devel:libgstreamer_1.0$secondaryArchSuffix
|
|
devel:libgstvideo_1.0$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libsoup_2.4$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:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:orcc$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --disable-debug --disable-examples --disable-nls \
|
|
--enable-orc --disable-oss --disable-oss4
|
|
make $jobArgs
|
|
|
|
cd $sourceDir2
|
|
cmake .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/gstreamer-1.0/*.la
|
|
|
|
cd $sourceDir2
|
|
cp -f libgsthaikuaudiosink.so $libDir/gstreamer-1.0
|
|
}
|