/[gentoo-x86]/net-misc/icaclient/icaclient-11.0-r1.ebuild
Gentoo

Contents of /net-misc/icaclient/icaclient-11.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Apr 19 14:51:59 2009 UTC (10 years, 9 months ago) by fauli
Branch: MAIN
revision bump to force revdep-rebuild exception for all users
(Portage version: 2.1.6.7/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-11.0.ebuild,v 1.4 2009/04/18 22:08:37 fauli Exp $
4
5 inherit eutils multilib rpm
6
7 DESCRIPTION="ICA Client for Citrix Presentation servers"
8 HOMEPAGE="http://www.citrix.com/"
9 # There is no direct download link from upstream, see pkg_nofetch()
10 SRC_URI="ICAClient-11.0-1.i386.rpm"
11
12 LICENSE="as-is"
13 SLOT="0"
14 KEYWORDS="-* ~amd64 ~x86"
15 IUSE="linguas_de linguas_ja"
16 RESTRICT="mirror strip userpriv fetch"
17
18 QA_TEXTRELS="opt/ICAClient/VDSCARD.DLL
19 opt/ICAClient/TW1.DLL
20 opt/ICAClient/NDS.DLL
21 opt/ICAClient/CHARICONV.DLL
22 opt/ICAClient/PDCRYPT1.DLL
23 opt/ICAClient/VDCM.DLL
24 opt/ICAClient/libctxssl.so
25 opt/ICAClient/PDCRYPT2.DLL
26 opt/ICAClient/npica.so
27 opt/ICAClient/VDSPMIKE.DLL"
28 QA_EXECSTACK="opt/ICAClient/wfica.bin
29 opt/ICAClient/libctxssl.so"
30
31 RDEPEND="x11-terms/xterm
32 media-fonts/font-adobe-100dpi
33 media-fonts/font-misc-misc
34 media-fonts/font-cursor-misc
35 x86? (
36 x11-libs/libXp
37 x11-libs/libXaw
38 x11-libs/libX11
39 x11-libs/libSM
40 x11-libs/libICE
41 >=x11-libs/openmotif-2.3.1
42 )
43 amd64? ( >=app-emulation/emul-linux-x86-xlibs-20080316 )"
44 DEPEND=""
45 S="${WORKDIR}/usr/lib/ICAClient"
46
47 pkg_setup() {
48 # Binary x86 package
49 has_multilib_profile && ABI="x86"
50 }
51
52 pkg_nofetch() {
53 elog "Download the client RPM file from http://www.citrix.com/English/SS/downloads/details.asp?downloadID=3323"
54 elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
55 }
56
57 src_install() {
58 dodir /opt/ICAClient
59
60 insinto /opt/ICAClient
61 doins *.DLL npica.so libctxssl.so libproxy.so nls/en/eula.txt
62
63 insinto /opt/ICAClient/config
64 doins config/* config/.* nls/en/*.ini
65
66 insinto /opt/ICAClient/config/usertemplate
67 doins config/usertemplate/*
68
69 insinto /opt/ICAClient/nls
70 dosym en /opt/ICAClient/nls/C
71
72 insinto /opt/ICAClient/nls/en
73 doins nls/en/*
74
75 insinto /opt/ICAClient/nls/en/UTF-8
76 doins nls/en/UTF-8/*
77
78 if use linguas_de; then
79 insinto /opt/ICAClient/nls/de
80 doins nls/de/*
81
82 insinto /opt/ICAClient/nls/de/UTF-8
83 doins nls/de/UTF-8/*
84 fi
85 if use linguas_ja; then
86 insinto /opt/ICAClient/nls/ja
87 doins nls/ja/*
88
89 insinto /opt/ICAClient/nls/ja/UTF-8
90 doins nls/ja/UTF-8/*
91 fi
92
93 insinto /opt/ICAClient/icons
94 doins icons/*
95
96 insinto /opt/ICAClient/keyboard
97 doins keyboard/*
98
99 insinto /opt/ICAClient/keystore/cacerts
100 doins keystore/cacerts/*
101
102 insinto /opt/ICAClient/util
103 doins util/{echo_cmd,gst_play,icalicense.sh,integrate.sh,libgstflatstm.so,nslaunch,pacexec,pac.js,sunraymac.sh,what,xcapture}
104 dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
105
106 doenvd "${FILESDIR}"/10ICAClient
107
108 dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
109
110 # wfica has libxcb locking bugs, so provide a wrapper. It needs to be in
111 # /opt/ICAClient to ensure it gets called, so rename wfica to wfica.bin.
112 exeinto /opt/ICAClient
113 doexe wfcmgr.bin wfica_assoc.sh wfica.sh util/wfcmgr
114 newexe wfica wfica.bin
115 make_wrapper wfica 'env LC_ALL="" LANG="" LIBXCB_ALLOW_SLOPPY_LOCK=1 /opt/ICAClient/wfica.bin' . /opt/ICAClient /opt/ICAClient
116
117 # The .desktop file included in the rpm links to /usr/lib, so we
118 # make a new one. The program gives errors and has slowdowns if
119 # the locale is not English, so strip it since it has no
120 # translations anyway
121 doicon icons/*
122 make_wrapper wfcmgr /opt/ICAClient/wfcmgr . /opt/ICAClient
123 sed -e 's:^\# Configuration items.*:. /opt/ICAClient/nls/en/wfcmgr.msg:g' -i "${D}"/opt/ICAClient/wfcmgr
124 make_desktop_entry wfcmgr 'Citrix ICA Client' manager
125
126 dodir /etc/revdep-rebuild/
127 echo "SEARCH_DIRS_MASK=/opt/ICAClient" > "${D}"/etc/revdep-rebuild/70icaclient
128 }

  ViewVC Help
Powered by ViewVC 1.1.20