diff options
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r-- | net-misc/icaclient/Manifest | 2 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-13.4.0.10109380.ebuild | 177 |
2 files changed, 179 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest index a878862b3a7..2decff4c16b 100644 --- a/net-misc/icaclient/Manifest +++ b/net-misc/icaclient/Manifest @@ -1,2 +1,4 @@ DIST linuxx64-13.3.0.344519.tar.gz 17777945 SHA256 9a9ea0ef06f8b76c6f6355df08d522fbe86989bea380a83ac583441d1cd18086 SHA512 f5bf4366fa067740c38b03714719198142dfacac5d4171029e171a54f06f78491f0b3dd68d704acec06a93f453aad0fe5858aa73df4453f41d66bb7522a091f7 WHIRLPOOL e676f2d748c1861c0b767871f25421885e463a3000a97b6b6548f351a2f6d6568e40426cfdb2401c4d0d428f74cf21eaad6c949ececbe6c1466aa9368d2d9eef +DIST linuxx64-13.4.0.10109380.tar.gz 18501208 SHA256 4be6cc707f1040875fb6650f117d1e15aa64c38b86e514f2aba019ac81ce6b8c SHA512 1cfd76df3427b6cc058d0637ac713bffc41bc6cb5407f945bd7422be878a65c4d2cb50e38a7b7f6154187ddd035de789c0025360a41dd8396f1c1e3949329af1 WHIRLPOOL f3b445bb973180377bec9e45af7d928711c35ab860feba1ba696c531d22768e1c82b2886e2b17738721a398abbcc66c4c100b7f3d22d6be588106d912ab4b258 DIST linuxx86-13.3.0.344519.tar.gz 18576528 SHA256 df8d3c97344ac9d64a4af44879eadc0bfb5e2f9af8504511b042eba1d29a6f69 SHA512 d8ee3cd2dc2c9ddab9e75f47e25862a8c0544d01d56f93295af401e7c87abdfb211a4ca6387116c22c00016738aed828754ab93131da55bce977ca932de0b386 WHIRLPOOL 604a52b816869d0a0353bdc74ee748a0bd10d78d7e69369d91b8b865410fbaca01f73ac4bfc4d29a96f954b71b4c537ed260aa982061e9c205a007c74ef8c889 +DIST linuxx86-13.4.0.10109380.tar.gz 19270016 SHA256 f4405da2bdc577c4e6bd2201a5b27102adf580d52f51e4af153a6cec0b75f264 SHA512 7a7173b5562d877d55d2f79a38d8b2da04860648fe6a1552f65b2b1185e4a637d488bd6de557f0ddaa7787a8c434ae0c177b7aab7bff22bd05886a764ee7d5fb WHIRLPOOL 6f8542fd962c26a7469cb5b5cac14079c6246a07b909d8a29ec6b620165e78fbd0e92d42c6e4f6842a5f579f677b0e497d539f50ce1acdf1b5e8c24f25fb7b34 diff --git a/net-misc/icaclient/icaclient-13.4.0.10109380.ebuild b/net-misc/icaclient/icaclient-13.4.0.10109380.ebuild new file mode 100644 index 00000000000..ffbfc59a8ba --- /dev/null +++ b/net-misc/icaclient/icaclient-13.4.0.10109380.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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 fetch" + +ICAROOT="/opt/Citrix/ICAClient" + +QA_PREBUILT="${ICAROOT#/}/*" + +RDEPEND="dev-libs/atk + dev-libs/glib:2 + 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:0.10 + media-libs/gstreamer:0.10 + media-libs/libcanberra[gtk] + media-libs/libogg + media-libs/libvorbis + media-libs/speex + net-dns/libidn + net-libs/libsoup:2.4 + net-libs/webkit-gtk:2 + sys-libs/e2fsprogs-libs + sys-libs/zlib + virtual/krb5 + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXinerama + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + x11-libs/pango" +DEPEND="" + +pkg_nofetch() { + elog "Download the client file ${A} from + https://www.citrix.com/downloads/citrix-receiver.html" + elog "and place it in ${DISTDIR:-/usr/portage/distfiles}." +} + +src_unpack() { + default + + case ${ARCH} in + amd64) + ICAARCH=linuxx64 + ;; + x86) + ICAARCH=linuxx86 + ;; + *) + eerror "Given architecture is not supported by Citrix." + ;; + esac + + S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor" +} + +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.UTF-8/eula.txt + + insinto "${ICAROOT}"/nls/en + doins nls/en.UTF-8/eula.txt + + insinto "${ICAROOT}"/config + doins config/* config/.* nls/en/*.ini + + insinto "${ICAROOT}"/gtk + doins gtk/* + + insinto "${ICAROOT}"/gtk/glade + doins gtk/glade/* + + insinto "${ICAROOT}"/site + doins -r site/* + + 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,storebrowse,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 +} |