mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
* needs to be rebuild to fix "nothing provides lib:libgstapp_1.0_x86>=1.12.2 needed by gst_plugins_good_x86-1.12.3-1"
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="2"
|
|
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="13e7f479296891fef5a686438f20ba7d534680becf2269ecc5ee24aa83b45f03"
|
|
SOURCE_DIR="gst-plugins-good-$portVersion"
|
|
|
|
gitCommit="c3a7bfbdd780e6adb8f4d5c5f7369586491a3250"
|
|
SOURCE_URI_2="https://github.com/threedeyes/gsthaikuaudiosink/archive/$gitCommit.zip"
|
|
CHECKSUM_SHA256_2="4c60ac05b4f4c847be00e1275bb8d5495ced4fb9bdc24cf1b96d46dce10b4899"
|
|
SOURCE_DIR_2="gsthaikuaudiosink-$gitCommit"
|
|
|
|
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
|
|
}
|