diff --git a/media-libs/gst_plugins_ugly/gst_plugins_ugly-1.12.0.recipe b/media-libs/gst_plugins_ugly/gst_plugins_ugly-1.12.0.recipe new file mode 100644 index 000000000..16970856f --- /dev/null +++ b/media-libs/gst_plugins_ugly/gst_plugins_ugly-1.12.0.recipe @@ -0,0 +1,87 @@ +SUMMARY="GStreamer Ugly Plug-ins" +DESCRIPTION="GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and \ +correct functionality, but distributing them might pose problems. The license on \ +either the plug-ins or the supporting libraries might not be how we'd like. The \ +code might be widely known to present patent problems." +HOMEPAGE="https://gstreamer.freedesktop.org/" +COPYRIGHT="Erik Walthinsen" +LICENSE="GNU LGPL v2" +REVISION="1" +SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$portVersion.tar.xz" +CHECKSUM_SHA256="5e68ba5046e83ee87b17d7a13931e6091466fd771e1338c5b929ee0944d40ad6" +SOURCE_DIR="gst-plugins-ugly-$portVersion" + +ARCHITECTURES="!x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + gst_plugins_ugly_1.0$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + gst_plugins_base_1.0$secondaryArchSuffix + lib:liba52$secondaryArchSuffix + lib:libcurl$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + lib:libgstreamer_1.0$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:libmp3lame$secondaryArchSuffix + lib:libmpg123$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix + lib:libpng16$secondaryArchSuffix + lib:libtwolame$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + gst_plugins_base_1.0${secondaryArchSuffix}_devel + devel:liba52$secondaryArchSuffix + devel:libcurl$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix + devel:libgstreamer_1.0$secondaryArchSuffix + devel:libiconv$secondaryArchSuffix + devel:libintl$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libmp3lame$secondaryArchSuffix + devel:libmpg123$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix + devel:libpng16$secondaryArchSuffix + devel:libtwolame$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:bison + 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 -enable-orc + make $jobArgs +} + +INSTALL() +{ + make install + rm $libDir/gstreamer-1.0/*.la +}