pkgsrc/multimedia/adobe-flash-player/options.mk
tsutsui fb9619cd7d Re-import multimedia/adobe-flash-player24 as multimedia/adobe-flash-player
for future major version bump with compatibility.

We had multiple adobe-flash-plugin versions in the past because
newer 11.x versions didn't work on older (4.x) NetBSD systems.
However I guess Adobe will not put aggressive changes that require
newer Linux kernel version (i.e. emul.linux.kern.osrelease on NetBSD)
in future periodical major updates, as per their announcements:
 https://blogs.adobe.com/flashplayer/2016/08/beta-news-flash-player-npapi-for-linux.html
> Because this change is primarily a security initiative, some features
> (like GPU 3D acceleration and premium video DRM) will not be fully
> implemented.

No objection on pkgsrc-users@:
 http://mail-index.netbsd.org/pkgsrc-users/2017/03/14/msg024523.html
Also ok'ed by gdt@ in private mail.

---

NPAPI Adobe Flash player plugin for the Firefox browser.
This package contains a plugin that enables web browsers to render
the Flash format.

The nspluginwrapper option (enabled by default on non Linux platforms)
permits the use of the the Linux x86 and x86_64 flash player in Firefox
browsers on other x86 systems and x86_64 systems.

For NetBSD this package requires NetBSD 6.2 or 7.1 (and later versions)
which include procfs fixes for Linux binaries.
2017-03-17 21:56:29 +00:00

27 lines
794 B
Makefile

# $NetBSD: options.mk,v 1.1 2017/03/17 21:56:29 tsutsui Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin
PKG_SUPPORTED_OPTIONS= nspluginwrapper pulseaudio
.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