Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/icaclient/
Date: Sat, 28 May 2016 09:32:30
Message-Id: 1464427888.52ec69d6f89e25e1b9e1cc5d702658bad82f6216.pacho@gentoo
1 commit: 52ec69d6f89e25e1b9e1cc5d702658bad82f6216
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 28 09:28:40 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat May 28 09:31:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ec69d6
7
8 net-misc/icaclient: drop old
9
10 Package-Manager: portage-2.3.0_rc1
11
12 net-misc/icaclient/icaclient-13.3.0.344519.ebuild | 159 ----------------------
13 1 file changed, 159 deletions(-)
14
15 diff --git a/net-misc/icaclient/icaclient-13.3.0.344519.ebuild b/net-misc/icaclient/icaclient-13.3.0.344519.ebuild
16 deleted file mode 100644
17 index ccc672d..0000000
18 --- a/net-misc/icaclient/icaclient-13.3.0.344519.ebuild
19 +++ /dev/null
20 @@ -1,159 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -
27 -inherit multilib eutils versionator
28 -
29 -DESCRIPTION="ICA Client for Citrix Presentation servers"
30 -HOMEPAGE="http://www.citrix.com/"
31 -SRC_URI="amd64? ( linuxx64-${PV}.tar.gz )
32 - x86? ( linuxx86-${PV}.tar.gz )"
33 -
34 -LICENSE="icaclient"
35 -SLOT="0"
36 -KEYWORDS="-* ~amd64 ~x86"
37 -IUSE="nsplugin linguas_de linguas_es linguas_fr linguas_ja linguas_zh_CN"
38 -RESTRICT="mirror strip userpriv fetch"
39 -
40 -ICAROOT="/opt/Citrix/ICAClient"
41 -
42 -QA_PREBUILT="${ICAROOT#/}/*"
43 -
44 -RDEPEND="dev-libs/atk
45 - dev-libs/glib
46 - dev-libs/libxml2
47 - media-fonts/font-adobe-100dpi
48 - media-fonts/font-misc-misc
49 - media-fonts/font-cursor-misc
50 - media-fonts/font-xfree86-type1
51 - media-fonts/font-misc-ethiopic
52 - media-libs/alsa-lib
53 - media-libs/fontconfig
54 - media-libs/freetype
55 - media-libs/gst-plugins-base:0.10
56 - media-libs/gstreamer:0.10
57 - media-libs/libcanberra[gtk]
58 - media-libs/libogg
59 - media-libs/libpng:1.2
60 - media-libs/libvorbis
61 - media-libs/speex
62 - virtual/krb5
63 - x11-libs/cairo
64 - x11-libs/gdk-pixbuf
65 - x11-libs/gtk+:2
66 - x11-libs/libX11
67 - x11-libs/libXaw
68 - x11-libs/libXext
69 - x11-libs/libXinerama
70 - x11-libs/libXmu
71 - x11-libs/libXrender
72 - x11-libs/libXt
73 - x11-libs/pango"
74 -DEPEND=""
75 -
76 -pkg_nofetch() {
77 - elog "Download the client file ${A} from
78 - https://www.citrix.com/downloads/citrix-receiver.html"
79 - elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
80 -}
81 -
82 -src_unpack() {
83 - default
84 -
85 - if use amd64 ; then
86 - ICAARCH=linuxx64
87 - elif use x86 ; then
88 - ICAARCH=linuxx86
89 - fi
90 - S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
91 -}
92 -
93 -src_install() {
94 - dodir "${ICAROOT}"
95 -
96 - exeinto "${ICAROOT}"
97 - doexe *.DLL libctxssl.so libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord
98 -
99 - exeinto "${ICAROOT}"/lib
100 - doexe lib/*.so
101 -
102 - if use nsplugin ; then
103 - exeinto "${ICAROOT}"
104 - doexe npica.so
105 - dosym "${ICAROOT}"/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
106 - fi
107 -
108 - insinto "${ICAROOT}"
109 - doins nls/en.UTF-8/eula.txt
110 -
111 - insinto "${ICAROOT}"/config
112 - doins config/* config/.* nls/en/*.ini
113 -
114 - insinto "${ICAROOT}"/gtk
115 - doins gtk/*
116 -
117 - insinto "${ICAROOT}"/gtk/glade
118 - doins gtk/glade/*
119 -
120 - dodir "${ICAROOT}"/help
121 -
122 - insinto "${ICAROOT}"/config/usertemplate
123 - doins config/usertemplate/*
124 -
125 - LANGCODES="en"
126 - use linguas_de && LANGCODES+=" de"
127 - use linguas_es && LANGCODES+=" es"
128 - use linguas_fr && LANGCODES+=" fr"
129 - use linguas_ja && LANGCODES+=" ja"
130 - use linguas_zh_CN && LANGCODES+=" zh_CN"
131 -
132 - for lang in ${LANGCODES} ; do
133 - insinto "${ICAROOT}"/nls/${lang}
134 - doins nls/${lang}/*
135 -
136 - insinto "${ICAROOT}"/nls/$lang/UTF-8
137 - doins nls/${lang}.UTF-8/*
138 -
139 - insinto "${ICAROOT}"/nls/${lang}/LC_MESSAGES
140 - doins nls/${lang}/LC_MESSAGES/*
141 -
142 - insinto "${ICAROOT}"/nls/${lang}
143 - dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8
144 - done
145 -
146 - insinto "${ICAROOT}"/nls
147 - dosym en /opt/Citrix/ICAClient/nls/C
148 -
149 - insinto "${ICAROOT}"/icons
150 - doins icons/*
151 -
152 - insinto "${ICAROOT}"/keyboard
153 - doins keyboard/*
154 -
155 - rm -r "${S}"/keystore/cacerts || die
156 - dosym /etc/ssl/certs "${ICAROOT}"/keystore/cacerts
157 -
158 - exeinto "${ICAROOT}"/util
159 - doexe util/{configmgr,conncenter,echo_cmd,gst_aud_play,gst_aud_read,gst_play,gst_read,hdxcheck.sh,icalicense.sh,libgstflatstm.so}
160 - doexe util/{lurdump,new_store,nslaunch,pnabrowse,sunraymac.sh,what,xcapture}
161 -
162 - doenvd "${FILESDIR}"/10ICAClient
163 -
164 - make_wrapper wfica "${ICAROOT}"/wfica . "${ICAROOT}"
165 -
166 - dodir /etc/revdep-rebuild/
167 - echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" > "${D}"/etc/revdep-rebuild/70icaclient
168 -}
169 -
170 -pkg_preinst() {
171 - local old_plugin="/usr/lib64/nsbrowser/plugins/npwrapper.npica.so"
172 - if use amd64 && [[ -f ${old_plugin} ]] ; then
173 - local wrapper="/usr/bin/nspluginwrapper"
174 - if [[ -x ${wrapper} ]] ; then
175 - einfo "Removing npica.so from wrapper."
176 - ${wrapper} -r ${old_plugin}
177 - fi
178 - fi
179 -}