| @@ -1,33 +1,33 @@ | | | @@ -1,33 +1,33 @@ |
1 | # $NetBSD: options.mk,v 1.1.1.1 2011/11/03 18:14:15 abs Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2014/11/03 09:21:16 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin | | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin |
5 | PKG_SUPPORTED_OPTIONS= nspluginwrapper pulseaudio | | 5 | PKG_SUPPORTED_OPTIONS= nspluginwrapper pulseaudio |
6 | | | 6 | |
7 | # XXXX: If nspluginwrapper is enabled and this package is installed after | | 7 | # XXXX: If nspluginwrapper is enabled and this package is installed after |
8 | # firefox (or similar) it will install a system wide wrapped plugin into | | 8 | # firefox (or similar) it will install a system wide wrapped plugin into |
9 | # @PREFIX/lib/<browser>/plugins. If it is installed before a browser | | 9 | # @PREFIX/lib/<browser>/plugins. If it is installed before a browser |
10 | # it will install a plugin for the current user in ~/.mozilla/plugins/ | | 10 | # it will install a plugin for the current user in ~/.mozilla/plugins/ |
11 | # or similar. This is inconsistant and potentially confusing. | | 11 | # or similar. This is inconsistant and potentially confusing. |
12 | | | 12 | |
13 | .include "../../mk/bsd.prefs.mk" | | 13 | .include "../../mk/bsd.prefs.mk" |
14 | | | 14 | |
15 | .if ${OPSYS} != "Linux" | | 15 | .if ${OPSYS} != "Linux" |
16 | . if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" | | 16 | . if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" |
17 | PKG_SUGGESTED_OPTIONS= nspluginwrapper | | 17 | PKG_SUGGESTED_OPTIONS= nspluginwrapper |
18 | . endif | | 18 | . endif |
19 | .endif | | 19 | .endif |
20 | | | 20 | |
21 | .include "../../mk/bsd.options.mk" | | 21 | .include "../../mk/bsd.options.mk" |
22 | | | 22 | |
23 | .if !empty(PKG_OPTIONS:Mnspluginwrapper) | | 23 | .if !empty(PKG_OPTIONS:Mnspluginwrapper) |
24 | DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper | | 24 | DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper |
25 | . if !empty(PKG_OPTIONS:Mpulseaudio) | | 25 | . if !empty(PKG_OPTIONS:Mpulseaudio) |
26 | # usr/lib/libpulse.so.0 provided by suse32_gtk2 | | 26 | EMUL_MODULES.linux+= pulseaudio |
27 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pulseaudio | | 27 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pulseaudio |
28 | . else | | 28 | . else |
29 | DEPENDS+= libflashsupport>0:../../multimedia/libflashsupport | | 29 | DEPENDS+= libflashsupport>0:../../multimedia/libflashsupport |
30 | . endif | | 30 | . endif |
31 | INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper | | 31 | INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper |
32 | DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper | | 32 | DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper |
33 | .endif | | 33 | .endif |