firefox: minor fixes
- add comment to keep in sync with firefox-i18n - increase nss minimum required version (see #6955) - remove '--enable-release', no longer needed (fixes #10347)
This commit is contained in:
parent
37bf43ddbf
commit
06e2b1301b
2 changed files with 9 additions and 9 deletions
|
@ -42,11 +42,8 @@ ac_add_options --disable-strip
|
||||||
ac_add_options --disable-profiling
|
ac_add_options --disable-profiling
|
||||||
ac_add_options --enable-optimize="$CFLAGS"
|
ac_add_options --enable-optimize="$CFLAGS"
|
||||||
ac_add_options --enable-pie
|
ac_add_options --enable-pie
|
||||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1341234
|
|
||||||
ac_add_options BINDGEN_CFLAGS="-I/usr/include/nspr -I/usr/include/pixman-1"
|
|
||||||
# needed to enable stylo at runtime by default
|
# needed to enable stylo at runtime by default
|
||||||
ac_add_options --enable-stylo
|
ac_add_options --enable-stylo
|
||||||
|
|
||||||
ac_add_options --enable-release
|
|
||||||
ac_add_options --enable-official-branding
|
ac_add_options --enable-official-branding
|
||||||
ac_add_options --enable-application=browser
|
ac_add_options --enable-application=browser
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
# Template build file for 'firefox'.
|
# Template build file for 'firefox'.
|
||||||
|
#
|
||||||
|
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n".
|
||||||
|
#
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=59.0.2
|
version=59.0.2
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Mozilla Firefox web browser"
|
short_desc="Mozilla Firefox web browser"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://www.mozilla.org/firefox/"
|
homepage="https://www.mozilla.org/firefox/"
|
||||||
|
@ -22,7 +25,7 @@ makedepends="nss-devel libjpeg-turbo-devel gtk+-devel gtk+3-devel icu-devel
|
||||||
$(vopt_if startup_notification startup-notification-devel)
|
$(vopt_if startup_notification startup-notification-devel)
|
||||||
$(vopt_if xscreensaver libXScrnSaver-devel)
|
$(vopt_if xscreensaver libXScrnSaver-devel)
|
||||||
$(vopt_if sndio sndio-devel)"
|
$(vopt_if sndio sndio-devel)"
|
||||||
depends="nss>=3.33 desktop-file-utils hicolor-icon-theme"
|
depends="nss>=3.35 desktop-file-utils hicolor-icon-theme"
|
||||||
conflicts="firefox-esr>=0"
|
conflicts="firefox-esr>=0"
|
||||||
|
|
||||||
build_options="alsa dbus pulseaudio startup_notification xscreensaver sndio"
|
build_options="alsa dbus pulseaudio startup_notification xscreensaver sndio"
|
||||||
|
@ -55,9 +58,9 @@ do_build() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64-musl)
|
x86_64-musl|i686-musl)
|
||||||
echo "ac_add_options --host=x86_64-unknown-linux-musl" >>.mozconfig
|
echo "ac_add_options --host=${XBPS_TRIPLET}" >>.mozconfig
|
||||||
echo "ac_add_options --target=x86_64-unknown-linux-musl" >>.mozconfig
|
echo "ac_add_options --target=${XBPS_TRIPLET}" >>.mozconfig
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -108,7 +111,7 @@ do_install() {
|
||||||
vinstall ${FILESDIR}/vendor.js 644 usr/lib/firefox/browser/defaults/preferences
|
vinstall ${FILESDIR}/vendor.js 644 usr/lib/firefox/browser/defaults/preferences
|
||||||
vinstall ${FILESDIR}/firefox.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/firefox.desktop 644 usr/share/applications
|
||||||
|
|
||||||
for i in 16x16 22x22 24x24 32x32 48x48 256x256; do
|
for i in 16x16 22x22 24x24 32x32 48x48 128x128 256x256; do
|
||||||
vinstall ${wrksrc}/browser/branding/official/default${i%x*}.png 644 \
|
vinstall ${wrksrc}/browser/branding/official/default${i%x*}.png 644 \
|
||||||
usr/share/icons/hicolor/${i}/apps firefox.png
|
usr/share/icons/hicolor/${i}/apps firefox.png
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue