summaryrefslogtreecommitdiff
path: root/libre/gst-plugins-bad/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gst-plugins-bad/PKGBUILD')
-rw-r--r--libre/gst-plugins-bad/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/gst-plugins-bad/PKGBUILD b/libre/gst-plugins-bad/PKGBUILD
index aa1e7c7c3..bd233a4af 100644
--- a/libre/gst-plugins-bad/PKGBUILD
+++ b/libre/gst-plugins-bad/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gst-plugins-bad
pkgver=1.6.2
-pkgrel=2.parabola1
+pkgrel=2.parabola2
pkgdesc="GStreamer Multimedia Framework Bad Plugins, without nonfree faac support"
arch=('i686' 'x86_64')
license=('LGPL')
@@ -29,11 +29,14 @@ prepare() {
build() {
cd $pkgname-$pkgver
+ # 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 \
--with-package-name="GStreamer Bad Plugins (Parabola GNU/Linux-libre)" \
--with-package-origin="https://www.parabola.nu/" \
- --with-gtk=3.0
+ --with-gtk=3.0 $extra
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool