mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
136 lines
3.8 KiB
Bash
136 lines
3.8 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="3aaeeea7765fbf8801acce4a503a9b05f73f04e8a35352e9d00232cfd555796b"
|
|
SOURCE_DIR="gst-plugins-good-$portVersion"
|
|
sinkVersion="1.16.2"
|
|
SOURCE_URI_2="https://github.com/threedeyes/gsthaikuaudiosink/archive/$sinkVersion.tar.gz"
|
|
CHECKSUM_SHA256_2="f60eecc132262bd9d2f6fb9440c448ff0d6c484634f20e8464b7a45dbbde7bfa"
|
|
SOURCE_FILENAME_2="gsthaikuaudiosink-$sinkVersion.tar.gz"
|
|
SOURCE_DIR_2="gsthaikuaudiosink-$sinkVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="0.1805.0"
|
|
|
|
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:libmp3lame$secondaryArchSuffix
|
|
lib:libmpg123$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:liborc_0.4$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libsoup_2.4$secondaryArchSuffix
|
|
lib:libspeex$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libtag$secondaryArchSuffix
|
|
lib:libtwolame$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 >= $libVersion
|
|
devel:libgstaudio_1.0$secondaryArchSuffix >= $libVersion
|
|
devel:libgstreamer_1.0$secondaryArchSuffix >= $libVersion
|
|
devel:libgstvideo_1.0$secondaryArchSuffix >= $libVersion
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libmp3lame$secondaryArchSuffix
|
|
devel:libmpg123$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:liborc_0.4$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libsoup_2.4$secondaryArchSuffix
|
|
devel:libspeex$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libtwolame$secondaryArchSuffix
|
|
devel:libtag$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libvpx$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:bison
|
|
cmd:cmake
|
|
cmd:flex
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:orcc$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python
|
|
cmd:python3
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export CFLAGS="-lnetwork"
|
|
|
|
meson build \
|
|
--buildtype=release \
|
|
--prefix=$prefix \
|
|
--bindir=$binDir \
|
|
--libdir=$libDir \
|
|
--libexecdir=$libDir \
|
|
--datadir=$dataDir \
|
|
--mandir=$manDir \
|
|
--includedir=$includeDir \
|
|
-D doc=disabled \
|
|
-D examples=disabled \
|
|
-D test=disabled \
|
|
-D nls=disabled \
|
|
-D orc=enabled
|
|
|
|
ninja -C build $jobArgs
|
|
|
|
cd $sourceDir2
|
|
cmake . -DCMAKE_BUILD_TYPE=Release
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
ninja -C build install
|
|
|
|
cd $sourceDir2
|
|
cp -f libgsthaikuaudiosink.so $libDir/gstreamer-1.0
|
|
}
|