blob: 1ba0f5ac6e6dea016c5bb146a11a01d6ee6c02d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/x2goclient-2.99.3.ebuild,v 1.1 2009/03/13 12:36:03 voyageur Exp $
EAPI="2"
inherit qt4 versionator
MAJOR_PV="$(get_version_component_range 1-2)"
FULL_PV="${MAJOR_PV}-$(get_version_component_range 3)"
DESCRIPTION="The X2Go Qt client"
HOMEPAGE="http://x2go.berlios.de"
SRC_URI="http://x2go.obviously-nice.de/deb/pool-lenny/${PN}/${PN}_${FULL_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ldap"
DEPEND="net-misc/nx
|| ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 x11-libs/qt-svg:4 )
>=x11-libs/qt-4.3:4 )
ldap? ( net-nds/openldap )
net-print/cups"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}-${MAJOR_PV}
src_prepare() {
if ! use ldap ; then
epatch "${FILESDIR}"/${P}-noldap.patch
fi
}
src_compile() {
eqmake4
emake || die "emake failed"
}
src_install() {
dobin ${PN}
dodoc README
# copying the icons
insinto /usr/share/pixmaps/x2goclient
doins icons/*
insinto /usr/share/pixmaps/x2goclient/16x16
doins icons/16x16/*
insinto /usr/share/pixmaps/x2goclient/32x32
doins icons/32x32/*
insinto /usr/share/pixmaps/x2goclient/64x64
doins icons/64x64/*
insinto /usr/share/pixmaps/x2goclient/128x128
doins icons/128x128/*
insinto /usr/share/pixmaps/x2goclient/hildon
doins icons/hildon/*
make_desktop_entry ${PN} "X2go client" ${PN} "Network"
}
pkg_postinst(){
if use ldap; then
elog "You can now specify a binddn and a password"
elog "which is used to login at the ldap server."
elog "But the password is stored in plaintext in the config file"
elog "in your home directory!!"
elog ""
fi
}
|