/[gentoo-x86]/net-misc/x2goclient/x2goclient-3.0.1.18.ebuild
Gentoo

Contents of /net-misc/x2goclient/x2goclient-3.0.1.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Jun 8 11:42:07 2012 UTC (2 years, 6 months ago) by voyageur
Branch: MAIN
Changes since 1.3: +2 -2 lines
This needs qt-core with USE=ssl, reported by fauli in bug #416713

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/x2goclient-3.0.1.18.ebuild,v 1.3 2012/05/21 20:03:23 ssuominen Exp $
4
5 EAPI=4
6 inherit eutils qt4-r2
7
8 DESCRIPTION="The X2Go Qt client"
9 HOMEPAGE="http://www.x2go.org"
10 SRC_URI="http://code.x2go.org/releases/source/${PN}/${P/-/_}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="ldap"
16
17 DEPEND="net-libs/libssh
18 net-print/cups
19 x11-libs/qt-core:4[ssl]
20 x11-libs/qt-gui:4
21 x11-libs/qt-svg:4
22 ldap? ( net-nds/openldap )"
23 RDEPEND="${DEPEND}
24 net-misc/nx"
25
26 S=${WORKDIR}/${P/-/_}
27
28 src_prepare() {
29 # qmake looks for these files in the main directory
30 mv x2goclient/* . && rmdir x2goclient || die
31 epatch "${FILESDIR}"/${P}-cups1.5.patch
32 if ! use ldap; then
33 sed -e "s/-lldap//" -i x2goclient.pro || die
34 sed -e "s/#define USELDAP//" -i x2goclientconfig.h || die
35 fi
36 }
37
38 src_install() {
39 dobin ${PN}
40
41 insinto /usr/share/pixmaps/x2goclient
42 doins -r icons/*
43
44 make_desktop_entry ${PN} "X2go client" ${PN} "Network"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20