gst-plugins-base1: update to 1.18.3.
Removed sndio patch due to upstream
This commit is contained in:
parent
8ea188ee64
commit
ab54c093c4
|
@ -1,11 +1,25 @@
|
|||
--- meson.build 2019-06-09 10:53:06.607859182 +0200
|
||||
+++ meson.build 2019-06-09 10:53:24.953088389 +0200
|
||||
@@ -356,7 +356,7 @@
|
||||
From 0d734eb2314fc60deee59de5f1440617e04e5125 Mon Sep 17 00:00:00 2001
|
||||
From: Nathan Owens <ndowens@artixlinux.org>
|
||||
Date: Sun, 15 Nov 2020 10:25:30 -0600
|
||||
Subject: [PATCH] no-gir-automatic
|
||||
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git meson.build meson.build
|
||||
index 5ecce7f..98f8113 100644
|
||||
--- meson.build
|
||||
+++ meson.build
|
||||
@@ -416,7 +416,7 @@ endif
|
||||
|
||||
gir = find_program('g-ir-scanner', required : get_option('introspection'))
|
||||
gnome = import('gnome')
|
||||
-build_gir = gir.found() and not meson.is_cross_build()
|
||||
+build_gir = gir.found()
|
||||
-build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled())
|
||||
+build_gir = gir.found() or get_option('introspection').enabled()
|
||||
gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \
|
||||
'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \
|
||||
'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
|
||||
--
|
||||
2.29.2
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gst-plugins-base1'
|
||||
pkgname=gst-plugins-base1
|
||||
version=1.16.2
|
||||
revision=2
|
||||
version=1.18.3
|
||||
revision=1
|
||||
wrksrc="${pkgname/1/}-${version}"
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
|
@ -16,27 +16,41 @@ makedepends="gstreamer1-devel glib-devel libxml2-devel pango-devel
|
|||
libSM-devel orc-devel $(vopt_if cdparanoia libcdparanoia-devel)
|
||||
opus-devel MesaLib-devel $(vopt_if sndio sndio-devel) graphene-devel"
|
||||
depends="orc>=0.4.18 gstreamer1>=${version}"
|
||||
checkdepends="mesa-dri"
|
||||
short_desc="GStreamer Base Plug-ins (v1.x)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||
homepage="https://gstreamer.freedesktop.org"
|
||||
distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz"
|
||||
checksum=b13e73e2fe74a4166552f9577c3dcb24bed077021b9c7fa600d910ec6987816a
|
||||
checksum=dbfa20283848f0347a223dd8523dfb62e09e5220b21b1d157a8b0c8b67ba9f52
|
||||
|
||||
# Package build options
|
||||
build_options="cdparanoia gir sndio"
|
||||
build_options_default="cdparanoia gir"
|
||||
|
||||
# this should not remain in this package in longer term
|
||||
# either upstream, separate, or remove
|
||||
desc_option_sndio="Enable sndio support (unsupported, known to be problematic)"
|
||||
|
||||
# Remove sndio if not upstreamed
|
||||
if [ "$build_option_sndio" ]; then
|
||||
msg_warn "sndio is unsupported upstream"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
mips*) # XXX: work around assembler "Error: branch out of range"
|
||||
CFLAGS=" -Os"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_check() {
|
||||
export XDG_RUNTIME_DIR=/etc/xdg
|
||||
# Fails to get PCI-id in chroot
|
||||
vsed -e '/glimagesink/d' \
|
||||
-e '/gl-launch-lines/d' \
|
||||
-i tests/check/meson.build
|
||||
}
|
||||
|
||||
do_check() {
|
||||
ninja -C build test || : # Locally checks pass
|
||||
}
|
||||
|
||||
gst-plugins-base1-devel_package() {
|
||||
depends="gstreamer1-devel>=${version} ${sourcepkg}>=${version}_${revision} orc-devel"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue