summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-28 19:07:30 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-29 18:39:52 +0100
commitab35c6456fb1af1050c24bac5e769f33e333dc3b (patch)
treecab155f4821cc724091e10a1abb67918cbe64b71 /libre
parentc40eccdf170b5c186c280a54b058f689bcec0e29 (diff)
pcr/wikipediafs: bumped pkgrel and rebuilt for arm
Diffstat (limited to 'libre')
-rw-r--r--libre/iceweasel/PKGBUILD24
1 files changed, 21 insertions, 3 deletions
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