From 842c6510e62129255c2d754598c0e1c5a2625b61 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 22 Nov 2015 12:05:36 +0000 Subject: [PATCH] gst_plugins_base: add recipe for version 0.10.36 --- .../gst_plugins_base-0.10.36.recipe | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe diff --git a/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe b/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe new file mode 100644 index 000000000..b4745c36f --- /dev/null +++ b/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe @@ -0,0 +1,103 @@ +SUMMARY="GStreamer Base Plug-ins" +DESCRIPTION="GStreamer Base Plug-ins is a well-groomed and well-maintained collection of + GStreamer plug-ins and elements, spanning the range of possible types of elements one + would want to write for GStreamer. It also contains helper libraries and base classes + useful for writing elements. A wide range of video and audio decoders, encoders, and + filters are included." +HOMEPAGE="http://gstreamer.freedesktop.org/" +COPYRIGHT="Erik Walthinsen" +LICENSE="GNU LGPL v2" +REVISION="1" +SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$portVersion.tar.xz" +CHECKSUM_SHA256="1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a" +SOURCE_DIR="gst-plugins-base-$portVersion" + +ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + gst_plugins_base${secondaryArchSuffix} = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix + lib:libgstreamer$secondaryArchSuffix + lib:libz$secondaryArchSuffix + lib:libxml2$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + lib:libtheoradec$secondaryArchSuffix + lib:libtheoraenc$secondaryArchSuffix + lib:libfreetype$secondaryArchSuffix + lib:libglib_2.0$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + " + +PROVIDES_devel=" + gst_plugins_base${secondaryArchSuffix}_devel = $portVersion + " + +REQUIRES_devel=" + gst_plugins_base${secondaryArchSuffix} + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libgstreamer$secondaryArchSuffix + devel:libfreetype$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix + devel:libz$secondaryArchSuffix + devel:libxml2$secondaryArchSuffix + devel:libtheora$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix + devel:libogg$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 + + prepareInstalledDevelLibs libgstvideo-0.10 libgsttag-0.10 libgstsdp-0.10 libgstrtsp-0.10 \ + libgstriff-0.10 libgstpbutils-0.10 libgstnetbuffer-0.10 libgstinterfaces-0.10 \ + libgstfft-0.10 libgstcdda-0.10 libgstaudio-0.10 libgstapp-0.10 + + fixPkgconfig + + cd $libDir + for i in lib*.so.0.25.*;do + ln -fs $i $(echo $i | cut -f1,2 -d.).so + done + + mv -f $developDir/headers/x86/gstreamer-0.10/gst $developDir/headers/x86/ + rm -rf $developDir/headers/x86/gstreamer-0.10 + + # devel package + packageEntries devel \ + $developDir +}