summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r--net-misc/icaclient/Manifest2
-rw-r--r--net-misc/icaclient/icaclient-13.2.0.322243.ebuild154
2 files changed, 156 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest
index 83d84765a13..394a0f26453 100644
--- a/net-misc/icaclient/Manifest
+++ b/net-misc/icaclient/Manifest
@@ -1,2 +1,4 @@
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 linuxx86-13.2.0.322243.tar.gz 15893875 SHA256 56962081f31b6f30c3f0aedd76d92310881a4f62bee85e5d3c40eb72e262fd9b SHA512 14bb2f4d4badaaf5b7f35a25f053a8b4631afcbc756c9bc75330bf18fb7a411ddca99805d23d48275d955f7ecc7e8b83221360540a8f04ab0e7db9228d59d2d1 WHIRLPOOL 9e32503ca6644a12e8d11b7bcb61d029f0650e0964e4328965c22e3bd19343a9646e77b7ae18e4bc8f44f253b9b7b49e974a5a41b322e6b68fa9a9037705f9ae
diff --git a/net-misc/icaclient/icaclient-13.2.0.322243.ebuild b/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
new file mode 100644
index 00000000000..3839d414060
--- /dev/null
+++ b/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
@@ -0,0 +1,154 @@
+# 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/libogg
+ media-libs/libpng:1.2
+ media-libs/libvorbis
+ media-libs/speex
+ 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-13-2.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
+}