mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
gstreamer: bump version
This commit is contained in:
@@ -7,7 +7,7 @@ COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="0e8e2f7118be437cba879353970cf83c2acced825ecb9275ba05d9186ef07c00"
|
||||
CHECKSUM_SHA256="02211c3447c4daa55919c5c0f43a82a6fbb51740d57fc3af0639d46f1cf4377d"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -18,10 +18,10 @@ PROVIDES="
|
||||
cmd:gst_launch_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_stats_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_typefind_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbase_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
lib:libgstcontroller_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
lib:libgstnet_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
lib:libgstbase_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
lib:libgstcontroller_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
lib:libgstnet_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -34,10 +34,10 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
gstreamer${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgstbase_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
devel:libgstcontroller_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
devel:libgstnet_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix = 0.1600.0 compat >= 0
|
||||
devel:libgstbase_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
devel:libgstcontroller_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
devel:libgstnet_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix = 0.1601.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gstreamer$secondaryArchSuffix == $portVersion base
|
||||
@@ -62,15 +62,21 @@ BUILD_PREREQUIRES="
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:python3
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --disable-gst-debug --disable-debug \
|
||||
--disable-tests --disable-failing-tests --disable-check \
|
||||
--disable-examples --disable-nls LIBS=-lnetwork
|
||||
runConfigure ./configure \
|
||||
--disable-gst-debug \
|
||||
--disable-debug \
|
||||
--disable-tests \
|
||||
--disable-failing-tests \
|
||||
--disable-check \
|
||||
--disable-examples \
|
||||
--disable-nls \
|
||||
LIBS=-lnetwork
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
From 9354555b5efaf99bf51b2b0d999fb9d9595cdefe Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 21 Apr 2018 00:03:41 +1000
|
||||
Subject: Fix buffer for filesrc coreelement
|
||||
|
||||
|
||||
diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c
|
||||
index 58ae8d1..b8fb579 100644
|
||||
--- a/plugins/elements/gstfilesink.c
|
||||
+++ b/plugins/elements/gstfilesink.c
|
||||
@@ -395,7 +395,7 @@ gst_file_sink_open_file (GstFileSink * sink)
|
||||
buffer_size = sink->buffer_size;
|
||||
}
|
||||
/* Cygwin does not have __fbufsize, android adds it in API 23 */
|
||||
-#if defined(HAVE_STDIO_EXT_H) && (!defined(__CYGWIN__) && (!defined(__ANDROID_API__) || __ANDROID_API__ >= 23))
|
||||
+#if defined(HAVE_STDIO_EXT_H) && (!defined(__CYGWIN__) && (!defined(__ANDROID_API__) || __ANDROID_API__ >= 23) && !defined(__HAIKU__))
|
||||
GST_DEBUG_OBJECT (sink, "change buffer size %u to %u, mode %d",
|
||||
(guint) __fbufsize (sink->file), buffer_size, mode);
|
||||
#else
|
||||
--
|
||||
2.16.2
|
||||
|
||||
Reference in New Issue
Block a user