Mercurial > hg > portage
changeset 487:6df6fb0af440
ebuild for newer citrix desktop client
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 08 Oct 2019 10:06:50 +0200 |
parents | 6ed1ab937e60 |
children | 093472aabdbc |
files | net-misc/icaclient/Manifest net-misc/icaclient/files/10ICAClient net-misc/icaclient/files/configmgr.desktop net-misc/icaclient/files/conncenter.desktop net-misc/icaclient/files/new_store.desktop net-misc/icaclient/files/selfservice.desktop net-misc/icaclient/files/wfica.desktop net-misc/icaclient/icaclient-19.10.0.15.ebuild |
diffstat | 8 files changed, 258 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/Manifest Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,8 @@ +AUX 10ICAClient 61 BLAKE2B e2da5a69886dba37e8ccc9a4212cff2504a73a9a9da3c6f22f5ffe58e6661afce2858e224bbfdfde48e76b4cde4c0822da9b7ef39c357a3a3730a98d1f775c26 SHA512 a1eb61dcd636aab9770561d141241ae214870341ed85129e385509350cddb8f559eccbafd6832d000283d1a8ef0d7faf42910c76013d3cf97c8d4f036cd48957 +AUX configmgr.desktop 191 BLAKE2B 891069f75757cbe800053ee89e59c8eda2ce161a79a91def6895d3ce6b004b75395c167e88adb361a1f4ea5ff9b7a6b23a250a3d5a70c6fe4b875cc23a8ba8ff SHA512 ccb45da870e68e090ceb454ae4ef317e8834d2d0764ee3494dc3252b039be413ae27a27142040a130f2bcdd5a88d12bf598a432d31e0aa40581a5b682519aa96 +AUX conncenter.desktop 194 BLAKE2B 96fdae8892ec9cef05a92e129bba42efb666874a2a2187be7598398c25d5e66dfaad932b893eea5b0d9d2a5b89d58b04e63811bfa03887da92d44c78b5cb0fc1 SHA512 53939f018a453b0cf40731af36ad55545f517a66d011dac2ccf0cf3f318f63f026e632e951b7c55e15d5f1841f23d0ad8ab4bc5adfb1ea92c9cb720c14af0261 +AUX new_store.desktop 235 BLAKE2B 43bbf97a6982485e8b21f30c15889d64063ef0ce294b0695b368c08600af8a5a7764ee09ae7fe5d7f9c105d1217cae37fc2211542535ce31cea5d2b9f36d996f SHA512 a2857ecadeceb1252039f02e779a3d366cb863758802fc2927b9edd44a6580ba175db8ce332e3cbdd4ab0354fc0144432934abf8fed9f68c3e1a639775613258 +AUX selfservice.desktop 183 BLAKE2B 45d0830601ceac5159e239ec149cf3cdeabd43beb2ad6964935129fad6cd2c2e7c36cfc473e89b5db3b3b6cce2df909dd6013c3463631a7d868b470a49494285 SHA512 c4a2bdd83a29171c331b8adc98b33b8150fef5616d1fde8a0c9ccf1972b8ecc222dc1c0bc4e7779d93b851f44e79f5166138af7b7d36de964932ff3b63a4801b +AUX wfica.desktop 242 BLAKE2B 6e90bb02824a6319035814050919c55907b2104c65e2abcc7379a4c694a585945c2e10ada114c4dfb906ee3b1fa90a0251dcb1ec3aac1fb6015a2d2ecbef4452 SHA512 a233bbdfadaee080d8dda67ed81a60ef74902c1f2100cb08bc402186be23f1bbb82f84abb93da88d610d187a267f7db28e6bfebe689839c921ae5a94a4bdf1d7 +DIST linuxx64-19.10.0.15.tar.gz 102164402 BLAKE2B d432c0addc7dc01f371dbede8125d134c82b985b359afa9d91c23b4916976f19513e6b72bac969526879ff6f3de56ab1898f729123274af93273526138553653 SHA512 0244e09bbb4b7f1c53170127215a94b87754ab633d75100e8af4777d3013344c3a06f6ec3080e9c77bd5bf54b117ac520ff04aa349e9b291cb041b06903da71b +EBUILD icaclient-19.10.0.15.ebuild 4493 BLAKE2B f797c8bff45a66ed7334f3b20240573b8894ed9689c676a17595b3e4fcfcde0209751c6922471c266f4d378975a91ca7ce16d29ad7380069491bca914a0b84c7 SHA512 93eb70cee1e33b776903cca71bacf4a256bd33faebfe464fbd81cca4fc68b9057fce5bd949bcd6e5c78d78a0bd1ba856a04a809fe4fe59b86ed4b3ff60c65d2c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/files/10ICAClient Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,2 @@ +ROOTPATH=/opt/Citrix/ICAClient +ICAROOT=/opt/Citrix/ICAClient
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/files/configmgr.desktop Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver (configmgr) +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=configmgr +Exec=configmgr
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/files/conncenter.desktop Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver (conncenter) +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=conncenter +Exec=conncenter
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/files/new_store.desktop Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Add Citrix Store +MimeType=application/vnd.citrix.receiver.configure; +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=new_store +Exec=new_store %f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/files/selfservice.desktop Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver +Categories=Network; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=selfservice +Exec=selfservice
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/files/wfica.desktop Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Citrix Receiver Engine +StartupWMClass=Wfica +NoDisplay=true +Categories=Network; +MimeType=application/x-ica; +Icon=/opt/Citrix/ICAClient/icons/manager.png +TryExec=wfica +Exec=wfica
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-misc/icaclient/icaclient-19.10.0.15.ebuild Tue Oct 08 10:06:50 2019 +0200 @@ -0,0 +1,199 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# eutils inherit required for make_wrapper call +inherit desktop eutils multilib xdg-utils + +DESCRIPTION="ICA Client for Citrix Presentation servers" +HOMEPAGE="https://www.citrix.com/" +SRC_URI="amd64? ( linuxx64-${PV}.tar.gz )" + +LICENSE="icaclient" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="l10n_de l10n_es l10n_fr l10n_ja l10n_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/libogg + media-libs/libvorbis + media-libs/speex + net-libs/libsoup:2.4 + net-libs/webkit-gtk:4 + net-misc/curl + sys-libs/e2fsprogs-libs + sys-libs/zlib + virtual/krb5 + virtual/jpeg:0 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + 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/workspace-app/" + elog "and place it into your DISTDIR directory." +} + +pkg_setup() { + case ${ARCH} in + amd64) + ICAARCH=linuxx64 + ;; + *) + eerror "Given architecture is not supported by Citrix." + ;; + esac + + S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor" +} + +src_prepare() { + default + rm lib/UIDialogLibWebKit.so || die +} + +src_install() { + local bin tmpl dest + + dodir "${ICAROOT}" + + exeinto "${ICAROOT}" + doexe *.DLL libAnalyticsInterfacePd.so libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord + + exeinto "${ICAROOT}"/lib + doexe lib/*.so + + 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/* + + local lang LANGCODES=( en ) + use l10n_de && LANGCODES+=( de ) + use l10n_es && LANGCODES+=( es ) + use l10n_fr && LANGCODES+=( fr ) + use l10n_ja && LANGCODES+=( ja ) + use l10n_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,webcontainer,ctxwebhelper,ctx_rehash,ctx_app_bind} + doexe util/{lurdump,new_store,nslaunch,pnabrowse,storebrowse,sunraymac.sh,what,xcapture} + + # https://bugs.gentoo.org/655922 + dosym gst_play1.0 "${ICAROOT}"/util/gst_play + dosym gst_read1.0 "${ICAROOT}"/util/gst_read + dosym libgstflatstm1.0.so "${ICAROOT}"/util/libgstflatstm.so + + doenvd "${FILESDIR}"/10ICAClient + + for bin in configmgr conncenter new_store ; do + make_wrapper ${bin} "${ICAROOT}"/util/${bin} . "${ICAROOT}"/util + done + + for bin in selfservice wfica ; do + make_wrapper ${bin} "${ICAROOT}"/${bin} . "${ICAROOT}" + done + + dodir /etc/revdep-rebuild/ + echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" \ + > "${ED}"/etc/revdep-rebuild/70icaclient + + # 651926 + domenu "${FILESDIR}"/*.desktop +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}