From 248702809167dc189886075141a9c79af3131c3a Mon Sep 17 00:00:00 2001 From: Isaac David Date: Fri, 18 Dec 2015 16:23:55 -0600 Subject: libre/gst-plugins-bad: fix armv7h build --- libre/gst-plugins-bad/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libre/gst-plugins-bad/PKGBUILD b/libre/gst-plugins-bad/PKGBUILD index aa1e7c7c3..9b54c0a64 100644 --- a/libre/gst-plugins-bad/PKGBUILD +++ b/libre/gst-plugins-bad/PKGBUILD @@ -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 -- cgit v1.2.3-2-g168b