firefox: update to 33.0; use our cflags and use system icu.

This commit is contained in:
Juan RP 2014-10-16 04:34:13 +02:00
parent 3b02fd7f34
commit 6a84bbf53b
1 changed files with 12 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# Template build file for 'firefox'. # Template build file for 'firefox'.
pkgname=firefox pkgname=firefox
version=32.0.3 version=33.0
revision=1 revision=1
wrksrc=mozilla-release wrksrc=mozilla-release
short_desc="Lightweight gecko-based web browser" short_desc="Lightweight gecko-based web browser"
@ -8,16 +8,17 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://www.mozilla.org/firefox/" homepage="https://www.mozilla.org/firefox/"
license="MPL-1.1, GPL-2, LGPL-2.1" license="MPL-1.1, GPL-2, LGPL-2.1"
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
checksum=ae2aa20538d03b392a04663593fb106c0aec2d8bbb78ddac84a88ce7617b1efe checksum=1018c2fae8c54c8a45f5a3ce348a2617a3f8039a789b09b7cfa5a27be069b229
lib32disabled=yes lib32disabled=yes
hostmakedepends="which unzip zip pkg-config perl python yasm" hostmakedepends="unzip zip pkg-config perl python yasm"
makedepends="nss-devel>=3.16 libjpeg-turbo-devel libpng-devel>=1.6 makedepends="nss-devel>=3.17 libjpeg-turbo-devel libpng-devel>=1.6
pixman-devel sqlite-devel gst-plugins-base1-devel gtk+-devel icu-devel>=54 pixman-devel sqlite-devel gst-plugins-base1-devel gtk+-devel
libevent-devel libnotify-devel libvpx-devel>1.3.0 libXrender-devel libevent-devel libnotify-devel libvpx-devel>1.3.0 libXrender-devel
startup-notification-devel dbus-glib-devel alsa-lib-devel pulseaudio-devel startup-notification-devel dbus-glib-devel alsa-lib-devel pulseaudio-devel
hunspell-devel>=1.3.2 libSM-devel libXScrnSaver-devel libXt-devel" hunspell-devel>=1.3.2 libXcomposite-devel libSM-devel libXScrnSaver-devel
libXt-devel"
depends="nss>=3.17 desktop-file-utils hicolor-icon-theme" depends="nss>=3.17 desktop-file-utils hicolor-icon-theme"
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
@ -59,15 +60,17 @@ do_configure() {
--enable-skia --disable-debug --disable-gnomevfs --disable-gconf \ --enable-skia --disable-debug --disable-gnomevfs --disable-gconf \
--disable-crashreporter --disable-updater --disable-tests \ --disable-crashreporter --disable-updater --disable-tests \
--disable-mochitest --disable-installer --disable-elf-hack \ --disable-mochitest --disable-installer --disable-elf-hack \
--enable-pulseaudio --enable-gstreamer=1.0 \ --with-system-icu --enable-pulseaudio --enable-gstreamer=1.0 \
--with-nspr-prefix=${XBPS_CROSS_BASE}/usr \ --with-nspr-prefix=${XBPS_CROSS_BASE}/usr \
--with-nss-prefix=${XBPS_CROSS_BASE}/usr ${cross_args} \ --with-nss-prefix=${XBPS_CROSS_BASE}/usr ${cross_args} \
--with-google-api-keyfile="${wrksrc}/google-api-key" --with-google-api-keyfile="${wrksrc}/google-api-key" \
--enable-optimize="$CFLAGS" --disable-strip --disable-install-strip \
--disable-static
} }
do_build() { do_build() {
cd xbps-build cd xbps-build
SHELL=/bin/bash make ${makejobs} MOZ_MAKE_FLAGS="${makejobs}" SHELL=/bin/bash make ${makejobs}
} }
do_install() { do_install() {