firefox: restrict to x86[1]; build brotli in portable mode[2].

[1] firefox on ARMv[67] is too slow to be useful, disabled for now.
[2] build brotli code in portable mode, fixes segfault with musl (via Alpine).
This commit is contained in:
Juan RP 2016-02-07 07:29:48 +01:00
parent 1867f00d67
commit ceee0d3d69

View File

@ -9,6 +9,7 @@ license="MPL-1.1, GPL-2, LGPL-2.1"
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz"
checksum=ea82b0f4840d320aa4fe8046ba28e686bf6dc60f707a0514a9d68c150d0c4c1d
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
nopie=yes
lib32disabled=yes
build_options="gtk3"
@ -26,8 +27,8 @@ depends="nss>=3.20.1 desktop-file-utils hicolor-icon-theme"
conflicts="firefox-esr>=0"
# https://bugzilla.mozilla.org/show_bug.cgi?id=1243724
#CFLAGS="-DBROTLI_BUILD_PORTABLE"
#CXXFLAGS="-DBROTLI_BUILD_PORTABLE"
CFLAGS="-DBROTLI_BUILD_PORTABLE"
CXXFLAGS="-DBROTLI_BUILD_PORTABLE"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in