diff options
Diffstat (limited to 'libre/gst-plugins-bad')
-rw-r--r-- | libre/gst-plugins-bad/PKGBUILD | 77 |
1 files changed, 37 insertions, 40 deletions
diff --git a/libre/gst-plugins-bad/PKGBUILD b/libre/gst-plugins-bad/PKGBUILD index 4f3d900e5..a7e62dbd2 100644 --- a/libre/gst-plugins-bad/PKGBUILD +++ b/libre/gst-plugins-bad/PKGBUILD @@ -5,8 +5,8 @@ # Contributor: Márcio Silva <coadde@hyperbola.info> pkgname=gst-plugins-bad -pkgver=1.14.4 -pkgrel=8 +pkgver=1.16.0 +pkgrel=1 pkgrel+=.par1 pkgdesc="GStreamer Multimedia Framework Bad Plugins" pkgdesc+=", without nonfree faac support" @@ -18,14 +18,15 @@ depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 celt lib libmodplug libgme wayland libofa openjpeg2 libwebp libsrtp gnutls sbc rtmpdump libgudev libexif libdvdread libvdpau libmpeg2 wildmidi ladspa openal libusb vulkan-icd-loader libfdk-aac soundtouch spandsp neon webrtc-audio-processing libdc1394 libmpcdec zvbi - openexr libbs2b libnice lcms2 bluez-libs glu srt aom x265) -makedepends=(python gtk-doc autoconf-archive git gobject-introspection gtk3 vulkan-headers - vulkan-validation-layers librsvg libtiger zbar fluidsynth lilv) + openexr libbs2b libnice lcms2 bluez-libs glu srt aom x265 liblrdf libde265 + gst-plugins-good) +makedepends=(python gtk-doc git gobject-introspection gtk3 vulkan-headers vulkan-validation-layers + librsvg libtiger zbar fluidsynth lilv meson) replaces=("${pkgname}-libre" "${pkgname}-parabola") conflicts=("${pkgname}-libre" "${pkgname}-parabola") -_commit=566e4ecc223b18fce8bd932f5e4885f41f746dd4 # tags/1.14.4^0 -source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-plugins-bad#commit=$_commit" - 'gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common') +_commit=5fde70bb63a1cbf6f734fb2429e74ffb53126217 # tags/1.16.0^0 +source=("git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git#commit=$_commit" + 'gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git') sha256sums=('SKIP' 'SKIP') @@ -37,11 +38,6 @@ pkgver() { prepare() { cd $pkgname - # libfdk-aac 2.0.0 - git cherry-pick -n \ - f4fdb9770c76113f38515245fecc5f11b3ace20d \ - 19d34f6b5e1633d5ec4bb2832c58470f0c829cab - git submodule init git config --local submodule.common.url "$srcdir/gst-common" git submodule update @@ -50,37 +46,38 @@ prepare() { } build() { - cd $pkgname - - case "$CARCH" in - i686|x86_64) extra="--enable-gtk-doc" ;; - arm*|aarch64) extra="" ;; - *) extra="" ;; - esac - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --with-package-name="GStreamer Bad Plugins (Parabola GNU/Linux-libre)" \ - --with-package-origin="https://www.parabola.nu/" \ - --with-gtk=3.0 \ - --enable-experimental \ - --disable-static \ - $extra - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make + arch-meson $pkgname build \ + -D directfb=disabled \ + -D faac=disabled \ + -D flite=disabled \ + -D gsm=disabled \ + -D iqa=disabled \ + -D msdk=disabled \ + -D nvdec=disabled \ + -D nvenc=disabled \ + -D opencv=disabled \ + -D openh264=disabled \ + -D openmpt=disabled \ + -D openni2=disabled \ + -D opensles=disabled \ + -D sctp=disabled \ + -D tinyalsa=disabled \ + -D voaacenc=disabled \ + -D voamrwbenc=disabled \ + -D wasapi=disabled \ + -D wpe=disabled \ + -D gobject-cast-checks=disabled \ + -D glib-asserts=disabled \ + -D glib-checks=disabled \ + -D package-name="GStreamer Bad Plugins (Parabola GNU/Linux-libre)" \ + -D package-origin="https://www.parabola.nu/" + ninja -C build } check() { - cd $pkgname - # bad tests are bad - #make -k check || : + meson test -C build --print-errorlogs } package() { - cd $pkgname - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build } |