From ab35c6456fb1af1050c24bac5e769f33e333dc3b Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 28 Jan 2018 19:07:30 +0100 Subject: pcr/wikipediafs: bumped pkgrel and rebuilt for arm --- libre/iceweasel/PKGBUILD | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'libre/iceweasel') diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index 2248eb22d..63ce8c458 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -30,10 +30,10 @@ _pkgname=firefox pkgname=iceweasel epoch=1 pkgver=58.0 -pkgrel=2 +pkgrel=3 _bver=58.0 _brel=1 -pkgdesc="Libre standalon web browser based on Mozilla Firefox" +pkgdesc="Libre standalone web browser based on Mozilla Firefox" arch=(x86_64 i686 armv7h) license=(MPL GPL LGPL) url="https://wiki.parabola.nu/$pkgname" @@ -51,7 +51,6 @@ optdepends=('networkmanager: Location detection via available WiFi networks' options=(!emptydirs !makeflags !strip) replaces=("$_pkgname") conflicts=("$_pkgname") -_parabolarepo=https://repo.parabola.nu/other/iceweasel source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz $pkgname.desktop $pkgname-install-dir.patch no-crmf.diff @@ -114,6 +113,25 @@ ac_add_options --disable-stylo ac_add_options --disable-eme END + if [[ "$CARCH" == arm* ]]; then + sed -i \ + -e '/enable-gold/s/^/#/' \ + -e '/enable-pie/s/^/#/' \ + -e '/enable-optimize/d' \ + .mozconfig + + cat >> .mozconfig << END +ac_add_options --disable-webrtc +ac_add_options --disable-elf-hack +ac_add_options --disable-stylo +ac_add_options --enable-optimize="-g -O2 -fno-schedule-insns" +END + + # syscall numbers are slightly broken on our arm glibc/linux-libre-api-headers constellation + # see: https://labs.parabola.nu/issues/1626 + #sed -i 's/mmap2/mmap/' memory/build/mozjemalloc.cpp + fi + # perform rebranding local brandingdir="$srcdir/$pkgname-$_bver" mkdir -v browser/branding/$pkgname -- cgit v1.2.3