From 3f5dff7db818d1193d6f58d6d990b14674291776 Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Mon, 26 Jan 2015 08:36:07 -0800 Subject: firefox build is good, but with all system-* use flags enabled --- www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-35.0.ebuild | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'www-client') diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 43ca327..c560783 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -348,5 +348,5 @@ EBUILD firefox-23.0-r100.ebuild 12198 SHA256 013a28761a2e7f1b81e9a67346caba688a6 EBUILD firefox-23.0.ebuild 12072 SHA256 f61c5da087bb87e908a090be2d8749e0d14d34cdac4dd682759b789bcf1f5a52 SHA512 be362443b3297c2559736226882eb28e5a00f529b9f4b3f8c28bb7e2b86447e0b4ac15ae275ab45b17e85fcae84e986029bfcc8d239520d48e3de31b61b56f92 WHIRLPOOL ef6ca27f96a2de39403fb58181b4c645310836207e82ab212901adfa11dcacf63a1aa7767c12f67d46900a0dcfa6cabe04d6c8d40f4719892bd63cc75f330e95 EBUILD firefox-29.0.1.ebuild 12466 SHA256 816425e7025c94348459bf8e21a01930065e0a585db41c6c52d9b07d20b2602d SHA512 90456eb550df8fba1112e08361da2e20174c59438c554fc2ab9a55963838f011013faee22e613700361b99920b48d286e9ffb7fcbcf2c31abd5026541a0009da WHIRLPOOL 96c2b80e93e0eefc7262150cfd54bbdc12ccc78a3e72270e3f62a828450f5db1d5a27ff690cb3b719ee0993a8684135cf51adbd8995f9b7f132811dd02345672 EBUILD firefox-34.0.5-r1.ebuild 12215 SHA256 73758793e3d2db070622d6b54122a846815920fd7044a28b33fc6f0e66c3f482 SHA512 e12cac194f9847eea22531aea7d1f3ce518aad8f9308ca3a02d4e12ee758872472d8f74f28c0093d5b23e460a901d4d8cb039d7a044ea25f0dd0cd59185ea637 WHIRLPOOL 1a072ce4951e957412297c16005cd9b9be6556d154c50a8d39f9d856aa285a9951f05ef97759a9842a679f96932d047eed7f3ceb6b2137033da5eb41901540ef -EBUILD firefox-35.0.ebuild 12437 SHA256 1f4b3d6cd3a72effb40848b7eba026591fd9119eaa74525377902217dc07d0eb SHA512 152b940ee7a6e77398ed722e25d79473af387433401d7850a33a80ea5c27509e220231a635bfc40ece5b0060576c4f6b0338e3e7dbd9f79c4e940fdae3045477 WHIRLPOOL 4f00af215d01fef0ccf995a4f585354d800443cad26d49cf930522b3177488a5bc9f37ce77cf2629119407cc85697a4ca3dfe36900e6d67a68deb2c81a3b422e +EBUILD firefox-35.0.ebuild 12776 SHA256 2720e687d4622c75324abb2db4c369610a0004f270e89ef1c6f3c4aefaeafe98 SHA512 9b6d405112989840de57697e635db86c9f7676f401ab50737d77c8425afe3307f054d1c1f1ff77a0ed330e2f85b12032f5331ec8489c9192afdaaf7d0407f46d WHIRLPOOL 472c8d28a5ad68eda0329e77f4fc3458d6c9e59deda953c356d15611760e94383919016ae70b2b3f540c8df6d0be01db5b5cac5728e00a9fe232ef9743fdd461 MISC metadata.xml 1260 SHA256 903c6b3e182ac2e000095b0c965b5ae83f1dfd6cb660f4ccc48ce549edec4afe SHA512 e7b5c29fd268216dbdd93977d6e121302dab18065dc8fa2c2ed4c4cfb50cb7242faa1ca93a93e17cc22c672cdaec9bdb0fb7f9dd5743ca52810630539a6d317f WHIRLPOOL 1eb9e972f135acb13bc4f1bf1b8cb965bf2cb887e655dc571a0905723843aa7f84eef5252ecd4fcb22b1b0d698680dbcbaa96832c476c89175f7e8b69243cf42 diff --git a/www-client/firefox/firefox-35.0.ebuild b/www-client/firefox/firefox-35.0.ebuild index eb91eb3..433b9dc 100644 --- a/www-client/firefox/firefox-35.0.ebuild +++ b/www-client/firefox/firefox-35.0.ebuild @@ -44,7 +44,7 @@ HOMEPAGE="http://www.mozilla.com/firefox" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="bindist hardened +minimal pgo selinux +gmp-autoupdate test" +IUSE="bindist hardened +minimal neon pgo selinux +gmp-autoupdate test" # More URIs appended below... SRC_URI="${SRC_URI} @@ -221,7 +221,14 @@ src_configure() { # Make sure armv7 cpu is enabled for webrtc if [[ ${CHOST} == armv7* ]] ; then - append-cppflags "-DWEBRTC_ARCH_ARM_V7" + append-cppflags -DWEBRTC_ARCH_ARM_V7 + filter-flags -DDISABLE_FLOAT_API -DCROSS_COMPILE='1' + if use neon ; then + append-cppflags -DHAVE_ARM_SIMD='1' -DHAVE_ARM_NEON='1' -DBUILD_ARM_NEON='1' + filter-flags -D__ARM_PCS_VFP + else + append-cppflags -D__ARM_PCS_VFP -DHAVE_ARM_SIMD='0' -DHAVE_ARM_NEON='0' -DBUILD_ARM_NEON='0' + fi fi # Setup api key for location services @@ -254,6 +261,7 @@ src_configure() { } src_compile() { + use arm && mkdir -p "${BUILD_OBJ_DIR}" use arm && cp "${FILESDIR}"/autoconf.mk.gentoo \ "${BUILD_OBJ_DIR}"/config/autoconf.mk sed -i -e '/#define CROSS_COMPILE 1/d' \ -- cgit v1.2.3-65-gdbad