mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
86 lines
2.4 KiB
Bash
86 lines
2.4 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="http://gstreamer.freedesktop.org/"
|
|
COPYRIGHT="Erik Walthinsen"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64"
|
|
SOURCE_DIR="gst-plugins-good-$portVersion"
|
|
PATCHES="gstpluginsgood-0.10.31.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gst_plugins_good${secondaryArchSuffix} = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
gst_plugins_base${secondaryArchSuffix}
|
|
lib:libgstreamer$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libpng$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libtag$secondaryArchSuffix
|
|
lib:libspeex$secondaryArchSuffix
|
|
lib:libflac$secondaryArchSuffix
|
|
lib:libsoup$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:liborc_0.4$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
gst_plugins_base${secondaryArchSuffix}_devel
|
|
devel:libtag$secondaryArchSuffix
|
|
devel:libgstreamer$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libspeex$secondaryArchSuffix
|
|
devel:libflac$secondaryArchSuffix
|
|
devel:libsoup$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:liborc_0.4$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:grep
|
|
cmd:bison
|
|
cmd:flex
|
|
cmd:python
|
|
cmd:orcc
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --disable-examples --disable-debug --disable-nls \
|
|
--with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink
|
|
find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \;
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|