fb9619cd7d
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.
19 lines
353 B
Bash
19 lines
353 B
Bash
#!/bin/sh
|
|
# $NetBSD: INSTALL.nspluginwrapper,v 1.1 2017/03/17 21:56:29 tsutsui Exp $
|
|
|
|
PATH=@PREFIX@/bin:$PATH
|
|
|
|
case $STAGE in
|
|
POST-INSTALL)
|
|
nspluginwrapper -i @PREFIX@/lib/netscape/plugins/libflashplayer.so
|
|
;;
|
|
esac
|
|
|
|
|
|
case $STAGE in
|
|
DEINSTALL)
|
|
for wrapped in `nspluginwrapper -l | grep ^/` ; do
|
|
nspluginwrapper -r $wrapped
|
|
done
|
|
;;
|
|
esac
|