summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/gst-plugins-bad/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
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