2014-08-14 00:33:16 +02:00
|
|
|
# $NetBSD: options.mk,v 1.24 2014/08/13 22:33:16 joerg Exp $
|
Import firefox-3.5.2 as www/firefox. from pkgsrc-wip.
Firefox 3.5 is based on the Gecko 1.9.1 rendering platform.
Firefox 3.5 offers many changes over the previous version, supporting new web
technologies, improving performance and ease of use.
Some of the notable features are:
* Support for the HTML5 <video> and <audio> elements
* Improved tools for controlling your private data
* Better web application performance using the new TraceMonkey JavaScript engine
* The ability to share your location with websites using Location Aware Browsing
* Support for native JSON, and web worker threads.
* Improvements to the Gecko layout engine, including speculative parsing for
faster content rendering.
* Support for new web technologies such as: downloadable fonts, CSS media
queries, new transformations and properties, JavaScript query selectors,
HTML5 local storage and offline application storage, <canvas> text,
ICC profiles, and SVG transforms.
2009-08-05 04:37:10 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
|
2010-02-17 19:32:18 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS= official-mozilla-branding
|
2014-06-20 09:27:50 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS+= alsa debug debug-info mozilla-jemalloc gnome pulseaudio webrtc
|
2013-05-19 10:50:24 +02:00
|
|
|
PLIST_VARS+= gnome jemalloc debug
|
|
|
|
|
2013-07-17 13:00:13 +02:00
|
|
|
.if ${OPSYS} == "Linux"
|
2013-11-02 23:57:55 +01:00
|
|
|
PKG_SUGGESTED_OPTIONS+= alsa mozilla-jemalloc
|
|
|
|
.else
|
|
|
|
PKG_SUGGESTED_OPTIONS+= pulseaudio
|
2013-05-19 10:50:24 +02:00
|
|
|
.endif
|
|
|
|
|
2013-06-26 13:32:12 +02:00
|
|
|
# On NetBSD/amd64 6.99.21 libxul.so is invalid when --enable-webrtc is set.
|
2014-05-05 02:53:34 +02:00
|
|
|
.if ${OPSYS} == "Linux"
|
2013-06-26 13:32:12 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS+= webrtc
|
|
|
|
.endif
|
|
|
|
|
2009-08-09 23:13:39 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2013-11-02 23:57:55 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
|
|
CONFIGURE_ARGS+= --enable-alsa
|
|
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
2013-11-16 03:01:46 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-alsa
|
2013-11-02 23:57:55 +01:00
|
|
|
.endif
|
|
|
|
|
2013-05-19 10:50:24 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
|
|
.include "../../devel/libgnomeui/buildlink3.mk"
|
|
|
|
.include "../../sysutils/gnome-vfs/buildlink3.mk"
|
|
|
|
.include "../../sysutils/libnotify/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
|
|
|
|
CONFIGURE_ARGS+= --enable-libnotify
|
2013-05-19 14:31:58 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-extensions=gnomevfs
|
2013-05-19 10:50:24 +02:00
|
|
|
PLIST.gnome= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
|
|
|
|
CONFIGURE_ARGS+= --disable-libnotify
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
|
|
|
|
PLIST.jemalloc= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-jemalloc
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-jemalloc
|
|
|
|
.endif
|
|
|
|
|
2014-06-20 09:27:50 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
2014-08-14 00:33:16 +02:00
|
|
|
.if !empty(PKGSRC_COMPILER:Mgcc)
|
|
|
|
.if ${CC_VERSION:S/gcc-//:S/.//g} >= 480
|
2014-06-20 09:27:50 +02:00
|
|
|
# Modern gcc does not run any "tracking" passes when compiling with -O0,
|
|
|
|
# which makes the generated debug info mostly useless. So explicitly
|
|
|
|
# request them.
|
|
|
|
O0TRACKING=-fvar-tracking-assignments -fvar-tracking
|
|
|
|
.endif
|
2014-08-14 00:33:16 +02:00
|
|
|
.endif
|
2014-06-20 09:27:50 +02:00
|
|
|
|
2013-05-19 10:50:24 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
2014-06-20 09:27:50 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-debug="-g -O0 ${O0TRACKING}" --enable-debug-symbols --disable-optimize
|
2013-05-19 10:50:24 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-install-strip
|
|
|
|
PLIST.debug= yes
|
|
|
|
.else
|
2014-06-20 09:27:50 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mdebug-info)
|
|
|
|
CONFIGURE_ARGS+= --enable-debug-symbols
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-debug-symbols
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
|
|
CONFIGURE_ARGS+= --enable-optimize=-O2
|
2013-05-19 10:50:24 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-install-strip
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-pulseaudio
|
2014-04-21 01:07:55 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-pulseaudio
|
2013-05-19 10:50:24 +02:00
|
|
|
.endif
|
|
|
|
# XXX end
|
|
|
|
|
2013-09-21 13:40:57 +02:00
|
|
|
PLIST_VARS+= branding nobranding
|
Import firefox-3.5.2 as www/firefox. from pkgsrc-wip.
Firefox 3.5 is based on the Gecko 1.9.1 rendering platform.
Firefox 3.5 offers many changes over the previous version, supporting new web
technologies, improving performance and ease of use.
Some of the notable features are:
* Support for the HTML5 <video> and <audio> elements
* Improved tools for controlling your private data
* Better web application performance using the new TraceMonkey JavaScript engine
* The ability to share your location with websites using Location Aware Browsing
* Support for native JSON, and web worker threads.
* Improvements to the Gecko layout engine, including speculative parsing for
faster content rendering.
* Support for new web technologies such as: downloadable fonts, CSS media
queries, new transformations and properties, JavaScript query selectors,
HTML5 local storage and offline application storage, <canvas> text,
ICC profiles, and SVG transforms.
2009-08-05 04:37:10 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
|
|
|
|
CONFIGURE_ARGS+= --enable-official-branding
|
|
|
|
LICENSE= mozilla-trademark-license
|
|
|
|
RESTRICTED= Trademark holder prohibits distribution of modified versions.
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
2013-09-21 13:40:57 +02:00
|
|
|
PLIST.branding= yes
|
2011-07-11 15:17:40 +02:00
|
|
|
.else
|
|
|
|
PLIST.nobranding= yes
|
Import firefox-3.5.2 as www/firefox. from pkgsrc-wip.
Firefox 3.5 is based on the Gecko 1.9.1 rendering platform.
Firefox 3.5 offers many changes over the previous version, supporting new web
technologies, improving performance and ease of use.
Some of the notable features are:
* Support for the HTML5 <video> and <audio> elements
* Improved tools for controlling your private data
* Better web application performance using the new TraceMonkey JavaScript engine
* The ability to share your location with websites using Location Aware Browsing
* Support for native JSON, and web worker threads.
* Improvements to the Gecko layout engine, including speculative parsing for
faster content rendering.
* Support for new web technologies such as: downloadable fonts, CSS media
queries, new transformations and properties, JavaScript query selectors,
HTML5 local storage and offline application storage, <canvas> text,
ICC profiles, and SVG transforms.
2009-08-05 04:37:10 +02:00
|
|
|
.endif
|
2013-06-26 13:32:12 +02:00
|
|
|
|
|
|
|
PLIST_VARS+= webrtc
|
|
|
|
.if !empty(PKG_OPTIONS:Mwebrtc)
|
|
|
|
.include "../../graphics/libv4l/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-webrtc
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-webrtc
|
|
|
|
.endif
|