diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-08-19 15:04:22 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-08-19 15:05:23 +0200 |
commit | 9e98e77c57999cc2a345ddb98d425fa77b4ef778 (patch) | |
tree | 9497ee355a6ef791197ab12ece5847a4aa404e6e | |
parent | sys-libs/binutils-libs: Stabilize 2.36.1-r2 x86, #809059 (diff) | |
download | gentoo-9e98e77c57999cc2a345ddb98d425fa77b4ef778.tar.gz gentoo-9e98e77c57999cc2a345ddb98d425fa77b4ef778.tar.bz2 gentoo-9e98e77c57999cc2a345ddb98d425fa77b4ef778.zip |
net-misc/icaclient: Bump to version 21.8.0.40
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r-- | net-misc/icaclient/Manifest | 2 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-21.8.0.40.ebuild | 260 |
2 files changed, 262 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest index f17a5c448de7..a72f820a7af4 100644 --- a/net-misc/icaclient/Manifest +++ b/net-misc/icaclient/Manifest @@ -1,4 +1,6 @@ DIST linuxx64-21.4.0.11.tar.gz 143734038 BLAKE2B 4180c4aa10ad058a61c8bf36b8d51e5015f6b17885f194fb6164fa653ae29eb7f473c479b4574de595bf403bfa086f2b94507f724ef2fcc247bd34a98057d3c9 SHA512 f4c65ef2cd6c76c945c99001812039ac0fcf3fe4a6c3c57e511f00c106e7f57640c46f7e3b0f7d1d4438e977a0b505d2c1097a7fb8a58cac7c4ff7f0321d4141 DIST linuxx64-21.6.0.28.tar.gz 145565275 BLAKE2B aed7bae92146d242171007006871d89dadf0d944c342f455d6acf9c6844d27d7c3cbc8bdf92ff46ade692cdce99402c2e6f81c65f547bd07d419140e231ffbd8 SHA512 ebaadc3a1685de583637023152bec3475a6c7ef4399af98b1faab231f9d012edc69d6553d3a89fb1db230376aee65ccfa21d9ffd60e88e18591445a3d45c274c +DIST linuxx64-21.8.0.40.tar.gz 150632410 BLAKE2B a63480e5c5a934a06a66e6754013e6a75a962d36b851c9a43d9dcef6e0dc99aeea1331a547386f72a1700bd1c3b31994506b8c0923656fa7bbf8bedf0bcaf032 SHA512 6673312555d1b391bfadcde72ca6d6439f477a53b1206fae403921f73aa7535e7df56eefc226372ddd7707601368e32c5393f91f8a7ffb68f7c66da88ded128a DIST linuxx86-21.4.0.11.tar.gz 129600902 BLAKE2B 683fea9ca2a7e2073571f9a1b48ae7bd3427aaa8c8d9a5627120bdc08346656f221414cee42c735f84ed4bd4ef88e57af6f80b065cd918ff119fb69ff94c78f6 SHA512 430eea182a1ace3d002ac11e28de311e654212f3a2d59a17707caa0bd4b05154c873c678a34f1fc520b7fc658733805618c8e0c5ed3127bce8a1452aa69fb383 DIST linuxx86-21.6.0.28.tar.gz 130616431 BLAKE2B 461062eb4c52bd51aa323749258ae68e24a1260359c24e81140a47e1fd7768d0f1325ad34c1a700ea82b0f48da904f69b8e4a013b947ae7202f5a4859d14e42c SHA512 42de5dabc2f376a851f276ca2ddf07f58f3620d03e45decf4fa5a478ca8a12e19838d674bb743564ae813c34811aa2e16ec862b77074abe553e19a9329a79370 +DIST linuxx86-21.8.0.40.tar.gz 135966502 BLAKE2B a870cbe584958deeb5727a3994d6bfd93c62f2e6a100c029cd1d5514ee6a8d788ed43b51a6bd01b7ba47f12d40b0669807183717b7231b0cc9b919654279e4ac SHA512 86e82ee8d00604f75e7042989e298a87be48a81717865237e9e0ccdb6def91a4d7f52319773f0a04b31db0b6bcf90a4457355414e62cfb6595511a6679525a66 diff --git a/net-misc/icaclient/icaclient-21.8.0.40.ebuild b/net-misc/icaclient/icaclient-21.8.0.40.ebuild new file mode 100644 index 000000000000..e408e2f73c82 --- /dev/null +++ b/net-misc/icaclient/icaclient-21.8.0.40.ebuild @@ -0,0 +1,260 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop wrapper xdg-utils + +DESCRIPTION="ICA Client for Citrix Presentation servers" +HOMEPAGE="https://www.citrix.com/" +SRC_URI="amd64? ( linuxx64-${PV}.tar.gz ) + x86? ( linuxx86-${PV}.tar.gz )" + +LICENSE="icaclient" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +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=" + app-crypt/libsecret + 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 + sys-apps/util-linux + sys-libs/libcxx + sys-libs/libcxxabi + sys-libs/zlib + virtual/krb5 + virtual/jpeg:0 + virtual/libudev + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXcomposite + x11-libs/libXdamage + 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 + ;; + x86) + ICAARCH=linuxx86 + ;; + *) + eerror "Given architecture is not supported by Citrix." + ;; + esac + + S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor" +} + +src_prepare() { + default + rm lib/UIDialogLibWebKit.so || die + + # We need to avoid module.ini file getting added to the package's + # content because media-plugins/hdx-realtime-media-engine modifies + # this file on installation. See pkg_postinst() + mv nls/en/module.ini "${T}" || die +} + +src_install() { + local bin tmpl dest + + dodir "${ICAROOT}" + + exeinto "${ICAROOT}" + doexe *.DLL libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord + + exeinto "${ICAROOT}"/lib + if use amd64 ; then + rm lib/ctxjpeg_fb_8.so || die + fi + 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 + # nls/en/*.ini is being handled by pkg_postinst() + doins config/* config/.* + 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 + + local util_files=( + configmgr + conncenter + ctx_app_bind + ctx_rehash + ctxlogd + ctxwebhelper + gst_play1.0 + gst_read1.0 + hdxcheck.sh + icalicense.sh + libgstflatstm1.0.so + lurdump + new_store + nslaunch + setlog + storebrowse + sunraymac.sh + webcontainer + what + xcapture + ) + + exeinto "${ICAROOT}"/util + for bin in ${util_files[@]} ; do + doexe util/${bin} + done + + local other_files=( + icasessionmgr + NativeMessagingHost + UtilDaemon + ) + + exeinto "${ICAROOT}" + for bin in ${other_files[@]} ; do + doexe ${bin} + done + + # 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 + + insinto "${ICAROOT}"/pkginf + newins "${WORKDIR}"/PkgId Ver.core."${ICAARCH}" + + # 651926 + domenu "${FILESDIR}"/*.desktop +} + +pkg_postinst() { + xdg_desktop_database_update + + local inidest="${BROOT}${ICAROOT}/config" + if [[ ! -e "${inidest}"/module.ini ]] ; then + mv "${T}"/module.ini "${inidest}/" \ + || ewarn 'Failed to install plugin.ini file' + fi +} + +pkg_postrm() { + xdg_desktop_database_update +} |