pkgsrc/multimedia/adobe-flash-plugin11/options.mk
tsutsui 777a325deb Enable 64 bit plugin using updated libflashsupport and nspluginwrapper.
Explicitly specify DEPENDS versions (libflashsupport-4.2.2011 and
nspluginwrapper-1.4.4) in options.mk.  (See also PR pkg/49705)

Bump PKGREVISION.
2015-10-24 06:52:43 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: options.mk,v 1.3 2015/10/24 06:52:43 tsutsui Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin
PKG_SUPPORTED_OPTIONS= nspluginwrapper pulseaudio
# XXXX: If nspluginwrapper is enabled and this package is installed after
# firefox (or similar) it will install a system wide wrapped plugin into
# @PREFIX/lib/<browser>/plugins. If it is installed before a browser
# it will install a plugin for the current user in ~/.mozilla/plugins/
# or similar. This is inconsistant and potentially confusing.
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
. if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
PKG_SUGGESTED_OPTIONS= nspluginwrapper
. endif
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mnspluginwrapper)
DEPENDS+= nspluginwrapper>=1.4.4:../../www/nspluginwrapper
. if !empty(PKG_OPTIONS:Mpulseaudio)
EMUL_MODULES.linux+= pulseaudio
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pulseaudio
. else
DEPENDS+= libflashsupport>=4.2.2011:../../multimedia/libflashsupport
. endif
INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
.endif