net-misc/icaclient: Bump to version 13.2.1.328635 (bug #560756).
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 18 Sep 2015 11:47:19 +0000 (13:47 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 18 Sep 2015 11:47:19 +0000 (13:47 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-misc/icaclient/Manifest
net-misc/icaclient/icaclient-13.2.1.328635.ebuild [new file with mode: 0644]

index 394a0f26453b060b71dea1585f5f27684fd79500..caf4e8a6f59ef16008fc5e09f463368c2a03dd21 100644 (file)
@@ -1,4 +1,6 @@
 DIST ICAClient-12.1.0-0.i386.rpm 3527204 SHA256 bbcca2014053c5f8683d9ee21cbc57525d2da9743e03d954df8f2f6e7d4063ec SHA512 de907bd993c5d886cd134ac70f11b09beb5ea64ed843707dbe38c2a69bef557f36bce12e1cd5ab5088693522d6f2131bd3490859d8c6959695e525266fb770af WHIRLPOOL 56ad811140b5914b02d9e0d44ac18222d46f62dd27f87b88752232e4f27c9bd14c81bfc7026b1a42c7d8d34acbf1a98bc53c4d640271c89b61381ca40e918501
 DIST ICAClient_12.1.0-0.x86_64.rpm 3527196 SHA256 ee45958acee5a83dec4d41065caf8ee75f73603f86fd352af79b604389f841ba SHA512 aa470ae6ef84cb2da168cb050aafc7f0461d78895e29c3269dbd63bbf9f0263cce75f332717d7ab94aa2ae9655046bb70f4cd53c7fa3e123fca40a3a3546d006 WHIRLPOOL 723512714b821b0e8eed2bc9eed2638d0ed86cae01cc8ad1298aac8c1b751bfbc009a06df4154c53aea469e76a1bf0e19bbda9f89930918a9cd5952438eecfc4
 DIST linuxx64-13.2.0.322243.tar.gz 17432411 SHA256 5e9c6dd7541aed8a398f96ff6ef13f4e18380420caef16c800b3c96536e9f913 SHA512 b2b39d3f54ba336a191db0a04a5ebe0632b10e6c17af7c0d1213567c1723898e300908e6a0e937df87af08c3f13663143aeb2e2b666163b58cdbbb791c4340a1 WHIRLPOOL b883fb9546a8b2f0a15d8bf71fd12589d3c21ef9026ceccb7e5effb84b89149b993378a6c9b987e434327193cf2e430a8fafd3438010b131e1170d7688762ecc
+DIST linuxx64-13.2.1.328635.tar.gz 17739691 SHA256 3a11d663b1a11cc4ebb3e3595405d520ec279e1330462645c53edd5cc79d9ca0 SHA512 0632bc672866092beadde1318517c5e2e949cbbae0e7b61bd590726d633ceb023af4383d9965a9611fc540756bab8ca288222bd0bce24cced3068b5c3b20911d WHIRLPOOL e8f1707d6d6c8954bb48a4ee3961fcaf126e1f26dbe536f7061e2393fc60c9da7f6d28e5b391e052899c10b8492381bb6a8e9dde1d8ad0a9f9487261f4c118df
 DIST linuxx86-13.2.0.322243.tar.gz 15893875 SHA256 56962081f31b6f30c3f0aedd76d92310881a4f62bee85e5d3c40eb72e262fd9b SHA512 14bb2f4d4badaaf5b7f35a25f053a8b4631afcbc756c9bc75330bf18fb7a411ddca99805d23d48275d955f7ecc7e8b83221360540a8f04ab0e7db9228d59d2d1 WHIRLPOOL 9e32503ca6644a12e8d11b7bcb61d029f0650e0964e4328965c22e3bd19343a9646e77b7ae18e4bc8f44f253b9b7b49e974a5a41b322e6b68fa9a9037705f9ae
+DIST linuxx86-13.2.1.328635.tar.gz 18525639 SHA256 5c396ec61ae42d0b47f487aa1ea77291ac3d8eb8a4121085b64d115811465c7a SHA512 9eb5e65dd95b57ad7f3a9681868b536a6d7d5f9f50ab18060a197baa989b45ec6f1358939d7231a27e20d96322668694c69f0759960e54035fe4724054ccb9c9 WHIRLPOOL 3ee5e5fda547b696ef4ba6fbae66c437774cd6792a5fccc33fb8d47ceba9906465779bdbc934685a15ac8ebf68e84ac0ea279cfb83cfc4c5eaa8311d1c71f197
diff --git a/net-misc/icaclient/icaclient-13.2.1.328635.ebuild b/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
new file mode 100644 (file)
index 0000000..8175699
--- /dev/null
@@ -0,0 +1,156 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib eutils versionator
+
+DESCRIPTION="ICA Client for Citrix Presentation servers"
+HOMEPAGE="http://www.citrix.com/"
+SRC_URI="amd64? ( linuxx64-${PV}.tar.gz )
+       x86? ( linuxx86-${PV}.tar.gz )"
+
+LICENSE="icaclient"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="nsplugin linguas_de linguas_es linguas_fr linguas_ja linguas_zh_CN"
+RESTRICT="mirror strip userpriv fetch"
+
+ICAROOT="/opt/Citrix/ICAClient"
+
+QA_PREBUILT="${ICAROOT#/}/*"
+
+RDEPEND="dev-libs/atk
+       dev-libs/glib
+       dev-libs/libxml2
+       media-fonts/font-adobe-100dpi
+       media-fonts/font-misc-misc
+       media-fonts/font-cursor-misc
+       media-fonts/font-xfree86-type1
+       media-fonts/font-misc-ethiopic
+       media-libs/alsa-lib
+       media-libs/fontconfig
+       media-libs/freetype
+       media-libs/gst-plugins-base
+       media-libs/gstreamer
+       media-libs/libcanberra[gtk]
+       media-libs/libogg
+       media-libs/libpng:1.2
+       media-libs/libvorbis
+       media-libs/speex
+       virtual/krb5
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf
+       x11-libs/gtk+:2
+       x11-libs/libX11
+       x11-libs/libXaw
+       x11-libs/libXext
+       x11-libs/libXinerama
+       x11-libs/libXmu
+       x11-libs/libXrender
+       x11-libs/libXt
+       x11-libs/pango
+       x11-terms/xterm"
+DEPEND=""
+
+if use amd64 ; then
+       ICAARCH=linuxx64
+elif use x86 ; then
+       ICAARCH=linuxx86
+fi
+S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
+
+pkg_nofetch() {
+       elog "Download the client file ${A} from
+       http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-1321.html"
+       elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
+}
+
+src_install() {
+       dodir "${ICAROOT}"
+
+       exeinto "${ICAROOT}"
+       doexe *.DLL libctxssl.so libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord
+
+       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
+
+       insinto "${ICAROOT}"
+       doins nls/en/eula.txt
+
+       insinto "${ICAROOT}"/config
+       doins config/* config/.* nls/en/*.ini
+
+       insinto "${ICAROOT}"/gtk
+       doins gtk/*
+
+       insinto "${ICAROOT}"/gtk/glade
+       doins gtk/glade/*
+
+       dodir "${ICAROOT}"/help
+
+       insinto "${ICAROOT}"/config/usertemplate
+       doins config/usertemplate/*
+
+       LANGCODES="en"
+       use linguas_de && LANGCODES+=" de"
+       use linguas_es && LANGCODES+=" es"
+       use linguas_fr && LANGCODES+=" fr"
+       use linguas_ja && LANGCODES+=" ja"
+       use linguas_zh_CN && LANGCODES+=" zh_CN"
+
+       for lang in ${LANGCODES} ; do
+               insinto "${ICAROOT}"/nls/${lang}
+               doins nls/${lang}/*
+
+               insinto "${ICAROOT}"/nls/$lang/UTF-8
+               doins nls/${lang}.UTF-8/*
+
+               insinto "${ICAROOT}"/nls/${lang}/LC_MESSAGES
+               doins nls/${lang}/LC_MESSAGES/*
+
+               insinto "${ICAROOT}"/nls/${lang}
+               dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8
+       done
+
+       insinto "${ICAROOT}"/nls
+       dosym en /opt/Citrix/ICAClient/nls/C
+
+       insinto "${ICAROOT}"/icons
+       doins icons/*
+
+       insinto "${ICAROOT}"/keyboard
+       doins keyboard/*
+
+       rm -r "${S}"/keystore/cacerts || die
+       dosym /etc/ssl/certs "${ICAROOT}"/keystore/cacerts
+
+       exeinto "${ICAROOT}"/util
+       doexe util/{configmgr,conncenter,echo_cmd,gst_aud_play,gst_aud_read,gst_play,gst_read,hdxcheck.sh,icalicense.sh,libgstflatstm.so}
+       doexe util/{lurdump,new_store,nslaunch,pnabrowse,sunraymac.sh,what,xcapture}
+
+       doenvd "${FILESDIR}"/10ICAClient
+
+       make_wrapper wfica "${ICAROOT}"/wfica . "${ICAROOT}"
+
+       dodir /etc/revdep-rebuild/
+       echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" > "${D}"/etc/revdep-rebuild/70icaclient
+}
+
+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
+}