extra/firefox to 52.0.1-1

This commit is contained in:
Kevin Mihelich 2017-03-18 01:11:51 +00:00
parent 68c5533585
commit 67a7831661

View file

@ -7,13 +7,14 @@
# - mozconfig changes for ARM
# - patches to build on ARM
# - remove makedepend on cargo
# - use tarball source
buildarch=12
highmem=1
pkgname=firefox
pkgver=52.0
pkgrel=2
pkgver=52.0.1
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=(i686 x86_64)
license=(MPL GPL LGPL)
@ -24,15 +25,14 @@ makedepends=(unzip zip diffutils python2 yasm mesa imake gconf libpulse inetutil
autoconf2.13)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'upower: Battery API'
'speech-dispatcher: Text-to-Speech')
options=(!emptydirs !makeflags)
options=(!emptydirs !makeflags !strip)
source=(https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz
firefox.desktop firefox-symbolic.svg
firefox-install-dir.patch rust-i686.patch fix-wifi-scanner.diff
mozilla-1253216.patch
mozilla-build-arm.patch)
sha256sums=('494ec86875ea60043658e402b664ccd5af4709acc3a478de8729f7cbac9ea3c1'
sha256sums=('2ea8659c787c6a9d2b1fdadbb3171b3a6d3ef3d61fbaaa8e40fa14cfd0b82dd9'
'ada313750e6fb14558b37c764409a17c1672a351a46c73b350aa1fe4ea9220ef'
'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9'
'd86e41d87363656ee62e12543e2f5181aadcff448e406ef3218e91865ae775cd'
@ -83,6 +83,9 @@ ac_add_options --enable-pie
# Branding
ac_add_options --enable-official-branding
ac_add_options --enable-update-channel=release
export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1
export MOZ_SOURCE_REPO=${_repo@Q}
export MOZ_ADDON_SIGNING=1
export MOZ_REQUIRE_SIGNING=1
@ -109,8 +112,8 @@ ac_add_options --enable-system-pixman
# Features
ac_add_options --enable-startup-notification
ac_add_options --enable-crashreporter
ac_add_options --enable-alsa
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
STRIP_FLAGS="--strip-debug"
@ -131,9 +134,6 @@ build() {
# Hardening
LDFLAGS+=" -Wl,-z,now"
# GCC 6
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-schedule-insns2"
export PATH="$srcdir/path:$PATH"
# Do PGO