Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/synergy: ChangeLog synergy-1.7.3.ebuild synergy-1.7.1.ebuild synergy-1.7.2.ebuild
Date: Thu, 28 May 2015 05:37:36
Message-Id: 20150528053730.F3127A04@oystercatcher.gentoo.org
1 jer 15/05/28 05:37:30
2
3 Modified: ChangeLog
4 Added: synergy-1.7.3.ebuild
5 Removed: synergy-1.7.1.ebuild synergy-1.7.2.ebuild
6 Log:
7 Version bump, install syntool (bug #550166 by Dmitry daks Fomenko).
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.132 x11-misc/synergy/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/synergy/ChangeLog?rev=1.132&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/synergy/ChangeLog?rev=1.132&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/synergy/ChangeLog?r1=1.131&r2=1.132
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v
21 retrieving revision 1.131
22 retrieving revision 1.132
23 diff -u -r1.131 -r1.132
24 --- ChangeLog 22 May 2015 05:11:26 -0000 1.131
25 +++ ChangeLog 28 May 2015 05:37:30 -0000 1.132
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-misc/synergy
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v 1.131 2015/05/22 05:11:26 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v 1.132 2015/05/28 05:37:30 jer Exp $
31 +
32 +*synergy-1.7.3 (28 May 2015)
33 +
34 + 28 May 2015; Jeroen Roovers <jer@g.o> -synergy-1.7.1.ebuild,
35 + -synergy-1.7.2.ebuild, +synergy-1.7.3.ebuild:
36 + Version bump, install syntool (bug #550166 by Dmitry daks Fomenko).
37
38 *synergy-1.7.2 (22 May 2015)
39
40
41
42
43 1.1 x11-misc/synergy/synergy-1.7.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/synergy/synergy-1.7.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/synergy/synergy-1.7.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: synergy-1.7.3.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/synergy-1.7.3.ebuild,v 1.1 2015/05/28 05:37:30 jer Exp $
53
54 EAPI=5
55 inherit eutils flag-o-matic gnome2-utils cmake-utils qt4-r2
56
57 DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers"
58 HOMEPAGE="http://synergy-project.org/ https://github.com/synergy/synergy"
59 SRC_URI="
60 https://github.com/${PN}/${PN}/archive/v${PV}-stable.tar.gz -> ${P}.tar.gz
61 http://dev.gentoo.org/~hasufell/distfiles/${PN}.png
62 "
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
67 IUSE="qt4 test"
68
69 S=${WORKDIR}/${P}-stable
70
71 COMMON_DEPEND="
72 >=dev-libs/crypto++-5.6.2
73 x11-libs/libICE
74 x11-libs/libSM
75 x11-libs/libX11
76 x11-libs/libXext
77 x11-libs/libXi
78 x11-libs/libXinerama
79 x11-libs/libXrandr
80 x11-libs/libXtst
81 qt4? (
82 dev-qt/qtcore:4
83 dev-qt/qtgui:4
84 net-dns/avahi[mdnsresponder-compat]
85 )
86 "
87 DEPEND="
88 ${COMMON_DEPEND}
89 test? ( >=dev-cpp/gmock-1.6.0 )
90 x11-proto/kbproto
91 x11-proto/randrproto
92 x11-proto/xextproto
93 x11-proto/xineramaproto
94 x11-proto/xproto
95 "
96 RDEPEND="
97 ${COMMON_DEPEND}
98 qt4? ( !x11-misc/qsynergy )
99 "
100
101 PATCHES=(
102 "${FILESDIR}/${PN}-1.4.16_p1969-pthread.patch"
103 "${FILESDIR}/${PN}-1.4.17_p2055-test.patch"
104 "${FILESDIR}/${PN}-1.4.17_p2055-gentoo.patch"
105 "${FILESDIR}/${PN}-1.4.17_p2055-CSocketMultiplexer.patch"
106 )
107
108 src_prepare() {
109 cmake-utils_src_prepare
110 }
111
112 src_configure() {
113 local mycmakeargs=$(cmake-utils_use_with test GENTOO_TEST)
114 cmake-utils_src_configure
115
116 if use qt4 ; then
117 cd src/gui || die
118 qt4-r2_src_configure
119 fi
120 }
121
122 src_compile() {
123 cmake-utils_src_compile
124
125 if use qt4 ; then
126 cd src/gui || die
127 qt4-r2_src_compile
128 fi
129 }
130
131 src_test() {
132 local exe fail
133 for exe in bin/integtests bin/unittests; do
134 ${exe} || fail+=" ${exe}"
135 done
136 [[ ${fail} ]] && ewarn "${fail} failed"
137 }
138
139 src_install () {
140 dobin bin/${PN}{c,s} bin/syntool
141
142 if use qt4 ; then
143 newbin bin/${PN} qsynergy
144 newicon -s 256 "${DISTDIR}"/${PN}.png q${PN}.png
145 make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility;
146 fi
147
148 insinto /etc
149 newins doc/synergy.conf.example synergy.conf
150
151 newman doc/${PN}c.man ${PN}c.1
152 newman doc/${PN}s.man ${PN}s.1
153
154 dodoc README doc/synergy.conf.example* ChangeLog
155 }
156
157 pkg_preinst() {
158 use qt4 && gnome2_icon_savelist
159 }
160
161 pkg_postinst() {
162 use qt4 && gnome2_icon_cache_update
163 }
164
165 pkg_postrm() {
166 use qt4 && gnome2_icon_cache_update
167 }