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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Mar 2 23:07:09 2013 UTC (6 years, 11 months ago) by hwoarang
Branch: MAIN
Changes since 1.1: +4 -4 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 voyageur 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/x2goclient-4.0.0.1.ebuild,v 1.1 2013/01/08 10:53:53 voyageur Exp $
4 voyageur 1.1
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 hwoarang 1.2 dev-qt/qtcore:4[ssl]
20     dev-qt/qtgui:4
21     dev-qt/qtsvg:4
22 voyageur 1.1 ldap? ( net-nds/openldap )"
23     RDEPEND="${DEPEND}
24     net-misc/nx"
25    
26     src_prepare() {
27     if ! use ldap; then
28     sed -e "s/-lldap//" -i x2goclient.pro || die
29     sed -e "s/#define USELDAP//" -i x2goclientconfig.h || die
30     fi
31     }
32    
33     src_install() {
34     dobin ${PN}
35    
36     insinto /usr/share/pixmaps/x2goclient
37     doins -r icons/*
38    
39     make_desktop_entry ${PN} "X2go client" ${PN} "Network"
40     }

  ViewVC Help
Powered by ViewVC 1.1.20