From 08a4f4cd801156e1f93600f9a88f80c8f3951163 Mon Sep 17 00:00:00 2001 From: 11mariom <11mariom+wordpress@gmail.com> Date: Sun, 7 Aug 2011 12:53:22 +0200 Subject: [PATCH] firefox: version bump to 8.0a1 (06.07.2011) --- www-client/firefox-bin/Manifest | 4 + .../firefox-bin/firefox-bin-8.0_alpha1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 www-client/firefox-bin/firefox-bin-8.0_alpha1.ebuild diff --git a/www-client/firefox-bin/Manifest b/www-client/firefox-bin/Manifest index 54e1a45..135218b 100644 --- a/www-client/firefox-bin/Manifest +++ b/www-client/firefox-bin/Manifest @@ -176,5 +176,9 @@ DIST firefox-7.0a1.zh-CN.xpi 245588 RMD160 454d813a7332f079aa62c38146ff8954594cd DIST firefox-7.0a1.zh-TW.xpi 264492 RMD160 04a0ae3881eaa5a77b241237e41dec7c880c4369 SHA1 75f4251bf2718a1968e6130e586b8eb882a59366 SHA256 9996ea9870613c544cb9691166cdcf8eafffdcdf24474e6b759ea3e5d05dfdc4 DIST firefox-7.0a1.zu.xpi 236831 RMD160 93b2a8baf8c8eaa2d964750c8fcc15c652d1b859 SHA1 9beb4d85beae0313a3625fd82a77f59ff6daacae SHA256 f64dfb2bf784f5009e9df27d650685951e2cd7499f107956f84118b2da84a1d3 DIST firefox-7.0a1_64.tar.bz2 16661540 RMD160 e6c771030baa05ad1b715bc789f9a38a2229d01e SHA1 50de720feebca3642f0bf765465f7aa57806e576 SHA256 a2b15846d137eade6907311210bbf4b193dda69d4dd3e395d8f088b55f6bbc77 +DIST firefox-8.0a1.tar.bz2 15926500 RMD160 f2533f2dccd1fab8718a34c43165835e63a93226 SHA1 66c14721e61e665bf7201d10f111253928771260 SHA256 470d570eabc61c180f0b80b59bb7918a05055ed57e30efe827002537fa43db8a +DIST firefox-8.0a1_64.tar.bz2 17684127 RMD160 30942a754f635ac4b67f0cb8a18dfb438994f8be SHA1 277bd4ede90535ad7a6b02d5d55185d1fa468079 SHA256 e6fa2672ab2b623055d30c2727d0c23866ba8dfd949101d7d38f4d92dd42e38d EBUILD firefox-bin-6.0_alpha2.ebuild 3025 RMD160 5aafba3bb74bf92265516cd9e2ed942cd04187e6 SHA1 979ef5c1a3b5671f084478cd437b8ea9b64b35e9 SHA256 276ae39f5bf3ef23d3edb8fab052ff3f053745a2c59a74d5afd9976d38635c8d EBUILD firefox-bin-7.0_alpha1.ebuild 3026 RMD160 e07c056000fcc0eb2ac2fcca9a29bb5328855983 SHA1 f61f9fe5421b45b1d46b36fe94408f777279a066 SHA256 d8c29f7861d8ac3c978f1e2d9e47bf78ad1adc37ae52dfb97be40a789ef1864d +EBUILD firefox-bin-8.0_alpha1.ebuild 2383 RMD160 227aaad3572e35096b5826355a61475f50f2755a SHA1 51a1a393c38e47d461e819d70583d126c0a52171 SHA256 437235e823712b8e8488a545847cc5008a8cc8cd89a9776fae4d1037df4fa126 +MISC firefox-bin-8.0_alpha1.ebuild~ 3032 RMD160 851ab16fed30bc2c3a0427c0ce41fa7e5e2c25fe SHA1 a8d9baf71733891e29e0950f3a06406e9f3c26a3 SHA256 4dba6f9195657029713e5481f54a76f88931ff750fce11c2801b1fecfa1ac517 diff --git a/www-client/firefox-bin/firefox-bin-8.0_alpha1.ebuild b/www-client/firefox-bin/firefox-bin-8.0_alpha1.ebuild new file mode 100644 index 0000000..6a0088f --- /dev/null +++ b/www-client/firefox-bin/firefox-bin-8.0_alpha1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils mozextension + +MY_PN="${PN/-bin}" +MY_PV="${PV/_alpha/a}" +MY_P="${MY_PN}-${MY_PV}" +REL_URI="http://ftp.mozilla.org/pub/mozilla.org/${MY_PN}/nightly/2011-08-06-03-07-40-mozilla-central-l10n" + +DESCRIPTION="Firefox Web Browser" +SRC_URI="x86? ( ${REL_URI}/${MY_PN}-${MY_PV}.en-GB.linux-i686.tar.bz2 -> ${MY_P}.tar.bz2 ) +amd64? ( ${REL_URI}/${MY_PN}-${MY_PV}.en-GB.linux-x86_64.tar.bz2 -> ${MY_P}_64.tar.bz2 ) +${SRC_URI_LANG}" +HOMEPAGE="http://www.mozilla.com/firefox" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +IUSE="${IUSE}" + +DEPEND="app-arch/unzip" +RDEPEND="dev-libs/dbus-glib +x11-libs/libXrender +x11-libs/libXt +x11-libs/libXmu +>=x11-libs/gtk+-2.2:2 +>=media-libs/alsa-lib-1.0.16 +!www-client/firefox" + +S="${WORKDIR}/${MY_PN}" + +linguas() { + local LANG SLANG + for LANG in ${LINGUAS}; do + if has ${LANG} en en_US; then + has en ${linguas} || linguas="${linguas:+"${linguas} "}en" + continue + elif has ${LANG} ${LANGS//-/_}; then + has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then + for X in ${LANGS}; do + if [[ "${X}" == "${LANG}-"* ]] && \ + [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then + has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" + continue 2 + fi + done + fi + ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA" + done +} + +src_unpack() { + use x86 && unpack ${MY_P}.tar.bz2 + use amd64 && unpack ${MY_P}_64.tar.bz2 + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_unpack "${MY_P}.${X}.xpi" + done + if [[ ${linguas} != "" && ${linguas} != "en" ]]; then + einfo "Selected language packs (first will be default): ${linguas}" + fi +} + +src_install() { + declare MOZILLA_FIVE_HOME=/opt/${MY_PN} + + dodir /opt/ + dodir /opt/bin + mv "${S}" "${D}"/opt/ + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${MY_P}.${X}" + done + + local LANG=${linguas%% *} + if [[ -n ${LANG} && ${LANG} != "en" ]]; then + elog "Setting default locale to ${LANG}" + echo "pref(\"general.useragent.locale\", \"${LANG}\");" > "${D}/firefox"/defaults/pref/${MY_PN}.js || \ + die "sed failed to change locale" + fi + + dosym ${D}/opt/firefox/firefox /opt/bin/firefox +} -- 2.11.4.GIT