Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/x2goclient: ChangeLog x2goclient-4.0.1.3-r1.ebuild
Date: Wed, 05 Feb 2014 13:15:04
Message-Id: 20140205131501.3F49B2004C@flycatcher.gentoo.org
1 voyageur 14/02/05 13:15:01
2
3 Modified: ChangeLog
4 Added: x2goclient-4.0.1.3-r1.ebuild
5 Log:
6 Allow to build plugin and install provider sample files, bug #500302
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
9
10 Revision Changes Path
11 1.27 net-misc/x2goclient/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/ChangeLog?rev=1.27&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/ChangeLog?rev=1.27&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/ChangeLog?r1=1.26&r2=1.27
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/x2goclient/ChangeLog,v
20 retrieving revision 1.26
21 retrieving revision 1.27
22 diff -u -r1.26 -r1.27
23 --- ChangeLog 22 Jan 2014 08:49:25 -0000 1.26
24 +++ ChangeLog 5 Feb 2014 13:15:01 -0000 1.27
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/x2goclient
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/ChangeLog,v 1.26 2014/01/22 08:49:25 voyageur Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/ChangeLog,v 1.27 2014/02/05 13:15:01 voyageur Exp $
30 +
31 +*x2goclient-4.0.1.3-r1 (05 Feb 2014)
32 +
33 + 05 Feb 2014; Bernard Cafarelli <voyageur@g.o>
34 + +x2goclient-4.0.1.3-r1.ebuild:
35 + Allow to build plugin and install provider sample files, bug #500302
36
37 *x2goclient-4.0.1.3 (22 Jan 2014)
38
39
40
41
42 1.1 net-misc/x2goclient/x2goclient-4.0.1.3-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/x2goclient-4.0.1.3-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/x2goclient-4.0.1.3-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: x2goclient-4.0.1.3-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/x2goclient-4.0.1.3-r1.ebuild,v 1.1 2014/02/05 13:15:01 voyageur Exp $
52
53 EAPI=5
54 inherit eutils nsplugins qt4-r2
55
56 DESCRIPTION="The X2Go Qt client"
57 HOMEPAGE="http://www.x2go.org"
58 SRC_URI="http://code.x2go.org/releases/source/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="ldap nsplugin"
64
65 DEPEND=">=net-libs/libssh-0.6.0_rc1
66 net-print/cups
67 dev-qt/qtcore:4[ssl]
68 dev-qt/qtgui:4
69 dev-qt/qtsvg:4
70 ldap? ( net-nds/openldap )"
71 RDEPEND="${DEPEND}
72 net-misc/nx"
73
74 CLIENT_BUILD=${WORKDIR}/${P}.client_build
75 PLUGIN_BUILD=${WORKDIR}/${P}.plugin_build
76
77 src_prepare() {
78 if ! use ldap; then
79 sed -e "s/-lldap//" -i x2goclient.pro || die
80 sed -e "s/#define USELDAP//" -i x2goclientconfig.h || die
81 fi
82
83 mkdir -p "${CLIENT_BUILD}"
84 use nsplugin && mkdir -p "${PLUGIN_BUILD}"
85 }
86
87 src_configure() {
88 cd "${CLIENT_BUILD}"
89 eqmake4 "${S}"/x2goclient.pro
90
91 if use nsplugin;
92 then
93 cd "${PLUGIN_BUILD}"
94 X2GO_CLIENT_TARGET=plugin eqmake4 "${S}"/x2goclient.pro
95 fi
96 }
97
98 src_compile() {
99 cd "${CLIENT_BUILD}"
100 qt4-r2_src_compile
101
102 if use nsplugin;
103 then
104 cd "${PLUGIN_BUILD}"
105 qt4-r2_src_compile
106 fi
107 }
108
109 src_install() {
110 dobin "${CLIENT_BUILD}"/${PN}
111
112 insinto /usr/share/pixmaps/x2goclient
113 doins -r icons/*
114
115 domenu desktop/${PN}.desktop
116 doman man/man?/*
117
118 if use nsplugin;
119 then
120 # PLUGINS_DIR comes from nsplugins.eclass
121 exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
122 doexe "${PLUGIN_BUILD}"/libx2goplugin.so
123 fi
124
125 emake DESTDIR="${D}" PREFIX=/usr install_pluginprovider
126 }