summaryrefslogtreecommitdiff
path: root/libre/gst-plugins-bad/PKGBUILD
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2015-12-18 16:23:55 -0600
committerIsaac David <isacdaavid@isacdaavid.info>2015-12-18 16:23:55 -0600
commit248702809167dc189886075141a9c79af3131c3a (patch)
tree755823665f2a8316a22dd6f24e59c73178e6f044 /libre/gst-plugins-bad/PKGBUILD
parent60f675ec41969618f93eac279fe9760321b6654a (diff)
downloadabslibre-248702809167dc189886075141a9c79af3131c3a.tar.gz
abslibre-248702809167dc189886075141a9c79af3131c3a.tar.bz2
abslibre-248702809167dc189886075141a9c79af3131c3a.zip
libre/gst-plugins-bad: fix armv7h build
Diffstat (limited to 'libre/gst-plugins-bad/PKGBUILD')
-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