gstreamer: drop 0.10 version

This commit is contained in:
Gerasim Troeglazov
2017-07-18 21:51:06 +10:00
parent ca4a9506a2
commit b38c9279b6
10 changed files with 0 additions and 781 deletions

View File

@@ -1,72 +0,0 @@
SUMMARY="FFmpeg based gstreamer plugin"
DESCRIPTION="GStreamer FFmpeg plug-in contains one plugin with a set of elements using the \
FFmpeg library code. It contains most popular decoders as well as very fast colorspace \
conversion elements."
HOMEPAGE="http://gstreamer.freedesktop.org/"
COPYRIGHT="Erik Walthinsen"
LICENSE="GNU LGPL v2"
REVISION="3"
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$portVersion.tar.gz"
CHECKSUM_SHA256="ed9cc4375100c80ce56540ac1c30b8712a94d0cb97ba33dd52dd6203cd554729"
SOURCE_DIR="gst-ffmpeg-$portVersion"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gst_ffmpeg_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
gst_plugins_base_0.10${secondaryArchSuffix}
lib:libgstreamer_0.10$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:liborc_0.4$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
gst_plugins_base_0.10${secondaryArchSuffix}_devel
devel:libgstreamer_0.10$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:liborc_0.4$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:grep
cmd:bison
cmd:flex
cmd:python
cmd:orcc
cmd:which
"
BUILD()
{
runConfigure ./configure --disable-examples --disable-debug --disable-nls \
--with-ffmpeg-extra-configure=--disable-mmx
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,127 +0,0 @@
SUMMARY="GStreamer Bad Plug-ins"
DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the \
rest. They might be close to being good quality, but they're missing something - be it a good \
code review, some documentation, a set of tests, a real live maintainer, or some actual wide use."
HOMEPAGE="http://gstreamer.freedesktop.org/"
COPYRIGHT="Erik Walthinsen"
LICENSE="GNU LGPL v2"
REVISION="4"
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$portVersion.tar.xz"
CHECKSUM_SHA256="03cf0786391c64625569072e904082a08861f05a63d64b2f8e8dad3f26d81bf9"
SOURCE_DIR="gst-plugins-bad-$portVersion"
PATCHES="gstpluginsbad-0.10.23.patchset"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gst_plugins_bad_0.10$secondaryArchSuffix = $portVersion
lib:libgstbasecamerabinsrc_0.10$secondaryArchSuffix = $portVersion
lib:libgstbasevideo_0.10$secondaryArchSuffix = $portVersion
lib:libgstcodecparsers_0.10$secondaryArchSuffix = $portVersion
lib:libgstphotography_0.10$secondaryArchSuffix = $portVersion
lib:libgstsignalprocessor_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
gst_plugins_base_0.10$secondaryArchSuffix
lib:libgstreamer_0.10$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libfaad$secondaryArchSuffix
# lib:libmodplug$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
# lib:libopenal$secondaryArchSuffix
lib:liborc_0.4$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
"
PROVIDES_devel="
gst_plugins_bad_0.10${secondaryArchSuffix}_devel = $portVersion
devel:libgstbasecamerabinsrc_0.10$secondaryArchSuffix = $portVersion
devel:libgstbasevideo_0.10$secondaryArchSuffix = $portVersion
devel:libgstcodecparsers_0.10$secondaryArchSuffix = $portVersion
devel:libgstphotography_0.10$secondaryArchSuffix = $portVersion
devel:libgstsignalprocessor_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
haiku$secondaryArchSuffix
gst_plugins_bad_0.10${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
gst_plugins_base_0.10${secondaryArchSuffix}_devel
devel:libgstreamer_0.10$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libfaad$secondaryArchSuffix
# devel:libmodplug$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
# devel:libopenal$secondaryArchSuffix
devel:liborc_0.4$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:grep
cmd:bison
cmd:flex
cmd:python
cmd:orcc
cmd:which
"
BUILD()
{
runConfigure ./configure --disable-examples --disable-debug \
--enable-orc --enable-glib-asserts=no --disable-nls \
--with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libgstsignalprocessor-0.10 libgstphotography-0.10 \
libgstcodecparsers-0.10 libgstbasevideo-0.10 libgstbasecamerabinsrc-0.10
fixPkgconfig
cd $libDir
for i in lib*.so.23.0.*;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
}

View File

@@ -1,50 +0,0 @@
From 55abc0687e2b9e83daf1d48cf90411343a2f4b32 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Tue, 3 Nov 2015 00:17:55 +0000
Subject: Fix build
diff --git a/gst/dccp/gstdccp.c b/gst/dccp/gstdccp.c
index af652f2..8c45920 100644
--- a/gst/dccp/gstdccp.c
+++ b/gst/dccp/gstdccp.c
@@ -27,6 +27,10 @@
#include <sys/filio.h>
#endif
+#ifdef __HAIKU__
+#include <sys/select.h>
+#endif
+
/*
* Resolves host to IP address
* @param element - the element
--
2.7.0
From 8d9f96a49f10769704c4533e392a07fd80ab1160 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 10 Jun 2017 23:38:34 +1000
Subject: Increase sdl audio and video sink priority
diff --git a/ext/sdl/gstsdl.c b/ext/sdl/gstsdl.c
index 9910d10..645600f 100644
--- a/ext/sdl/gstsdl.c
+++ b/ext/sdl/gstsdl.c
@@ -26,9 +26,9 @@ static gboolean
plugin_init (GstPlugin * plugin)
{
- if (!gst_element_register (plugin, "sdlvideosink", GST_RANK_NONE,
+ if (!gst_element_register (plugin, "sdlvideosink", GST_RANK_SECONDARY,
GST_TYPE_SDLVIDEOSINK) ||
- !gst_element_register (plugin, "sdlaudiosink", GST_RANK_NONE,
+ !gst_element_register (plugin, "sdlaudiosink", GST_RANK_SECONDARY,
GST_TYPE_SDLAUDIOSINK)) {
return FALSE;
}
--
2.7.0

View File

@@ -1,131 +0,0 @@
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="4"
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"
PATCHES="gst_plugins_base_$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gst_plugins_base_0.10$secondaryArchSuffix = $portVersion
cmd:gst_discoverer_0.10$secondaryArchSuffix = $portVersion
cmd:gst_visualise_0.10$secondaryArchSuffix = $portVersion
lib:libgstapp_0.10$secondaryArchSuffix = $portVersion
lib:libgstaudio_0.10$secondaryArchSuffix = $portVersion
lib:libgstcdda_0.10$secondaryArchSuffix = $portVersion
lib:libgstinterfaces_0.10$secondaryArchSuffix = $portVersion
lib:libgstnetbuffer_0.10$secondaryArchSuffix = $portVersion
lib:libgstpbutils_0.10$secondaryArchSuffix = $portVersion
lib:libgstriff_0.10$secondaryArchSuffix = $portVersion
lib:libgstrtp_0.10$secondaryArchSuffix = $portVersion
lib:libgstrtsp_0.10$secondaryArchSuffix = $portVersion
lib:libgstsdp_0.10$secondaryArchSuffix = $portVersion
lib:libgsttag_0.10$secondaryArchSuffix = $portVersion
lib:libgstfft_0.10$secondaryArchSuffix = $portVersion
lib:libgstvideo_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgstreamer_0.10$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
lib:liborc_0.4$secondaryArchSuffix
"
PROVIDES_devel="
gst_plugins_base_0.10${secondaryArchSuffix}_devel = $portVersion
devel:libgstapp_0.10$secondaryArchSuffix = $portVersion
devel:libgstaudio_0.10$secondaryArchSuffix = $portVersion
devel:libgstcdda_0.10$secondaryArchSuffix = $portVersion
devel:libgstinterfaces_0.10$secondaryArchSuffix = $portVersion
devel:libgstnetbuffer_0.10$secondaryArchSuffix = $portVersion
devel:libgstpbutils_0.10$secondaryArchSuffix = $portVersion
devel:libgstriff_0.10$secondaryArchSuffix = $portVersion
devel:libgstrtp_0.10$secondaryArchSuffix = $portVersion
devel:libgstrtsp_0.10$secondaryArchSuffix = $portVersion
devel:libgstsdp_0.10$secondaryArchSuffix = $portVersion
devel:libgsttag_0.10$secondaryArchSuffix = $portVersion
devel:libgstfft_0.10$secondaryArchSuffix = $portVersion
devel:libgstvideo_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
gst_plugins_base_0.10${secondaryArchSuffix}
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libgstreamer_0.10$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libtheora$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:liborc_0.4$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:grep
cmd:bison
cmd:flex
cmd:python
cmd:orcc
cmd:which
"
BUILD()
{
runConfigure ./configure --disable-examples --disable-debug --disable-nls \
--with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink \
--with-audioresample-format=int --enable-orc
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 libgstrtp-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
}

View File

@@ -1,38 +0,0 @@
From ac490e61a42863d1018d9e7f00013c7fcd3ba1cc Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Tue, 30 May 2017 20:11:04 +1000
Subject: Disable SSE for Haiku
diff --git a/gst/audioresample/speex_resampler_double.c b/gst/audioresample/speex_resampler_double.c
index ef2503d..e350218 100644
--- a/gst/audioresample/speex_resampler_double.c
+++ b/gst/audioresample/speex_resampler_double.c
@@ -17,7 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef __HAIKU__
#define _USE_SSE2
+#endif
#define FLOATING_POINT
#define DOUBLE_PRECISION
#define OUTSIDE_SPEEX
diff --git a/gst/audioresample/speex_resampler_float.c b/gst/audioresample/speex_resampler_float.c
index ef3df15..836b854 100644
--- a/gst/audioresample/speex_resampler_float.c
+++ b/gst/audioresample/speex_resampler_float.c
@@ -17,8 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef __HAIKU__
#define _USE_SSE
#define _USE_SSE2
+#endif
#define FLOATING_POINT
#define OUTSIDE_SPEEX
#define RANDOM_PREFIX resample_float
--
2.7.0

View File

@@ -1,104 +0,0 @@
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="http://gstreamer.freedesktop.org/"
COPYRIGHT="Erik Walthinsen"
LICENSE="GNU LGPL v2"
REVISION="4"
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$portVersion.tar.xz"
CHECKSUM_SHA256="77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64"
SOURCE_DIR="gst-plugins-good-$portVersion"
PATCHES="gstpluginsgood-0.10.31.patchset"
gitCommit="3fbaef80ec6946d1635dd88be858b8015d25f4c1"
SOURCE_URI_2="https://github.com/threedeyes/gsthaikuaudiosink/archive/$gitCommit.zip"
CHECKSUM_SHA256_2="a7fc9159033ab430f80374a3ce1a2679f4bbfe7225c421d371f19ed6e06875dd"
SOURCE_DIR_2="gsthaikuaudiosink-$gitCommit"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gst_plugins_good_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
gst_plugins_base_0.10$secondaryArchSuffix
lib:libgstreamer_0.10$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libtag$secondaryArchSuffix
lib:libspeex$secondaryArchSuffix
lib:libflac$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libsoup$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
lib:liborc_0.4$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
gst_plugins_base_0.10${secondaryArchSuffix}_devel
devel:libgstreamer_0.10$secondaryArchSuffix
devel:libtag$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libspeex$secondaryArchSuffix
devel:libflac$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libsoup$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
devel:liborc_0.4$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:cmake
cmd:grep
cmd:bison
cmd:flex
cmd:python
cmd:orcc
cmd:which
"
BUILD()
{
cd $sourceDir
runConfigure ./configure --disable-examples --disable-debug --disable-nls \
--disable-oss --disable-oss4 \
--with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink
make $jobArgs
cd $sourceDir2
cmake .
make $jobArgs
}
INSTALL()
{
cd $sourceDir
make install
cd $sourceDir2
cp -f libgsthaikuaudiosink.so $libDir/gstreamer-0.10
}

View File

@@ -1,22 +0,0 @@
From 525b5b0df4d57d206394b63b56eb65d0b8a7b62b Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 2 Nov 2015 23:57:18 +0000
Subject: Fix build
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index 3377df2..d241121 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -419,7 +419,7 @@ gst_udpsrc_create (GstPushSrc * psrc, GstBuffer ** buf)
socklen_t slen;
guint8 *pktdata;
gint pktsize;
-#ifdef G_OS_UNIX
+#if defined(G_OS_UNIX) || defined(__HAIKU__)
gint readsize;
#elif defined G_OS_WIN32
gulong readsize;
--
2.2.2

View File

@@ -1,84 +0,0 @@
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="4"
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_0.10${secondaryArchSuffix} = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
gst_plugins_base_0.10${secondaryArchSuffix}
lib:libgstreamer_0.10$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libpng16$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
lib:liborc_0.4$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
gst_plugins_base_0.10${secondaryArchSuffix}_devel
devel:libgstreamer_0.10$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libpng16$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
devel:liborc_0.4$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:grep
cmd:bison
cmd:flex
cmd:python
cmd:orcc
cmd:which
"
BUILD()
{
runConfigure ./configure --disable-examples --disable-debug \
--enable-orc --enable-glib-asserts=no --disable-nls \
--with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -1,109 +0,0 @@
SUMMARY="Open source multimedia framework"
DESCRIPTION="GStreamer is a library for constructing graphs of media-handling components. \
The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming \
to complex audio (mixing) and video (non-linear editing) processing."
HOMEPAGE="http://gstreamer.freedesktop.org/"
COPYRIGHT="Erik Walthinsen"
LICENSE="GNU LGPL v2"
REVISION="4"
SOURCE_URI="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$portVersion.tar.xz"
CHECKSUM_SHA256="9151aa108c177054387885763fa0e433e76780f7c5655c70a5390f2a6c6871da"
PATCHES="gstreamer-0.10.36.patchset"
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gstreamer_0.10$secondaryArchSuffix = $portVersion
lib:libgstreamer_0.10$secondaryArchSuffix = $portVersion
lib:libgstbase_0.10$secondaryArchSuffix = $portVersion
lib:libgstcontroller_0.10$secondaryArchSuffix = $portVersion
lib:libgstdataprotocol_0.10$secondaryArchSuffix = $portVersion
lib:libgstnet_0.10$secondaryArchSuffix = $portVersion
cmd:gst_feedback_0.10$secondaryArchSuffix = $portVersion
cmd:gst_feedback$secondaryArchSuffix = $portVersion
cmd:gst_inspect_0.10$secondaryArchSuffix = $portVersion
cmd:gst_inspect$secondaryArchSuffix = $portVersion
cmd:gst_launch_0.10$secondaryArchSuffix = $portVersion
cmd:gst_launch$secondaryArchSuffix = $portVersion
cmd:gst_typefind_0.10$secondaryArchSuffix = $portVersion
cmd:gst_typefind$secondaryArchSuffix = $portVersion
cmd:gst_xmlinspect_0.10$secondaryArchSuffix = $portVersion
cmd:gst_xmlinspect$secondaryArchSuffix = $portVersion
cmd:gst_xmllaunch_0.10$secondaryArchSuffix = $portVersion
cmd:gst_xmllaunch$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:liborc_0.4$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
PROVIDES_devel="
gstreamer_0.10${secondaryArchSuffix}_devel = $portVersion
devel:libgstreamer_0.10$secondaryArchSuffix = $portVersion
devel:libgstbase_0.10$secondaryArchSuffix = $portVersion
devel:libgstcontroller_0.10$secondaryArchSuffix = $portVersion
devel:libgstdataprotocol_0.10$secondaryArchSuffix = $portVersion
devel:libgstnet_0.10$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
gstreamer_0.10$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:liborc_0.4$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:grep
cmd:bison
cmd:flex
cmd:python
cmd:orcc
cmd:which
"
BUILD()
{
runConfigure ./configure --disable-examples --disable-gst-debug \
--disable-check --disable-debug --disable-nls --disable-tests \
--disable-alloc-trace --disable-trace --disable-failing-tests
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libgstreamer-0.10 libgstbase-0.10 \
libgstcontroller-0.10 libgstdataprotocol-0.10 libgstnet-0.10
fixPkgconfig
cd $libDir
for i in lib*.so.0.30.*;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
}

View File

@@ -1,44 +0,0 @@
From db0e6d10e7b4bb51127a6c53db13a3c55da74a34 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 2 Nov 2015 22:39:22 +0000
Subject: Fix buffer for filesrc coreelement
diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c
index 9356c0f..ffd4479 100644
--- a/plugins/elements/gstfilesink.c
+++ b/plugins/elements/gstfilesink.c
@@ -398,7 +398,7 @@ gst_file_sink_open_file (GstFileSink * sink)
sink->buffer = g_malloc (sink->buffer_size);
buffer_size = sink->buffer_size;
}
-#ifdef HAVE_STDIO_EXT_H
+#if defined(HAVE_STDIO_EXT_H) && !defined(__HAIKU__)
GST_DEBUG_OBJECT (sink, "change buffer size %u to %u, mode %d",
(guint) __fbufsize (sink->file), buffer_size, mode);
#else
--
2.7.0
From c96dfffed62297fb977629b73aa56b867ae645f2 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 2 Jun 2017 23:09:44 +1000
Subject: Fix for bison3
diff --git a/gst/parse/Makefile.in b/gst/parse/Makefile.in
index 38f56a7..4b4faa7 100644
--- a/gst/parse/Makefile.in
+++ b/gst/parse/Makefile.in
@@ -737,6 +737,7 @@ grammar.tab.c grammar.tab.h: grammar.y
cat grammar.tab_tmp.c >> grammar.tab_tmp2.c && \
rm grammar.tab_tmp.c && \
mv grammar.tab_tmp2.c grammar.tab.c
+ sed -i '/yychar = yylex/s/yylval/yylval, scanner/g' grammar.tab.c
lex.priv_gst_parse_yy.c: parse.l grammar.tab.h
$(AM_V_GEN)$(FLEX_PATH) -Ppriv_gst_parse_yy $^ && \
--
2.7.0