diff --git a/media-libs/gst_plugins_good/gst_plugins_good-1.12.0.recipe b/media-libs/gst_plugins_good/gst_plugins_good-1.12.0.recipe new file mode 100644 index 000000000..ea05c6f5c --- /dev/null +++ b/media-libs/gst_plugins_good/gst_plugins_good-1.12.0.recipe @@ -0,0 +1,110 @@ +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="8a1d734db7338e00c28b794a7f0a5a9e67d1c5c8b0074075b50638207d372ebc" +SOURCE_DIR="gst-plugins-good-$portVersion" + +gitCommit="59f553f6887c1fcda4b7b653719ba9da2ad86513" +SOURCE_URI_2="https://github.com/threedeyes/gsthaikuaudiosink/archive/$gitCommit.zip" +CHECKSUM_SHA256_2="87f599f0ad25aa524b273e455a9b22ddfad99b834fc258098d379582bb03ed3a" +SOURCE_DIR_2="gsthaikuaudiosink-$gitCommit" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + gst_plugins_good_1.0$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + gst_plugins_base_1.0$secondaryArchSuffix + lib:libbz2$secondaryArchSuffix + lib:libflac$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + lib:libgstreamer_1.0$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + lib:libpng16$secondaryArchSuffix + lib:libsoup$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 + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + gst_plugins_base_1.0${secondaryArchSuffix}_devel + devel:libbz2$secondaryArchSuffix + devel:libflac$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix + devel:libgstreamer_1.0$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libintl$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libogg$secondaryArchSuffix + devel:libpng16$secondaryArchSuffix + devel:libsoup$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:libtool + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:orcc$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix + cmd:python + cmd:which + " + +BUILD() +{ + cd $sourceDir + runConfigure ./configure --disable-examples --disable-debug --disable-nls \ + --disable-oss --disable-oss4 + make $jobArgs + + cd $sourceDir2 + cmake . + make $jobArgs +} + +INSTALL() +{ + cd $sourceDir + make install + + rm $libDir/gstreamer-1.0/*.la + + cd $sourceDir2 + cp -f libgsthaikuaudiosink.so $libDir/gstreamer-1.0 +}