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.5.0.ebuild
Date: Wed, 29 Jul 2015 16:23:48
Message-Id: 20150729162344.8CEA6C3@oystercatcher.gentoo.org
1 voyageur 15/07/29 16:23:44
2
3 Modified: ChangeLog
4 Added: x2goclient-4.0.5.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 00F7AB331B0F097F)
9
10 Revision Changes Path
11 1.42 net-misc/x2goclient/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/x2goclient/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 27 May 2015 12:48:09 -0000 1.41
24 +++ ChangeLog 29 Jul 2015 16:23:44 -0000 1.42
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/x2goclient
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/ChangeLog,v 1.41 2015/05/27 12:48:09 voyageur Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goclient/ChangeLog,v 1.42 2015/07/29 16:23:44 voyageur Exp $
30 +
31 +*x2goclient-4.0.5.0 (29 Jul 2015)
32 +
33 + 29 Jul 2015; Bernard Cafarelli <voyageur@g.o>
34 + +x2goclient-4.0.5.0.ebuild:
35 + Version bump
36
37 *x2goclient-4.0.4.0 (27 May 2015)
38
39
40
41
42 1.1 net-misc/x2goclient/x2goclient-4.0.5.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/x2goclient-4.0.5.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/x2goclient/x2goclient-4.0.5.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: x2goclient-4.0.5.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 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.5.0.ebuild,v 1.1 2015/07/29 16:23:44 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 x11-libs/libXpm
71 ldap? ( net-nds/openldap )"
72 RDEPEND="${DEPEND}
73 net-misc/nx"
74
75 CLIENT_BUILD=${WORKDIR}/${P}.client_build
76 PLUGIN_BUILD=${WORKDIR}/${P}.plugin_build
77
78 src_prepare() {
79 if ! use ldap; then
80 sed -e "s/-lldap//" -i x2goclient.pro || die
81 sed -e "s/#define USELDAP//" -i src/x2goclientconfig.h || die
82 fi
83
84 mkdir -p "${CLIENT_BUILD}"
85 use nsplugin && mkdir -p "${PLUGIN_BUILD}"
86 }
87
88 src_configure() {
89 cd "${CLIENT_BUILD}"
90 eqmake4 "${S}"/x2goclient.pro
91
92 if use nsplugin;
93 then
94 cd "${PLUGIN_BUILD}"
95 X2GO_CLIENT_TARGET=plugin eqmake4 "${S}"/x2goclient.pro
96 fi
97 }
98
99 src_compile() {
100 cd "${CLIENT_BUILD}"
101 qt4-r2_src_compile
102
103 if use nsplugin;
104 then
105 cd "${PLUGIN_BUILD}"
106 qt4-r2_src_compile
107 fi
108 }
109
110 src_install() {
111 dobin "${CLIENT_BUILD}"/${PN}
112
113 insinto /usr/share/pixmaps/x2goclient
114 doins res/img/icons/${PN}.xpm
115
116 domenu desktop/${PN}.desktop
117 doman man/man?/*
118
119 if use nsplugin;
120 then
121 # PLUGINS_DIR comes from nsplugins.eclass
122 exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
123 doexe "${PLUGIN_BUILD}"/libx2goplugin.so
124 fi
125
126 emake DESTDIR="${D}" PREFIX=/usr install_pluginprovider
127 }