From 823fc3c55fce12b0aa8120327995e409c65a3de4 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 22 Nov 2015 12:08:15 +0000 Subject: [PATCH] gst_plugins_ugly: add recipe for version 0.10.19 --- .../gst_plugins_ugly-0.10.19.recipe | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe diff --git a/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe b/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe new file mode 100644 index 000000000..2968e04aa --- /dev/null +++ b/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe @@ -0,0 +1,84 @@ +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="http://gstreamer.freedesktop.org/" +COPYRIGHT="Erik Walthinsen" +LICENSE="GNU LGPL v2" +REVISION="1" +SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$portVersion.tar.xz" +CHECKSUM_SHA256="4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873" +SOURCE_DIR="gst-plugins-ugly-$portVersion" + +ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + gst_plugins_ugly${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:libcurl$secondaryArchSuffix + lib:liba52$secondaryArchSuffix + lib:libmad$secondaryArchSuffix + lib:libtwolame$secondaryArchSuffix + lib:libmp3lame$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + gst_plugins_base${secondaryArchSuffix}_devel + devel:libgstreamer$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libpng$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix + devel:libz$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libcurl$secondaryArchSuffix + devel:liba52$secondaryArchSuffix + devel:libmad$secondaryArchSuffix + devel:libtwolame$secondaryArchSuffix + devel:libmp3lame$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtool + cmd:aclocal + cmd:autoconf + cmd:libtoolize + cmd:make + cmd:grep + cmd:bison + cmd:flex + cmd:python + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ + 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 +}