net-misc/icaclient: Removed "nsplugin" USE flag.
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 13 Jul 2019 17:54:37 +0000 (19:54 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 13 Jul 2019 17:58:29 +0000 (19:58 +0200)
Closes: https://bugs.gentoo.org/689782
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-misc/icaclient/icaclient-19.6.0.60-r1.ebuild

index e41add9f57e4e4830ff09d0ab1330e816668d604..48ba5a0aff0042f83b3616940a87c5aba81458cb 100644 (file)
@@ -14,7 +14,7 @@ SRC_URI="amd64? ( linuxx64-${PV}.tar.gz )
 LICENSE="icaclient"
 SLOT="0"
 KEYWORDS="-* ~amd64 ~x86"
-IUSE="nsplugin l10n_de l10n_es l10n_fr l10n_ja l10n_zh_CN"
+IUSE="l10n_de l10n_es l10n_fr l10n_ja l10n_zh_CN"
 RESTRICT="mirror strip userpriv fetch"
 
 ICAROOT="/opt/Citrix/ICAClient"
@@ -99,12 +99,6 @@ src_install() {
        exeinto "${ICAROOT}"/lib
        doexe lib/*.so
 
-       if use nsplugin ; then
-               exeinto "${ICAROOT}"
-               doexe npica.so
-               dosym "${ICAROOT}"/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
-       fi
-
        for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do
                insinto "${dest}"
                doins nls/en.UTF-8/eula.txt
@@ -200,17 +194,6 @@ src_install() {
        domenu "${FILESDIR}"/*.desktop
 }
 
-pkg_preinst() {
-       local old_plugin="/usr/lib64/nsbrowser/plugins/npwrapper.npica.so"
-       if use amd64 && [[ -f ${old_plugin} ]] ; then
-               local wrapper="/usr/bin/nspluginwrapper"
-               if [[ -x ${wrapper} ]] ; then
-                       einfo "Removing npica.so from wrapper."
-                       ${wrapper} -r ${old_plugin}
-               fi
-       fi
-}
-
 pkg_postinst() {
        xdg_desktop_database_update
 }