Skip to content
Snippets Groups Projects
Commit ddcebad4 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

52.0.1-1

parent eac97758
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# Contributor: Jakub Schmidtke <sjakub@gmail.com> # Contributor: Jakub Schmidtke <sjakub@gmail.com>
pkgname=firefox pkgname=firefox
pkgver=52.0 pkgver=52.0.1
pkgrel=2 pkgrel=1
pkgdesc="Standalone web browser from mozilla.org" pkgdesc="Standalone web browser from mozilla.org"
arch=(i686 x86_64) arch=(i686 x86_64)
license=(MPL GPL LGPL) license=(MPL GPL LGPL)
...@@ -12,22 +12,21 @@ url="https://www.mozilla.org/firefox/" ...@@ -12,22 +12,21 @@ url="https://www.mozilla.org/firefox/"
depends=(gtk3 gtk2 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib ffmpeg depends=(gtk3 gtk2 mozilla-common libxt startup-notification mime-types dbus-glib alsa-lib ffmpeg
libvpx libevent nss hunspell sqlite ttf-font icu) libvpx libevent nss hunspell sqlite ttf-font icu)
makedepends=(unzip zip diffutils python2 yasm mesa imake gconf libpulse inetutils xorg-server-xvfb makedepends=(unzip zip diffutils python2 yasm mesa imake gconf libpulse inetutils xorg-server-xvfb
autoconf2.13 cargo) autoconf2.13 cargo mercurial)
optdepends=('networkmanager: Location detection via available WiFi networks' optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration' 'libnotify: Notification integration'
'upower: Battery API'
'speech-dispatcher: Text-to-Speech') '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 _repo=https://hg.mozilla.org/releases/mozilla-release
source=("hg+$_repo#tag=FIREFOX_${pkgver//./_}_RELEASE"
firefox.desktop firefox-symbolic.svg firefox.desktop firefox-symbolic.svg
firefox-install-dir.patch rust-i686.patch fix-wifi-scanner.diff) firefox-install-dir.patch rust-i686.patch fix-wifi-scanner.diff)
sha256sums=('494ec86875ea60043658e402b664ccd5af4709acc3a478de8729f7cbac9ea3c1' sha256sums=('SKIP'
'ada313750e6fb14558b37c764409a17c1672a351a46c73b350aa1fe4ea9220ef' 'ada313750e6fb14558b37c764409a17c1672a351a46c73b350aa1fe4ea9220ef'
'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9' 'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9'
'd86e41d87363656ee62e12543e2f5181aadcff448e406ef3218e91865ae775cd' 'd86e41d87363656ee62e12543e2f5181aadcff448e406ef3218e91865ae775cd'
'f61ea706ce6905f568b9bdafd1b044b58f20737426f0aa5019ddb9b64031a269' 'f61ea706ce6905f568b9bdafd1b044b58f20737426f0aa5019ddb9b64031a269'
'9765bca5d63fb5525bbd0520b7ab1d27cabaed697e2fc7791400abc3fa4f13b8') '9765bca5d63fb5525bbd0520b7ab1d27cabaed697e2fc7791400abc3fa4f13b8')
validpgpkeys=('2B90598A745E992F315E22C58AB132963A06537A')
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
# Note: These are for Arch Linux use ONLY. For your own distribution, please # Note: These are for Arch Linux use ONLY. For your own distribution, please
...@@ -41,12 +40,11 @@ _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM ...@@ -41,12 +40,11 @@ _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
# more information. # more information.
_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff _mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
prepare() { prepare() {
mkdir path mkdir path
ln -s /usr/bin/python2 path/python ln -s /usr/bin/python2 path/python
cd $pkgname-$pkgver cd mozilla-release
patch -Np1 -i ../firefox-install-dir.patch patch -Np1 -i ../firefox-install-dir.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=1314968 # https://bugzilla.mozilla.org/show_bug.cgi?id=1314968
...@@ -70,6 +68,9 @@ ac_add_options --enable-rust ...@@ -70,6 +68,9 @@ ac_add_options --enable-rust
# Branding # Branding
ac_add_options --enable-official-branding ac_add_options --enable-official-branding
ac_add_options --enable-update-channel=release 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_ADDON_SIGNING=1
export MOZ_REQUIRE_SIGNING=1 export MOZ_REQUIRE_SIGNING=1
...@@ -93,8 +94,8 @@ ac_add_options --enable-system-pixman ...@@ -93,8 +94,8 @@ ac_add_options --enable-system-pixman
# Features # Features
ac_add_options --enable-startup-notification ac_add_options --enable-startup-notification
ac_add_options --enable-crashreporter
ac_add_options --enable-alsa ac_add_options --enable-alsa
ac_add_options --disable-crashreporter
ac_add_options --disable-updater ac_add_options --disable-updater
STRIP_FLAGS="--strip-debug" STRIP_FLAGS="--strip-debug"
...@@ -102,7 +103,7 @@ END ...@@ -102,7 +103,7 @@ END
} }
build() { build() {
cd $pkgname-$pkgver cd mozilla-release
# _FORTIFY_SOURCE causes configure failures # _FORTIFY_SOURCE causes configure failures
CPPFLAGS+=" -O2" CPPFLAGS+=" -O2"
...@@ -110,9 +111,6 @@ build() { ...@@ -110,9 +111,6 @@ build() {
# Hardening # Hardening
LDFLAGS+=" -Wl,-z,now" LDFLAGS+=" -Wl,-z,now"
# GCC 6
CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-schedule-insns2"
export PATH="$srcdir/path:$PATH" export PATH="$srcdir/path:$PATH"
# Do PGO # Do PGO
...@@ -122,7 +120,7 @@ build() { ...@@ -122,7 +120,7 @@ build() {
} }
package() { package() {
cd $pkgname-$pkgver cd mozilla-release
make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install
_vendorjs="$pkgdir/usr/lib/firefox/browser/defaults/preferences/vendor.js" _vendorjs="$pkgdir/usr/lib/firefox/browser/defaults/preferences/vendor.js"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment