diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-02 08:52:54 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-02 09:06:22 +0100 |
commit | 4665797064fedb4351e689bdb6013059bbe61f8b (patch) | |
tree | 31068fbbbc74bbae3defe3af764bed32fff4b2d6 /net-misc/icaclient | |
parent | net-misc/babeld: initial commit. (diff) | |
download | gentoo-4665797064fedb4351e689bdb6013059bbe61f8b.tar.gz gentoo-4665797064fedb4351e689bdb6013059bbe61f8b.tar.bz2 gentoo-4665797064fedb4351e689bdb6013059bbe61f8b.zip |
net-misc/icaclient: Bump to version 13.8.0.10299729
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r-- | net-misc/icaclient/Manifest | 2 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-13.8.0.10299729.ebuild | 191 |
2 files changed, 193 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest index 88d37f11b679..91a46e8d61b8 100644 --- a/net-misc/icaclient/Manifest +++ b/net-misc/icaclient/Manifest @@ -1,4 +1,6 @@ DIST linuxx64-13.6.0.10243651.tar.gz 20685306 BLAKE2B 75c963cbbc1a907697938b0ffa82908a17a2aa0d6ba883b2f850a8f30d7d6e7ca78688ed3ee3a143644a76e956fa3255627ff5bdf925d865a8feecd63cdd4ba5 SHA512 e28e417a3a4e8d292b243d894f954692a6042adc0851c595ae25107ac9d6e84cc8e6d232c759ba2a45d9571b3f673e0e3f8431bb6736508f310f990799e6f58f DIST linuxx64-13.7.0.10276927.tar.gz 19647618 BLAKE2B 28106ee1223ad41b2a73f2b115bdec52cf87cb851cf8f481082ba24c5d6fc87f381d01c7170f15ac300f1e4656a5637cb579fa291712d32704ff8ca9fcd8a3bc SHA512 30b05ca67ed5d53d01bd8e83473f9b71613562186c40479797d19ad665f9d73ba43f2af974878b78d9d86c67b7b5c6e88701427daaf0a46c45e13ba915e0fe58 +DIST linuxx64-13.8.0.10299729.tar.gz 19855914 BLAKE2B 62029b75a2c77f3c58ca272a3cf8b91094f1328e9378ae66bf38ea94b7a0d14ccee392efd983cd1f2c7af822d488358b1db7c97569f866cb0381c9f5b3188bb8 SHA512 dc43587b7ca35d12ff2772618f8fa1154ee26081e315d381cf603976a7c2f4e395c8d8f134f7ad7238a3c390fdb085291f92ff3da2b4755d903fcd15d0c738df DIST linuxx86-13.6.0.10243651.tar.gz 22560063 BLAKE2B eb5eb856045c25aed317308de950bfb9e91c155b9e1f4fc36d7385a96eef2c19a8504b8138d227a8d41e319f59edd4b9523ccf59c600f096c26d317d18dc6799 SHA512 06fd3d738be851c8b75790bf5dac3897b71ebffb028864119a43053ab45815c6ffb04d3b8e37d79673d85179034d22da923e2972dc12807ac409e087e18919cd DIST linuxx86-13.7.0.10276925.tar.gz 21531393 BLAKE2B 31c132358c9ef7c8bc9b413084867fc1885e3f8939b2793c2166aaea39c1e309c9ad22521db16680bd0b816f81999d505645cd3ea97a7491b5b8cc20e915f1de SHA512 7fb6efffe0fc7681197de00a86e15c7b2de30bcd8c581d4da59a8fdebcea4f2da41ad1f573e81761c5bcf554718a75716aa75b28b8c3ac77461246a5c9f48cd1 +DIST linuxx86-13.8.0.10299729.tar.gz 21763683 BLAKE2B fb8238dd256bbeff59df73e1ee495579ffa315d5d38d857436ebdafc2d5e4f9e3bf3c760a66005fbd82657ddbe418849a28532b15b757937d0892e4be33a1905 SHA512 7e6c70e3600cc56c85722f37e473cf3c422daded0f7e755c47bf8b17f224be0676f5ef09c594c058eae6760dc4633c13a02f4d75c3870a4a10a04d29159a670a diff --git a/net-misc/icaclient/icaclient-13.8.0.10299729.ebuild b/net-misc/icaclient/icaclient-13.8.0.10299729.ebuild new file mode 100644 index 000000000000..590f4019bb37 --- /dev/null +++ b/net-misc/icaclient/icaclient-13.8.0.10299729.ebuild @@ -0,0 +1,191 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 userpriv 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:1.0 + media-libs/gstreamer:1.0 + media-libs/libcanberra[gtk] + media-libs/libogg + media-libs/libvorbis + media-libs/speex + net-dns/libidn + net-libs/libsoup:2.4 + 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() { + local tmpl dest + + dodir "${ICAROOT}" + + exeinto "${ICAROOT}" + doexe *.DLL 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 + + for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do + insinto "${dest}" + doins nls/en.UTF-8/eula.txt + done + + insinto "${ICAROOT}" + doins -r usb + + insinto "${ICAROOT}"/config + doins config/* config/.* nls/en/*.ini + for tmpl in {appsrv,wfclient}.template ; do + newins nls/en/${tmpl} ${tmpl/template/ini} + done + touch "${ED}/${ICAROOT}"/config/.server || die + + 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 + + for tmpl in {appsrv,wfclient}.template ; do + cp "${ED}/${ICAROOT}"/nls/${lang}/${tmpl} \ + "${ED}/${ICAROOT}"/nls/${lang}/${tmpl/template/ini} \ + || die + done + 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,gst_play1.0,gst_read1.0,hdxcheck.sh,icalicense.sh,libgstflatstm1.0.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 +} |