annotate net-misc/icaclient/icaclient-19.10.0.15.ebuild @ 553:c1392389cf02

Remove old kernels
author Dirk Olmes <dirk.olmes@codedo.de>
date Fri, 28 May 2021 07:42:57 +0200
parents 6df6fb0af440
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
487
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2019 Gentoo Authors
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 EAPI=7
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 # eutils inherit required for make_wrapper call
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 inherit desktop eutils multilib xdg-utils
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 DESCRIPTION="ICA Client for Citrix Presentation servers"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="https://www.citrix.com/"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="amd64? ( linuxx64-${PV}.tar.gz )"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 LICENSE="icaclient"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 SLOT="0"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 KEYWORDS="-* ~amd64"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 IUSE="l10n_de l10n_es l10n_fr l10n_ja l10n_zh-CN"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 RESTRICT="mirror strip userpriv fetch"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 ICAROOT="/opt/Citrix/ICAClient"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 QA_PREBUILT="${ICAROOT#/}/*"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 RDEPEND="
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 dev-libs/atk
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 dev-libs/glib:2
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 dev-libs/libxml2
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 media-fonts/font-adobe-100dpi
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 media-fonts/font-misc-misc
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 media-fonts/font-cursor-misc
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 media-fonts/font-xfree86-type1
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 media-fonts/font-misc-ethiopic
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 media-libs/alsa-lib
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 media-libs/fontconfig
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 media-libs/freetype
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35 media-libs/gst-plugins-base:1.0
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 media-libs/gstreamer:1.0
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 media-libs/libogg
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 media-libs/libvorbis
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 media-libs/speex
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 net-libs/libsoup:2.4
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41 net-libs/webkit-gtk:4
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 net-misc/curl
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 sys-libs/e2fsprogs-libs
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 sys-libs/zlib
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
45 virtual/krb5
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
46 virtual/jpeg:0
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
47 x11-libs/cairo
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
48 x11-libs/gdk-pixbuf:2
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
49 x11-libs/gtk+:2
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
50 x11-libs/gtk+:3
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
51 x11-libs/libX11
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
52 x11-libs/libXaw
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
53 x11-libs/libXext
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
54 x11-libs/libXfixes
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
55 x11-libs/libXinerama
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
56 x11-libs/libXmu
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
57 x11-libs/libXrender
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
58 x11-libs/libXt
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
59 x11-libs/pango
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
60 "
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
61 DEPEND=""
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
62
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
63 pkg_nofetch() {
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
64 elog "Download the client file ${A} from
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
65 https://www.citrix.com/downloads/workspace-app/"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
66 elog "and place it into your DISTDIR directory."
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
67 }
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
68
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
69 pkg_setup() {
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
70 case ${ARCH} in
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
71 amd64)
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
72 ICAARCH=linuxx64
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
73 ;;
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
74 *)
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
75 eerror "Given architecture is not supported by Citrix."
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
76 ;;
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
77 esac
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
78
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
79 S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
80 }
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
81
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
82 src_prepare() {
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
83 default
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
84 rm lib/UIDialogLibWebKit.so || die
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
85 }
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
86
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
87 src_install() {
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
88 local bin tmpl dest
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
89
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
90 dodir "${ICAROOT}"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
91
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
92 exeinto "${ICAROOT}"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
93 doexe *.DLL libAnalyticsInterfacePd.so libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
94
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
95 exeinto "${ICAROOT}"/lib
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
96 doexe lib/*.so
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
97
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
98 for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
99 insinto "${dest}"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
100 doins nls/en.UTF-8/eula.txt
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
101 done
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
102
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
103 insinto "${ICAROOT}"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
104 doins -r usb
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
105
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
106 insinto "${ICAROOT}"/config
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
107 doins config/* config/.* nls/en/*.ini
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
108 for tmpl in {appsrv,wfclient}.template ; do
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
109 newins nls/en/${tmpl} ${tmpl/template/ini}
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
110 done
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
111 touch "${ED}/${ICAROOT}"/config/.server || die
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
112
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
113 insinto "${ICAROOT}"/gtk
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
114 doins gtk/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
115
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
116 insinto "${ICAROOT}"/gtk/glade
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
117 doins gtk/glade/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
118
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
119 insinto "${ICAROOT}"/site
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
120 doins -r site/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
121
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
122 dodir "${ICAROOT}"/help
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
123
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
124 insinto "${ICAROOT}"/config/usertemplate
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
125 doins config/usertemplate/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
126
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
127 local lang LANGCODES=( en )
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
128 use l10n_de && LANGCODES+=( de )
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
129 use l10n_es && LANGCODES+=( es )
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
130 use l10n_fr && LANGCODES+=( fr )
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
131 use l10n_ja && LANGCODES+=( ja )
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
132 use l10n_zh-CN && LANGCODES+=( zh_CN )
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
133
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
134 for lang in ${LANGCODES[@]} ; do
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
135 insinto "${ICAROOT}"/nls/${lang}
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
136 doins nls/${lang}/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
137
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
138 insinto "${ICAROOT}"/nls/$lang/UTF-8
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
139 doins nls/${lang}.UTF-8/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
140
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
141 insinto "${ICAROOT}"/nls/${lang}/LC_MESSAGES
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
142 doins nls/${lang}/LC_MESSAGES/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
143
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
144 insinto "${ICAROOT}"/nls/${lang}
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
145 dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
146
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
147 for tmpl in {appsrv,wfclient}.template ; do
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
148 cp "${ED}/${ICAROOT}"/nls/${lang}/${tmpl} \
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
149 "${ED}/${ICAROOT}"/nls/${lang}/${tmpl/template/ini} \
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
150 || die
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
151 done
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
152 done
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
153
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
154 insinto "${ICAROOT}"/nls
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
155 dosym en /opt/Citrix/ICAClient/nls/C
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
156
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
157 insinto "${ICAROOT}"/icons
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
158 doins icons/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
159
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
160 insinto "${ICAROOT}"/keyboard
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
161 doins keyboard/*
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
162
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
163 rm -r "${S}"/keystore/cacerts || die
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
164 dosym /etc/ssl/certs "${ICAROOT}"/keystore/cacerts
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
165
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
166 exeinto "${ICAROOT}"/util
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
167 doexe util/{configmgr,conncenter,gst_play1.0,gst_read1.0,hdxcheck.sh,icalicense.sh,libgstflatstm1.0.so,webcontainer,ctxwebhelper,ctx_rehash,ctx_app_bind}
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
168 doexe util/{lurdump,new_store,nslaunch,pnabrowse,storebrowse,sunraymac.sh,what,xcapture}
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
169
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
170 # https://bugs.gentoo.org/655922
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
171 dosym gst_play1.0 "${ICAROOT}"/util/gst_play
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
172 dosym gst_read1.0 "${ICAROOT}"/util/gst_read
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
173 dosym libgstflatstm1.0.so "${ICAROOT}"/util/libgstflatstm.so
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
174
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
175 doenvd "${FILESDIR}"/10ICAClient
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
176
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
177 for bin in configmgr conncenter new_store ; do
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
178 make_wrapper ${bin} "${ICAROOT}"/util/${bin} . "${ICAROOT}"/util
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
179 done
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
180
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
181 for bin in selfservice wfica ; do
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
182 make_wrapper ${bin} "${ICAROOT}"/${bin} . "${ICAROOT}"
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
183 done
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
184
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
185 dodir /etc/revdep-rebuild/
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
186 echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" \
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
187 > "${ED}"/etc/revdep-rebuild/70icaclient
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
188
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
189 # 651926
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
190 domenu "${FILESDIR}"/*.desktop
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
191 }
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
192
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
193 pkg_postinst() {
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
194 xdg_desktop_database_update
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
195 }
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
196
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
197 pkg_postrm() {
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
198 xdg_desktop_database_update
6df6fb0af440 ebuild for newer citrix desktop client
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
199 }