diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-04 10:45:06 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-10-04 10:45:06 +0200 |
commit | d687f07c5ec421d08fff7aaad4b9b37356a8b1db (patch) | |
tree | 3e74b45df096cc768ef3aee730656bcb0e4c376a /net-misc/icaclient | |
parent | sys-apps/util-linux: Bump to version 2.31_rc2 (diff) | |
download | gentoo-d687f07c5ec421d08fff7aaad4b9b37356a8b1db.tar.gz gentoo-d687f07c5ec421d08fff7aaad4b9b37356a8b1db.tar.bz2 gentoo-d687f07c5ec421d08fff7aaad4b9b37356a8b1db.zip |
net-misc/icaclient: Bump to version 13.7.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r-- | net-misc/icaclient/Manifest | 2 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-13.7.0.10276925.ebuild | 200 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-13.7.0.10276927.ebuild | 200 |
3 files changed, 402 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest index 629059c0d0d6..29e628a61ddd 100644 --- a/net-misc/icaclient/Manifest +++ b/net-misc/icaclient/Manifest @@ -1,4 +1,6 @@ DIST linuxx64-13.5.0.10185126.tar.gz 19265973 SHA256 9db45bd1e269d57c00375fdc8f315aa15d91be3be09e546c491f307627ac44e4 SHA512 1e35a38c1e272cab7d6b3358691c10aca4ca74c5e6c5c9f1431368f7d4f451018aa8b311e715593226280e5f42b06714bd689d571793cd8a621c8a6ee74977f1 WHIRLPOOL e5a4c60ea17bb57eaf4710b6aa8a4e7448a95af9440140243dcf44f31c254bd8dcde792f862612eecdedc13fa3b76723ed0142af15eae060049a66be1f95db31 DIST linuxx64-13.6.0.10243651.tar.gz 20685306 SHA256 6e423be41d5bb8186bcca3fbb4ede54dc3f00b8d2aeb216ae4aabffef9310d34 SHA512 e28e417a3a4e8d292b243d894f954692a6042adc0851c595ae25107ac9d6e84cc8e6d232c759ba2a45d9571b3f673e0e3f8431bb6736508f310f990799e6f58f WHIRLPOOL 3a74736590ec4d60c99632ceb41a3ba90585bb02fcba1d7236b463185f71688bb4d3e935256a005a5d82819e1d747b8250fe25704c6bf62c7fc5ebe72124d3ac +DIST linuxx64-13.7.0.10276927.tar.gz 19647618 SHA256 18fb374b9fb8e249b79178500dddca7a1f275411c6537e7695da5dcf19c5ba91 SHA512 30b05ca67ed5d53d01bd8e83473f9b71613562186c40479797d19ad665f9d73ba43f2af974878b78d9d86c67b7b5c6e88701427daaf0a46c45e13ba915e0fe58 WHIRLPOOL 0ca4763f03a491e0bf4ce849f8a172d6daa56dc6db0725c0c175665abeebf158caad258b8775c0d92953cf71aa16e08d2f07cb0f0bcf37956833bf33c8297789 DIST linuxx86-13.5.0.10185126.tar.gz 20090951 SHA256 a1d9e03931b9d8b6ad3be6de07bafc902a52eaf23e27c90ca2137e9f29d49d5f SHA512 4003fd93197db190b519d4668622b447f42c7aa705bf692db2a4d24514d453c70b8e42d1d9762225720e51e2f15f006cdfaa57ba5a17b38f781c64ad93582b75 WHIRLPOOL 6bc515e78b874a84cbfbaa21e8af04d6b29334a5750a9eb009733726330741a2a3df75a6cf8ef87bf48f220feebb9b2204ed90707cb54106a65fdf4b160e190f DIST linuxx86-13.6.0.10243651.tar.gz 22560063 SHA256 0ba3eba208b37844904d540b3011075ed5cecf429a0ab6c6cd52f2d0fd841ad2 SHA512 06fd3d738be851c8b75790bf5dac3897b71ebffb028864119a43053ab45815c6ffb04d3b8e37d79673d85179034d22da923e2972dc12807ac409e087e18919cd WHIRLPOOL eee6d5aaaf3c1164541d21d29a381ef9610110eb314117613447adb65033be6c43ff17444ac8e745b006c674e64e107eee7d7efaf479434d925bfe354b2b3084 +DIST linuxx86-13.7.0.10276925.tar.gz 21531393 SHA256 4c68723b0327cf6f12da824056fce2b7853c38e6163a48c9d222b93dd8da75b6 SHA512 7fb6efffe0fc7681197de00a86e15c7b2de30bcd8c581d4da59a8fdebcea4f2da41ad1f573e81761c5bcf554718a75716aa75b28b8c3ac77461246a5c9f48cd1 WHIRLPOOL 9fd4c92613a369856d8251d86b923bdb79794cdcae2c17364f09df36b0501f6ed2890e4c6c2297f8c346157b4653524e2c7c28ca9caa2e2eaafd220e91b5f856 diff --git a/net-misc/icaclient/icaclient-13.7.0.10276925.ebuild b/net-misc/icaclient/icaclient-13.7.0.10276925.ebuild new file mode 100644 index 000000000000..dd9cf49c6f73 --- /dev/null +++ b/net-misc/icaclient/icaclient-13.7.0.10276925.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2017 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 ) +SRC_URI="x86? ( linuxx86-${PV}.tar.gz )" + +LICENSE="icaclient" +SLOT="0" +KEYWORDS="-* ~x86" +IUSE="gstreamer010 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 + 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 + gstreamer010? ( + media-libs/gst-plugins-base:0.10 + media-libs/gstreamer:0.10 + ) +" +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 + # echo_cmd, gst_aud_play and gst_aud_read still require gst-0.10 + if use gstreamer010 ; then + doexe util/{echo_cmd,gst_aud_play,gst_aud_read,gst_play0.10,gst_read0.10,libgstflatstm0.10.so} + fi + 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 +} diff --git a/net-misc/icaclient/icaclient-13.7.0.10276927.ebuild b/net-misc/icaclient/icaclient-13.7.0.10276927.ebuild new file mode 100644 index 000000000000..cdd7f6ba8c6a --- /dev/null +++ b/net-misc/icaclient/icaclient-13.7.0.10276927.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2017 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" +IUSE="gstreamer010 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 + 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 + gstreamer010? ( + media-libs/gst-plugins-base:0.10 + media-libs/gstreamer:0.10 + ) +" +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 + # echo_cmd, gst_aud_play and gst_aud_read still require gst-0.10 + if use gstreamer010 ; then + doexe util/{echo_cmd,gst_aud_play,gst_aud_read,gst_play0.10,gst_read0.10,libgstflatstm0.10.so} + fi + 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 +} |