pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/adobe-flash-player24
Module Name: pkgsrc
Committed By: tsutsui
Date: Fri Feb 24 18:33:38 UTC 2017
Added Files:
pkgsrc/multimedia/adobe-flash-player24: DESCR INSTALL.nspluginwrapper
MESSAGE.pulseaudio Makefile PLIST distinfo options.mk
Log Message:
Import adobe-flash-player 24.0.0.221 as multimedia/adobe-flash-player24.
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/adobe-flash-player24/DESCR \
pkgsrc/multimedia/adobe-flash-player24/INSTALL.nspluginwrapper \
pkgsrc/multimedia/adobe-flash-player24/MESSAGE.pulseaudio \
pkgsrc/multimedia/adobe-flash-player24/Makefile \
pkgsrc/multimedia/adobe-flash-player24/PLIST \
pkgsrc/multimedia/adobe-flash-player24/distinfo \
pkgsrc/multimedia/adobe-flash-player24/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/multimedia/adobe-flash-player24/DESCR
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/DESCR:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/DESCR Fri Feb 24 18:33:38 2017
@@ -0,0 +1,10 @@
+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.
Index: pkgsrc/multimedia/adobe-flash-player24/INSTALL.nspluginwrapper
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/INSTALL.nspluginwrapper:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/INSTALL.nspluginwrapper Fri Feb 24 18:33:38 2017
@@ -0,0 +1,19 @@
+#!/bin/sh
+# $NetBSD: INSTALL.nspluginwrapper,v 1.1 2017/02/24 18:33:38 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
Index: pkgsrc/multimedia/adobe-flash-player24/MESSAGE.pulseaudio
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/MESSAGE.pulseaudio:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/MESSAGE.pulseaudio Fri Feb 24 18:33:38 2017
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE.pulseaudio,v 1.1 2017/02/24 18:33:38 tsutsui Exp $
+
+The flash plugin requires tmpfs to be mounted on /dev/shm for PulseAudio.
+
+This can be automated by adding the following to your /etc/fstab:
+
+tmpfs /emul/linux/dev/shm tmpfs rw,-m1777
+
+===========================================================================
Index: pkgsrc/multimedia/adobe-flash-player24/Makefile
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/Makefile:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/Makefile Fri Feb 24 18:33:38 2017
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1 2017/02/24 18:33:38 tsutsui Exp $
+
+FLASH_VERSION= 24.0.0.221
+DISTNAME= flash_player_npapi_linux.${FLASH_ARCH}
+PKGNAME= adobe-flash-player-${FLASH_VERSION}
+DIST_SUBDIR= ${PKGNAME_NOREV}
+CATEGORIES= multimedia www
+MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/pdc/${FLASH_VERSION}/
+
+MAINTAINER= tsutsui%NetBSD.org@localhost
+HOMEPAGE= http://www.adobe.com/products/flashplayer.html
+COMMENT= Adobe Flash Player Browser NPAPI plugin
+LICENSE= flash-license
+
+RESTRICTED= Redistribution not permitted
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+
+# On NetBSD, requires sufficiently new compat_linux and
+# procfs_map.c fixes pulled after 6.1 and 7.0.
+NOT_FOR_PLATFORM= NetBSD-[0-5]*-* NetBSD-6.[0-1].*-* NetBSD-7.0.*-*
+
+WRKSRC= ${WRKDIR}
+BUILD_DIRS= # empty
+
+CRYPTO= yes
+
+EMUL_PLATFORMS= linux-i386 linux-x86_64
+EMUL_MODULES.linux= gtk2 x11 glx krb5 alsa curl nss nspr
+# flashplayer 24 still supports OpenSUSE 11.3, but NetBSD 6.x uses 12.1
+# by default so I won't bother to test with 11.3.
+EMUL_REQD= suse>=12.1
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${EMUL_PLATFORM} == "linux-i386"
+FLASH_ARCH= i386
+.elif ${EMUL_PLATFORM} == "linux-x86_64"
+FLASH_ARCH= x86_64
+.endif
+
+CONFLICTS= adobe-flash-plugin-[0-9]*
+
+NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
+
+.include "options.mk"
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/libflashplayer.so \
+ ${DESTDIR}${NS_PLUGINS_DIR}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/multimedia/adobe-flash-player24/PLIST
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/PLIST:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/PLIST Fri Feb 24 18:33:38 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/24 18:33:38 tsutsui Exp $
+lib/netscape/plugins/libflashplayer.so
Index: pkgsrc/multimedia/adobe-flash-player24/distinfo
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/distinfo:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/distinfo Fri Feb 24 18:33:38 2017
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2017/02/24 18:33:38 tsutsui Exp $
+
+SHA1 (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.i386.tar.gz) = f2fa63b6a18f3141a3b66e95e8cd003ca97aab15
+RMD160 (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.i386.tar.gz) = 67e25b3d6dd85ca9df1733032acd9f5959e797c0
+SHA512 (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.i386.tar.gz) =
54595f8baad3f9531e8f261ac89246f6a428b9c7be50019580618a8c14d650d7dea00b602f8b15881a2b8c9749df05fba38231cd7fffcd6eb66427d68539eea8
+Size (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.i386.tar.gz) = 9161831 bytes
+SHA1 (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.x86_64.tar.gz) = 70a56b541f0e980ed64f054799e23f92a91feceb
+RMD160 (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.x86_64.tar.gz) = ef90cedbe7c93522e4712bd68a6e776bef9adb9a
+SHA512 (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.x86_64.tar.gz) =
c3f0702e247488d82543a364cda9d143e0f9f4262b36db1e4bc0d59f2d85f87afe8d741081965056c90de2460e166d93d6f9731043a3afe3ed6953f60225aa6b
+Size (adobe-flash-player-24.0.0.221/flash_player_npapi_linux.x86_64.tar.gz) = 9698349 bytes
Index: pkgsrc/multimedia/adobe-flash-player24/options.mk
diff -u /dev/null pkgsrc/multimedia/adobe-flash-player24/options.mk:1.1
--- /dev/null Fri Feb 24 18:33:38 2017
+++ pkgsrc/multimedia/adobe-flash-player24/options.mk Fri Feb 24 18:33:38 2017
@@ -0,0 +1,27 @@
+# $NetBSD: options.mk,v 1.1 2017/02/24 18:33:38 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
Home |
Main Index |
Thread Index |
Old Index