pkgsrc/www/seamonkey/options.mk
ryoon 42fec3ef7a Update to 2.31
Changelog:
# What's New in SeaMonkey 2.31

SeaMonkey 2.31 contains the following major changes relative to SeaMonkey 2.30:

## SeaMonkey-specific changes

    Text zoom is now available in Composer.
    GStreamer and PulseAudio support has been re-enabled on Linux.

## Mozilla platform changes

    Support for H264 (MP4) is now built in on Mac OS X Snow Leopard (10.6) and newer through native APIs.
    HTTP/2 (draft14) and ALPN have been implemented.
    Added ability to recover from a locked process in the "SeaMonkey is already running" dialog on Windows.
    Added ECDH support for WebCrypto.
    The console.table function has been added to the Error Console.
    CSS transitions start correctly now when started at the same time as changes to display, position, overflow, and similar properties.
    Also see Firefox 34 for Developers.
    Fixed several stability issues.

# Security fixes
Fixed in SeaMonkey 2.31
    2014-91 Privileged access to security wrapped protected objects
    2014-89 Bad casting from the BasicThebesLayer to BasicContainerLayer
    2014-88 Buffer overflow while parsing media content
    2014-87 Use-after-free during HTML5 parsing
    2014-86 CSP leaks redirect data via violation reports
    2014-85 XMLHttpRequest crashes with some input streams
    2014-84 XBL bindings accessible via improper CSS declarations
    2014-83 Miscellaneous memory safety hazards (rv:34.0 / rv:31.3)
2015-01-02 04:26:21 +00:00

92 lines
2.6 KiB
Makefile

# $NetBSD: options.mk,v 1.30 2015/01/02 04:26:21 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.seamonkey
PKG_SUPPORTED_OPTIONS= alsa debug mozilla-jemalloc gnome mozilla-enigmail
PKG_SUPPORTED_OPTIONS+= mozilla-lightning webrtc mozilla-chatzilla pulseaudio
PLIST_VARS+= debug gnome jemalloc
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
.endif
# On NetBSD/amd64 6.99.21 libxul.so is invalid when --enable-webrtc is set.
.if (${OPSYS} == "FreeBSD") || (${OPSYS} == "Linux") || (${OPSYS} == "OpenBSD")
PKG_SUGGESTED_OPTIONS+= webrtc
.endif
.if ${OPSYS} == "Linux"
PKG_SUGGESTED_OPTIONS+= alsa
.else
PKG_SUGGESTED_OPTIONS+= pulseaudio
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Malsa)
CONFIGURE_ARGS+= --enable-alsa
.include "../../audio/alsa-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-alsa
.endif
.if !empty(PKG_OPTIONS:Mmozilla-chatzilla)
PLIST_SRC+= PLIST.chatzilla
CONFIGURE_ARGS+= --enable-extensions=default,irc
XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/chatzilla*.xpi
XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/inspector*.xpi
.endif
.if !empty(PKG_OPTIONS:Mgnome)
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../sysutils/gnome-vfs/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
PLIST.jemalloc= yes
CONFIGURE_ARGS+= --enable-jemalloc
.else
CONFIGURE_ARGS+= --disable-jemalloc
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
CONFIGURE_ARGS+= --enable-install-strip
.endif
.if !empty(PKG_OPTIONS:Mmozilla-enigmail) || make(distinfo)
.include "enigmail.mk"
.endif
.if !empty(PKG_OPTIONS:Mmozilla-lightning)
CONFIGURE_ARGS+= --enable-calendar
PLIST_SRC+= PLIST.lightning
XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/gdata-provider*.xpi
XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/lightning*.xpi
XPI_FILES+= ${WRKSRC}/${OBJDIR}/dist/xpi-stage/quitter*.xpi
.else
CONFIGURE_ARGS+= --disable-calendar
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
.include "../../audio/pulseaudio/buildlink3.mk"
CONFIGURE_ARGS+= --enable-pulseaudio
.else
CONFIGURE_ARGS+= --disable-pulseaudio
.endif
PLIST_VARS+= webrtc
.if !empty(PKG_OPTIONS:Mwebrtc)
.include "../../graphics/libv4l/buildlink3.mk"
CONFIGURE_ARGS+= --enable-webrtc
.else
CONFIGURE_ARGS+= --disable-webrtc
.endif