diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-12 16:20:56 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-12 16:22:18 +0100 |
commit | ee28e1052b13cd9985206d43abe5940f0ce6cdf9 (patch) | |
tree | 1c96aa00ebec5c1bf0b335915da29530dcd8bdd1 /net-misc | |
parent | dev-vcs/tortoisehg: live, add PYTHON_COMPAT python3_9 (diff) | |
download | gentoo-ee28e1052b13cd9985206d43abe5940f0ce6cdf9.tar.gz gentoo-ee28e1052b13cd9985206d43abe5940f0ce6cdf9.tar.bz2 gentoo-ee28e1052b13cd9985206d43abe5940f0ce6cdf9.zip |
net-misc/icaclient: Bump to version 21.3.0.38
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/icaclient/Manifest | 2 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-21.3.0.38.ebuild | 250 |
2 files changed, 252 insertions, 0 deletions
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest index 907d59f83060..0ce4f46f2547 100644 --- a/net-misc/icaclient/Manifest +++ b/net-misc/icaclient/Manifest @@ -1,4 +1,6 @@ DIST linuxx64-20.12.0.12.tar.gz 120763336 BLAKE2B 4db068617ce7f47351bf8d0b964f00719705090d7a805eccaca3823648852fa12b894aa2f55d5abc0c6936ee01204bc2967488368797d081f6fd97f1a1cb25b8 SHA512 9bc6fd49dea450269ac9f70c20fa5b6a3fb7812e83005063ce5a32032d02a2283d13fa25e64a426c1b7e7cce717a3c4dd0ce2903a51a12758f7f7c3efb558ae6 DIST linuxx64-21.1.0.14.tar.gz 143364053 BLAKE2B 1835d597ebdf392c900862527424b146cf8dfbc8150cf76004a3c94cfb2ecd214b60c974c55110c90b958dc5bfae11c3bc5923aaa88f1840d5714a88b9d15b9f SHA512 817e1318302475a32e1ba718f2a5279ce70b033de1b384fa0ffb7b2a225b1eb788f70b83fd55f5ba9a66a98500c0c30a44bdc06f85f61c84e28cd1cd95a49d32 +DIST linuxx64-21.3.0.38.tar.gz 143339036 BLAKE2B 645d9518b1e47e553aae8fe90ecf0d9f9e0523adb8cfcb692f500b28c63220d05361215072ea7a3de700068dd644585fac0169099b860ba4d4a662fe9b7ff5e5 SHA512 1f004a2c154281b71b919053fdcb5ca83c93a5047a8fc8bbe3acb53b78ccac8ca446dc5aa23495a5a69ef07107d3f1b9749994dcb95c2beeee735d57afcebf20 DIST linuxx86-20.12.0.12.tar.gz 110107767 BLAKE2B 1958eb57622be69edb95ac2c0389f5dd98141bc92899d876b3c4911629c63a3d5b21bb2c7296975a41afbcc321b733fd05a6874ff4b03d79ff3c4aa6a1a44ec9 SHA512 e976ba3c00bbb16aa1039ac510fdb6118c1353e9ba4a67b4ac553896b6b51346d16ae8a569ddfbbc3ab89f89b1759789e2bb88e397611140e5caf11709917d98 DIST linuxx86-21.1.0.14.tar.gz 120010131 BLAKE2B 1e9380509cbbcd1849b0e306224447ad64d86717e636387eb3368eae318921b025029852c5f89a1ab1ca295d1a33ef4741468dcb00f3ffd7d442d8cf3d43a945 SHA512 7e8f6646262b2d59f08ed8a200b7fd71e029066210facba99eeb003c59ec1a543180a8e05d403aecc668b3f992b08198a567fbad86ba3a16b391afb30b453413 +DIST linuxx86-21.3.0.38.tar.gz 129220087 BLAKE2B 9e85e74b34546ead052c9b9eacc59e32d5422b2afc31886d34c09596d27e4c792dd77338b936dbefb270219673e612a73908705b1d886d6f61a40e430c14b730 SHA512 354fff11dbb150e4b4e94d09dd288d1ff39b518f6d278dc33d645699d3ee0690ca93a86289921c4fc3e91d2cc5f1bbb28e4179d8672e17d02923851e22772d71 diff --git a/net-misc/icaclient/icaclient-21.3.0.38.ebuild b/net-misc/icaclient/icaclient-21.3.0.38.ebuild new file mode 100644 index 000000000000..2792d9de7463 --- /dev/null +++ b/net-misc/icaclient/icaclient-21.3.0.38.ebuild @@ -0,0 +1,250 @@ +# Copyright 1999-2021 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 ) + 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 + + # 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 +} |