summaryrefslogtreecommitdiff
path: root/libre/gst-plugins-bad/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-13 02:01:11 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-13 02:01:11 -0300
commitecbbd8eedc5ad1ba2d81be3c4b4c82703772b315 (patch)
tree6bd2f0e3d5dd7535f633b5109f5e7d5a59126594 /libre/gst-plugins-bad/PKGBUILD
parenta5d40a79dc6a7e941fb3741c8b397d2ed45603a7 (diff)
gst-plugins-bad-1.9.90+20+g7dd42ae-1.parabola1: updating version
Diffstat (limited to 'libre/gst-plugins-bad/PKGBUILD')
-rw-r--r--libre/gst-plugins-bad/PKGBUILD56
1 files changed, 33 insertions, 23 deletions
diff --git a/libre/gst-plugins-bad/PKGBUILD b/libre/gst-plugins-bad/PKGBUILD
index 121eabbac..93d8daacc 100644
--- a/libre/gst-plugins-bad/PKGBUILD
+++ b/libre/gst-plugins-bad/PKGBUILD
@@ -1,47 +1,57 @@
-# $Id: PKGBUILD 277287 2016-09-29 19:37:59Z alucryd $
+# $Id: PKGBUILD 278157 2016-10-10 11:44:54Z heftig $
# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor (Arch): Jan de Groot <jgc@archlinux.org>
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=gst-plugins-bad
-pkgver=1.8.3
-pkgrel=2.parabola1
+pkgver=1.9.90+20+g7dd42ae
+pkgrel=1.parabola1
pkgdesc="GStreamer Multimedia Framework Bad Plugins, without nonfree faac support"
+url="https://gstreamer.freedesktop.org/"
arch=(i686 x86_64 armv7h)
license=(LGPL)
-url="http://gstreamer.freedesktop.org/"
-depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 celt libdca
- soundtouch spandsp libdvdnav libmodplug libgme wayland neon libofa fluidsynth
- openjpeg2 libwebp libsrtp gnutls wildmidi glu sbc rtmpdump libgudev graphene)
+depends=(mjpegtools gst-plugins-base-libs curl chromaprint libmms faad2 celt libdca libdvdnav
+ libmodplug libgme wayland libofa openjpeg2 libwebp libsrtp gnutls glu sbc rtmpdump
+ libgudev graphene)
makedepends=(schroedinger libexif libdvdread libvdpau libmpeg2 python valgrind wildmidi librsvg
gobject-introspection gtk-doc gtk3 clutter libtiger ladspa openal libusb
- qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader
- zbar)
+ qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader zbar
+ autoconf-archive git libfdk-aac soundtouch spandsp fluidsynth neon)
replaces=("${pkgname}-libre" "${pkgname}-parabola")
conflicts=("${pkgname}-libre" "${pkgname}-parabola")
options=(!emptydirs)
-source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz
- wildmidi-0.4.patch)
-sha256sums=('7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b'
- 'b234c5d1a8b33342d9f807a46c26623e21f3d1b33a9b2903a41fadd53e0cac47')
+_commit=7dd42aee5b7dd0a83acfeae28aea3e8b723e1aa2 # master
+source=("git://anongit.freedesktop.org/gstreamer/gst-plugins-bad#commit=$_commit"
+ "gst-common::git://anongit.freedesktop.org/gstreamer/common")
+sha256sums=('SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i ../wildmidi-0.4.patch
- autoreconf -vi
+ cd $pkgname
+
+ git submodule init
+ git config --local submodule.common.url "$srcdir/gst-common"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
# disable GL and GLX on armv7h
[[ "$CARCH" = "armv7h" ]] && extra="--disable-gl --disable-glx --enable-gles2"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --enable-experimental --enable-gtk-doc \
+ ./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 $extra
+ --with-gtk=3.0 \
+ --enable-experimental --enable-gtk-doc --disable-static $extra
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -50,12 +60,12 @@ build() {
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
# don't have a camera for the camerabin test
make -k check || :
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="${pkgdir}" install
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
}