gst-plugins-bad1: update to 1.16.0.

This commit is contained in:
Helmut Pozimski 2019-06-09 13:20:14 +02:00
parent 2ad8fcde1e
commit 0cc2b88bba
2 changed files with 37 additions and 15 deletions

View file

@ -0,0 +1,11 @@
--- meson.build 2019-06-09 12:56:31.309473261 +0200
+++ meson.build 2019-06-09 12:56:46.166649265 +0200
@@ -405,7 +405,7 @@
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()
gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \
'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \

View file

@ -1,12 +1,21 @@
# Template file for 'gst-plugins-bad1'
pkgname=gst-plugins-bad1
version=1.14.5
version=1.16.0
revision=1
wrksrc="${pkgname/1/}-${version}"
build_style=gnu-configure
configure_args="--enable-experimental --disable-static"
hostmakedepends="automake gettext-devel libtool pkg-config intltool python glib-devel
gobject-introspection"
build_helper="gir"
build_style=meson
configure_args="-Dpackage-origin=https://voidlinux.org -Dgtk_doc=false
-Dopencv=disabled -Dmsdk=disabled -Dopensles=disabled -Dtinyalsa=disabled
-Dwasapi=disabled -Dnvenc=disabled -Dnvdec=disabled -Ddc1394=disabled
-Diqa=disabled -Dkate=disabled -Dlibde265=disabled -Dmpeg2enc=disabled
-Dmplex=disabled -Dmusepack=disabled -Dofa=disabled -Dopenexr=disabled
-Dopenh264=disabled -Dopenmpt=disabled -Dopenni2=disabled -Dsctp=disabled
-Dsrt=disabled -Dteletext=disabled -Dvoaacenc=disabled -Dvoamrwbenc=disabled
-Dwildmidi=disabled -Dwpe=disabled
-Ddirectfb=disabled -Dintrospection=$(vopt_if gir enabled disabled)"
hostmakedepends="automake gettext-devel libtool pkg-config python glib-devel
orc"
makedepends="alsa-lib-devel celt-devel libressl-devel exempi-devel
gst-plugins-base1-devel libdca-devel orc-devel libmms-devel
libexif-devel libmpcdec-devel faac-devel SDL-devel libpng-devel
@ -14,23 +23,26 @@ makedepends="alsa-lib-devel celt-devel libressl-devel exempi-devel
xvidcore-devel jasper-devel libmodplug-devel neon-devel libcurl-devel
libvdpau-devel libgsm-devel librtmp-devel libass-devel libvpx-devel
soundtouch-devel opus-devel libwebp-devel wayland-devel x265-devel
libsrtp-devel libopenal-devel gtk+3-devel libnice-devel"
libsrtp-devel libopenal-devel gtk+3-devel libnice-devel libbluetooth-devel
libgudev-devel libusb-devel libaom-devel libbs2b-devel chromaprint-devel
fdk-aac-devel flite-devel fluidsynth-devel libgme-devel liblrdf-devel
ladspa-sdk lilv-devel lv2 libopenjpeg2-devel sbc-devel spandsp-devel
vulkan-loader Vulkan-Headers webrtc-audio-processing-devel libzbar-devel"
depends="gst-plugins-base1>=${version}"
short_desc="GStreamer plugins from the bad set (v1.x)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://gstreamer.freedesktop.org"
distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz"
checksum=44da47126349fde90aed6c5ed0915f3b43f1d8802cd827139eb15a1fff1c6ad2
lib32disabled=yes
checksum=22139de35626ada6090bdfa3423b27b7fc15a0198331d25c95e6b12cb1072b05
if [ "${CROSS_BUILD}" ]; then
configure_args+=" --enable-introspection=no"
fi
build_options="gir"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
gst-plugins-bad1-devel_package() {
depends="gst-plugins-base1-devel>=${version} ${sourcepkg}>=${version}_${revision}"
@ -39,7 +51,6 @@ gst-plugins-bad1-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/gtk-doc
if [ ! "${CROSS_BUILD}" ]; then
vmove "usr/share/gir*"
fi