Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/roccat-tools/, dev-libs/libgaminggear/
Date: Fri, 03 Jun 2016 14:24:31
Message-Id: 1464962173.e93561503afa514833d83f04d0b881a029cd9a47.monsieurp@gentoo
1 commit: e93561503afa514833d83f04d0b881a029cd9a47
2 Author: blackraven <dpisklov <AT> gmail <DOT> com>
3 AuthorDate: Wed May 11 21:31:33 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 3 13:56:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9356150
7
8 dev-libs/libgaminggear: Version bump.
9
10 This commit also bumps sys-apps/roccat-tools whilst at it and has been squashed
11 into a single commit.
12
13 Package-Manager: portage-2.2.28
14 Gentoo-Bug: https://bugs.gentoo.org/579512
15 Closes: https://github.com/gentoo/gentoo/pull/1456
16 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
17
18 dev-libs/libgaminggear/Manifest | 1 +
19 dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild | 56 ++++++++++++++
20 sys-apps/roccat-tools/Manifest | 2 +
21 sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild | 89 ++++++++++++++++++++++
22 sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild | 89 ++++++++++++++++++++++
23 5 files changed, 237 insertions(+)
24
25 diff --git a/dev-libs/libgaminggear/Manifest b/dev-libs/libgaminggear/Manifest
26 index 27dc234..16b5f7d 100644
27 --- a/dev-libs/libgaminggear/Manifest
28 +++ b/dev-libs/libgaminggear/Manifest
29 @@ -1,2 +1,3 @@
30 DIST libgaminggear-0.11.1.tar.bz2 103314 SHA256 c3202b76cceb8fe9bdfc9ba284ef88241b1f8e5d5b2d2a001514b974bbf73215 SHA512 9d29d85cf79e12d318ce73b9900d61f5da90b34d3c74ba587b4fdfd9788e723ebba181a8af510bad0763f2239288101a9379efe3d964800cc6885904f13426a0 WHIRLPOOL 938e3fb2e1953e4582f2da8d840facfe4cea97517747dccbe042e7976f484913ba88142121ed1505d9da7fdf24135630661b754ceb8fb321fde38e4b4174c252
31 DIST libgaminggear-0.11.2.tar.bz2 103443 SHA256 99abcb627242aa96b597ed831fd1e6df1e8a3958fbaf6cc8e8fdf04d62570d0e SHA512 bd7d4d8c513cb4542ccde12a72ebc816124e09cbb0122e3df70cbbe8ff536b79f4ef5925a1b9e495401b586663afe79d70fd27bb962ba29a7c95a2242143f150 WHIRLPOOL 36052baeef5ca0fd1a0e8c2e424e0acfbdabde166fd23ffa21ffbac417d8c78e68e2e05b1348e9822da3e19c02d27f7cab4937691f722036b9a2714a45550442
32 +DIST libgaminggear-0.13.0.tar.bz2 105106 SHA256 ff912a8e834a0b3f6f35bac43b9b8c59aed3ba4011b21909966a870b68f9e222 SHA512 93d0c4b1f136a413444c32cf5c13ad570ef5a89db1d5637a15f0c49ff4d9a159f8ade252734ed711c1efeab6b9f3a55503ea2cc5486cdd0bc9af50b340eefbe3 WHIRLPOOL 1b2212cfa593c8cde12a164f0024f1d21476310dfea3ad9587fa0dadbf4b24d87fa44f26d04c0c1080f06ad1e6335974910dbe463d50c01ecd0b3534a0d82a1e
33
34 diff --git a/dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild b/dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild
35 new file mode 100644
36 index 0000000..2e0cc24
37 --- /dev/null
38 +++ b/dev-libs/libgaminggear/libgaminggear-0.13.0.ebuild
39 @@ -0,0 +1,56 @@
40 +# Copyright 1999-2016 Gentoo Foundation
41 +# Distributed under the terms of the GNU General Public License v2
42 +# $Id$
43 +
44 +EAPI=5
45 +
46 +inherit cmake-utils gnome2-utils
47 +
48 +DESCRIPTION="Provides functionality for gaming input devices"
49 +
50 +HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
51 +SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
52 +LICENSE="GPL-2"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="doc"
56 +
57 +RDEPEND="
58 + x11-libs/gtk+:2
59 + x11-libs/libnotify
60 + media-libs/libcanberra
61 + virtual/libusb:1
62 + dev-libs/dbus-glib
63 +"
64 +
65 +DEPEND="${RDEPEND}
66 + doc? ( app-doc/doxygen )"
67 +
68 +src_prepare() {
69 + epatch "${FILESDIR}"/${PN}-0.10.0-doc.patch
70 +}
71 +
72 +src_configure() {
73 + mycmakeargs=(
74 + -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
75 + -DDOCDIR=share/doc/${PF}
76 + $(cmake-utils_use_with doc DOC)
77 + )
78 + cmake-utils_src_configure
79 +}
80 +
81 +src_install() {
82 + cmake-utils_src_install
83 +}
84 +
85 +pkg_preinst() {
86 + gnome2_icon_savelist
87 +}
88 +
89 +pkg_postinst() {
90 + gnome2_icon_cache_update
91 +}
92 +
93 +pkg_postrm() {
94 + gnome2_icon_cache_update
95 +}
96
97 diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest
98 index da55622..9a7a2b4 100644
99 --- a/sys-apps/roccat-tools/Manifest
100 +++ b/sys-apps/roccat-tools/Manifest
101 @@ -1,2 +1,4 @@
102 DIST roccat-tools-3.7.0.tar.bz2 3451047 SHA256 fbfd69634e3f504a8a5f43948566eb9c52955416a7e0698218c61e7d586fd1a5 SHA512 d28113c7fdf43bfa91dbd9e7921f20a2ab67214ed902148d3eea8e5eb8c633e4916f27d6e3e9e32357da39961fe71876de656a29a0415e48a20a90b523e51df1 WHIRLPOOL 7317e385b5deb5f805ad312bab3c817fdd4f081632d3ad80eb6747a56d50b45a9da8b4471f6fa1a45cf58424be5a84acecaa55ebd80797210edcf997efccd253
103 DIST roccat-tools-3.9.0.tar.bz2 3508796 SHA256 ea90b53cf4707c76a41d0f67711eca91e21ef41be253ab45b113a55ac1f278c1 SHA512 28c7b8c835a92f9fc741e393373388995f7da95971b6eb2432598a17ddd2887505d38a834e3a155331fa4a67e3dc6a559050c9ea69b2729c26648a2ab76266cb WHIRLPOOL 13f08b01ca83d2b5bc035580a87d62264cb9b0644839793049638d2880c34e96941ea55cd923a21ecd3cbe077b4654901dc93046e8f6371bef1a4adf6cbf0977
104 +DIST roccat-tools-5.1.0.tar.bz2 3563523 SHA256 af37e1997ed9cc698ee836b742d0a6118513d6a4bcb7e89be824780916719ae2 SHA512 efd0445a3a4c81de1c0fe888930d079df0de2616e4884815cd4f3af28ae6f35946f73022ee5d965713fffa3ebccaf1955397b02e2d568823f710d59b5e8ae659 WHIRLPOOL 980cb615981cec4277c551e3ac4ada3ecd767ccd2bdb44d2753f46a18c07c922ec16eecf00c4de6e1877cb22e067cf485edf880c1926c14ed1b663789db1694b
105 +DIST roccat-tools-5.1.1.tar.bz2 3564442 SHA256 fe62bd1242a6343a01687740eb2c6750bb1987fcc6642b7984a6ae5375f6d8fd SHA512 c98469201be55ab7b534dc2b5ae43cd55c7a013e4bf0fd93f23c646f14de78daa2df3277d5f29b72076729b5c9ee07541ee22f0d51c2e5d9bd5c9f05da94fb4d WHIRLPOOL 025097627386897487c040f530812b85f736e7e18f39b03a4e4468e6fffe98b45996ae82673362d18ae30a2e5ae874585b15fcfe50106ff3a80ad3351114929d
106
107 diff --git a/sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild b/sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild
108 new file mode 100644
109 index 0000000..9e4b2c5
110 --- /dev/null
111 +++ b/sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild
112 @@ -0,0 +1,89 @@
113 +# Copyright 1999-2016 Gentoo Foundation
114 +# Distributed under the terms of the GNU General Public License v2
115 +# $Id$
116 +
117 +EAPI=5
118 +
119 +inherit readme.gentoo cmake-utils gnome2-utils udev user
120 +
121 +DESCRIPTION="Utility for advanced configuration of Roccat devices"
122 +
123 +HOMEPAGE="http://roccat.sourceforge.net/"
124 +SRC_URI="mirror://sourceforge/roccat/${P}.tar.bz2"
125 +LICENSE="GPL-2"
126 +SLOT="0"
127 +KEYWORDS="~amd64 ~x86"
128 +IUSE_INPUT_DEVICES="
129 + input_devices_roccat_arvo
130 + input_devices_roccat_isku
131 + input_devices_roccat_iskufx
132 + input_devices_roccat_kiro
133 + input_devices_roccat_kone
134 + input_devices_roccat_koneplus
135 + input_devices_roccat_konepure
136 + input_devices_roccat_konepuremilitary
137 + input_devices_roccat_konepureoptical
138 + input_devices_roccat_konextd
139 + input_devices_roccat_konextdoptical
140 + input_devices_roccat_kovaplus
141 + input_devices_roccat_kova2016
142 + input_devices_roccat_lua
143 + input_devices_roccat_nyth
144 + input_devices_roccat_pyra
145 + input_devices_roccat_ryosmk
146 + input_devices_roccat_ryostkl
147 + input_devices_roccat_savu
148 + input_devices_roccat_tyon
149 +"
150 +IUSE="${IUSE_INPUT_DEVICES}"
151 +
152 +RDEPEND="
153 + =dev-libs/libgaminggear-0.13*
154 + x11-libs/gtk+:2
155 + x11-libs/libnotify
156 + media-libs/libcanberra
157 + virtual/libusb:1
158 + dev-libs/dbus-glib
159 + virtual/libgudev:=
160 + || ( dev-lang/lua:5.1 dev-lang/lua:0 )
161 +"
162 +
163 +DEPEND="${RDEPEND}"
164 +
165 +pkg_setup() {
166 + enewgroup roccat
167 +}
168 +
169 +src_configure() {
170 + local UDEVDIR="$(get_udevdir)"/rules.d
171 + local MODELS=${INPUT_DEVICES//roccat_/}
172 + mycmakeargs=(
173 + -DDEVICES=${MODELS// /;} \
174 + -DUDEVDIR="${UDEVDIR/"//"//}"
175 + -DWITH_LUA=5.1
176 + )
177 + cmake-utils_src_configure
178 +}
179 +src_install() {
180 + cmake-utils_src_install
181 + local stat_dir=/var/lib/roccat
182 + keepdir $stat_dir
183 + fowners root:roccat $stat_dir
184 + fperms 2770 $stat_dir
185 + readme.gentoo_src_install
186 +}
187 +pkg_preinst() {
188 + gnome2_icon_savelist
189 +}
190 +pkg_postinst() {
191 + gnome2_icon_cache_update
192 + readme.gentoo_print_elog
193 + ewarn
194 + ewarn "This version breaks stored data for some devices. Before reporting bugs please delete"
195 + ewarn "affected folder(s) in /var/lib/roccat"
196 + ewarn
197 +}
198 +
199 +pkg_postrm() {
200 + gnome2_icon_cache_update
201 +}
202
203 diff --git a/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild b/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild
204 new file mode 100644
205 index 0000000..9e4b2c5
206 --- /dev/null
207 +++ b/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild
208 @@ -0,0 +1,89 @@
209 +# Copyright 1999-2016 Gentoo Foundation
210 +# Distributed under the terms of the GNU General Public License v2
211 +# $Id$
212 +
213 +EAPI=5
214 +
215 +inherit readme.gentoo cmake-utils gnome2-utils udev user
216 +
217 +DESCRIPTION="Utility for advanced configuration of Roccat devices"
218 +
219 +HOMEPAGE="http://roccat.sourceforge.net/"
220 +SRC_URI="mirror://sourceforge/roccat/${P}.tar.bz2"
221 +LICENSE="GPL-2"
222 +SLOT="0"
223 +KEYWORDS="~amd64 ~x86"
224 +IUSE_INPUT_DEVICES="
225 + input_devices_roccat_arvo
226 + input_devices_roccat_isku
227 + input_devices_roccat_iskufx
228 + input_devices_roccat_kiro
229 + input_devices_roccat_kone
230 + input_devices_roccat_koneplus
231 + input_devices_roccat_konepure
232 + input_devices_roccat_konepuremilitary
233 + input_devices_roccat_konepureoptical
234 + input_devices_roccat_konextd
235 + input_devices_roccat_konextdoptical
236 + input_devices_roccat_kovaplus
237 + input_devices_roccat_kova2016
238 + input_devices_roccat_lua
239 + input_devices_roccat_nyth
240 + input_devices_roccat_pyra
241 + input_devices_roccat_ryosmk
242 + input_devices_roccat_ryostkl
243 + input_devices_roccat_savu
244 + input_devices_roccat_tyon
245 +"
246 +IUSE="${IUSE_INPUT_DEVICES}"
247 +
248 +RDEPEND="
249 + =dev-libs/libgaminggear-0.13*
250 + x11-libs/gtk+:2
251 + x11-libs/libnotify
252 + media-libs/libcanberra
253 + virtual/libusb:1
254 + dev-libs/dbus-glib
255 + virtual/libgudev:=
256 + || ( dev-lang/lua:5.1 dev-lang/lua:0 )
257 +"
258 +
259 +DEPEND="${RDEPEND}"
260 +
261 +pkg_setup() {
262 + enewgroup roccat
263 +}
264 +
265 +src_configure() {
266 + local UDEVDIR="$(get_udevdir)"/rules.d
267 + local MODELS=${INPUT_DEVICES//roccat_/}
268 + mycmakeargs=(
269 + -DDEVICES=${MODELS// /;} \
270 + -DUDEVDIR="${UDEVDIR/"//"//}"
271 + -DWITH_LUA=5.1
272 + )
273 + cmake-utils_src_configure
274 +}
275 +src_install() {
276 + cmake-utils_src_install
277 + local stat_dir=/var/lib/roccat
278 + keepdir $stat_dir
279 + fowners root:roccat $stat_dir
280 + fperms 2770 $stat_dir
281 + readme.gentoo_src_install
282 +}
283 +pkg_preinst() {
284 + gnome2_icon_savelist
285 +}
286 +pkg_postinst() {
287 + gnome2_icon_cache_update
288 + readme.gentoo_print_elog
289 + ewarn
290 + ewarn "This version breaks stored data for some devices. Before reporting bugs please delete"
291 + ewarn "affected folder(s) in /var/lib/roccat"
292 + ewarn
293 +}
294 +
295 +pkg_postrm() {
296 + gnome2_icon_cache_update
297 +}