summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/iceweasel/PKGBUILD24
-rw-r--r--pcr/wikipediafs/PKGBUILD2
2 files changed, 22 insertions, 4 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
diff --git a/pcr/wikipediafs/PKGBUILD b/pcr/wikipediafs/PKGBUILD
index aed27dc6c..5ec1a629d 100644
--- a/pcr/wikipediafs/PKGBUILD
+++ b/pcr/wikipediafs/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=wikipediafs
pkgver=0.4
-pkgrel=2
+pkgrel=3
pkgdesc="Mount Wikipedia/Mediawiki sites locally via FUSE"
arch=('any')
url="http://wikipediafs.sourceforge.net/"