mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
gstreamer: bump version
This commit is contained in:
@@ -7,7 +7,8 @@ COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="55862232a63459bbf56abebde3085ca9aec211b478e891dacea4d6df8cafe80a"
|
||||
CHECKSUM_SHA256="67c1edf8c3c339cda5dde85f4f7b953bb9607c2d13ae970e2491c5c4c055ef5f"
|
||||
PATCHES="gstreamer-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -19,11 +20,11 @@ PROVIDES="
|
||||
cmd:gst_stats_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_tester_1.0$secondaryArchSuffix = $portVersion
|
||||
cmd:gst_typefind_1.0$secondaryArchSuffix = $portVersion
|
||||
lib:libgstbase_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
lib:libgstcheck_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
lib:libgstcontroller_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
lib:libgstnet_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
lib:libgstbase_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
lib:libgstcheck_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
lib:libgstcontroller_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
lib:libgstnet_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -36,11 +37,11 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
gstreamer${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgstbase_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
devel:libgstcheck_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
devel:libgstcontroller_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
devel:libgstnet_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix = 0.1805.0 compat >= 0
|
||||
devel:libgstbase_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
devel:libgstcheck_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
devel:libgstcontroller_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
devel:libgstnet_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix = 0.2004.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
gstreamer$secondaryArchSuffix == $portVersion base
|
||||
28
media-libs/gstreamer/patches/gstreamer-1.20.4.patchset
Normal file
28
media-libs/gstreamer/patches/gstreamer-1.20.4.patchset
Normal file
@@ -0,0 +1,28 @@
|
||||
From f6b247bb72d99c8f8533cab6569cada1fd2f0591 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Thu, 10 Nov 2022 15:35:14 +1000
|
||||
Subject: Disable pthread_setname_np for Haiku
|
||||
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index d312f2b..d2f194e 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -279,12 +279,14 @@ if cc.has_function('localtime_r', prefix : '#include<time.h>')
|
||||
cdata.set('HAVE_DECL_LOCALTIME_R', 1)
|
||||
endif
|
||||
|
||||
+if host_system != 'haiku'
|
||||
if cc.links('''#include <pthread.h>
|
||||
int main() {
|
||||
pthread_setname_np("example"); return 0;
|
||||
}''', name : 'pthread_setname_np(const char*)')
|
||||
cdata.set('HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID', 1)
|
||||
endif
|
||||
+endif
|
||||
if cc.has_header_symbol('pthread.h', 'pthread_condattr_setclock')
|
||||
cdata.set('HAVE_PTHREAD_CONDATTR_SETCLOCK', 1)
|
||||
endif
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user