/[gentoo-x86]/net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild
Gentoo

Contents of /net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jan 7 09:00:15 2009 UTC (10 years, 11 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removal of net-misc/nxclient-2xterminalserver and net-misc/nxserver-2xterminalserver after last rites, bug #249799

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild,v 1.4 2008/02/29 20:26:25 carlo Exp $
4
5 inherit eutils qt3
6
7 DESCRIPTION="2X Terminal Server GPL NX client, based on NoMachine code"
8 HOMEPAGE="http://www.2x.com/terminalserver/"
9 SRC_URI="http://code.2x.com/release/linuxterminalserver/src/linuxterminalserver-1.5.0-common-r21-src.tar.gz
10 http://code.2x.com/release/linuxterminalserver/src/linuxterminalserver-1.5.0-client-r21-src.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16
17 DEPEND="
18 dev-libs/openssl
19 media-libs/audiofile
20 media-libs/jpeg
21 media-libs/libpng
22 net-print/cups
23 sys-libs/zlib
24 =x11-libs/qt-3*
25 !net-misc/nxclient"
26 RDEPEND="${DEPEND}"
27
28 S="${WORKDIR}"
29
30 src_unpack()
31 {
32 unpack ${A}
33 cd "${S}"
34 epatch "${FILESDIR}"/1.5.0/nxcomp-1.5.0-gcc4.patch
35 epatch "${FILESDIR}"/1.5.0/nxcomp-1.5.0-pic.patch
36
37 # Set correct product name
38 einfo "Setting official product name"
39 find client/nxclient common/nx-X11/programs/Xserver/hw/nxagent/Args.c \
40 -type f -exec sed -i "s/@PRODUCT_NAME@/2X TerminalServer/g" {} \;
41 }
42
43 src_compile()
44 {
45 cd "${S}"/common/nxcomp
46 econf || die
47 emake || die
48
49 cd "${S}"/common/nxssh
50 econf || die
51 emake || die
52
53 cd "${S}"/client/nxesd
54 econf || die
55 emake || die
56
57 cd "${S}"/client/nxclient
58 econf || die
59 emake || die
60
61 cd "${S}"/client/nxclient/nxprint
62 emake || die
63 }
64
65 src_install() {
66 # we install into /usr/NX, as NoMachine and 2X do
67
68 for x in nxclient nxprint nxssh nxesd ; do
69 make_wrapper $x ./$x /usr/NX/bin /usr/NX/lib || die
70 done
71
72 into /usr/NX
73 dobin client/nxclient/nxclient
74 dobin client/nxclient/nxprint/nxprint
75 dobin client/nxesd/nxesd
76 dobin common/nxssh/nxssh
77
78 dodir /usr/NX/lib
79 cp -P common/nxcomp/libXcomp.so* "${D}"/usr/NX/lib || die
80
81 dodir /usr/NX/share
82 cp -R client/nxclient/share "${D}"/usr/NX || die
83
84 # Add icons/desktop entries
85 doicon client/nxclient/share/icons/*.png
86 make_desktop_entry "nxclient" "NX Client" nx-desktop
87 make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin
88 make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard
89 }

  ViewVC Help
Powered by ViewVC 1.1.20