1 |
commit: 602734d41c6ebdd4f792507de56928906709e211 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 09:00:55 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 09:08:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=602734d4 |
7 |
|
8 |
sys-apps/roccat-tools: Bump to version 5.7.0 (bug #594828). |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
sys-apps/roccat-tools/Manifest | 1 + |
13 |
sys-apps/roccat-tools/metadata.xml | 4 + |
14 |
sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild | 108 ++++++++++++++++++++++++ |
15 |
3 files changed, 113 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest |
18 |
index 9a7a2b4e6ac..18939e1cc8b 100644 |
19 |
--- a/sys-apps/roccat-tools/Manifest |
20 |
+++ b/sys-apps/roccat-tools/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST roccat-tools-3.7.0.tar.bz2 3451047 SHA256 fbfd69634e3f504a8a5f43948566eb9c5 |
22 |
DIST roccat-tools-3.9.0.tar.bz2 3508796 SHA256 ea90b53cf4707c76a41d0f67711eca91e21ef41be253ab45b113a55ac1f278c1 SHA512 28c7b8c835a92f9fc741e393373388995f7da95971b6eb2432598a17ddd2887505d38a834e3a155331fa4a67e3dc6a559050c9ea69b2729c26648a2ab76266cb WHIRLPOOL 13f08b01ca83d2b5bc035580a87d62264cb9b0644839793049638d2880c34e96941ea55cd923a21ecd3cbe077b4654901dc93046e8f6371bef1a4adf6cbf0977 |
23 |
DIST roccat-tools-5.1.0.tar.bz2 3563523 SHA256 af37e1997ed9cc698ee836b742d0a6118513d6a4bcb7e89be824780916719ae2 SHA512 efd0445a3a4c81de1c0fe888930d079df0de2616e4884815cd4f3af28ae6f35946f73022ee5d965713fffa3ebccaf1955397b02e2d568823f710d59b5e8ae659 WHIRLPOOL 980cb615981cec4277c551e3ac4ada3ecd767ccd2bdb44d2753f46a18c07c922ec16eecf00c4de6e1877cb22e067cf485edf880c1926c14ed1b663789db1694b |
24 |
DIST roccat-tools-5.1.1.tar.bz2 3564442 SHA256 fe62bd1242a6343a01687740eb2c6750bb1987fcc6642b7984a6ae5375f6d8fd SHA512 c98469201be55ab7b534dc2b5ae43cd55c7a013e4bf0fd93f23c646f14de78daa2df3277d5f29b72076729b5c9ee07541ee22f0d51c2e5d9bd5c9f05da94fb4d WHIRLPOOL 025097627386897487c040f530812b85f736e7e18f39b03a4e4468e6fffe98b45996ae82673362d18ae30a2e5ae874585b15fcfe50106ff3a80ad3351114929d |
25 |
+DIST roccat-tools-5.7.0.tar.bz2 3737735 SHA256 a6e21315c06e072fcea79c185518c8d2c8f19ed9681633613f26085319bdfd95 SHA512 209f9fa5302806a2d2681077e990a39a4913d47b82e73f9acd86f734affd8b3a7c0087e815e5cc1dfec1787d868d09b87211d9c2a90f2ced67c150eec1b2d290 WHIRLPOOL d2e7beba83de1c4a75827fb684a71528ad2f4a094083b3fa18e6af27969d0ee3f12b33c0e3c698032293df643d5b8c6262a2b0b2089adfd59780c1ac4a4d6ea8 |
26 |
|
27 |
diff --git a/sys-apps/roccat-tools/metadata.xml b/sys-apps/roccat-tools/metadata.xml |
28 |
index 3d55f12a978..994e89840c8 100644 |
29 |
--- a/sys-apps/roccat-tools/metadata.xml |
30 |
+++ b/sys-apps/roccat-tools/metadata.xml |
31 |
@@ -11,6 +11,10 @@ |
32 |
<name>Proxy Maintainers</name> |
33 |
</maintainer> |
34 |
<use> |
35 |
+ <flag name="input_devices_roccat_ryosmkfx">Enable support for Ryos Mk FX keyboard.</flag> |
36 |
+ <flag name="input_devices_roccat_skeltr">Enable support for Skeltr keyboard.</flag> |
37 |
+ <flag name="input_devices_roccat_sova">Enable support for Sova keyboard.</flag> |
38 |
+ <flag name="input_devices_roccat_suora">Enable support for Suora keyboard.</flag> |
39 |
<flag name="lua">Build support for Lua scripting for RyosMKPro ripple effects</flag> |
40 |
</use> |
41 |
<upstream> |
42 |
|
43 |
diff --git a/sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild b/sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000000..ddaecc9fce6 |
46 |
--- /dev/null |
47 |
+++ b/sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild |
48 |
@@ -0,0 +1,108 @@ |
49 |
+# Copyright 1999-2017 Gentoo Foundation |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=6 |
53 |
+ |
54 |
+inherit readme.gentoo-r1 cmake-utils gnome2-utils udev user |
55 |
+ |
56 |
+DESCRIPTION="Utility for advanced configuration of Roccat devices" |
57 |
+ |
58 |
+HOMEPAGE="http://roccat.sourceforge.net/" |
59 |
+SRC_URI="mirror://sourceforge/roccat/${P}.tar.bz2" |
60 |
+LICENSE="GPL-2" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64 ~x86" |
63 |
+ |
64 |
+IUSE_INPUT_DEVICES=( |
65 |
+ input_devices_roccat_arvo |
66 |
+ input_devices_roccat_isku |
67 |
+ input_devices_roccat_iskufx |
68 |
+ input_devices_roccat_kiro |
69 |
+ input_devices_roccat_kone |
70 |
+ input_devices_roccat_koneplus |
71 |
+ input_devices_roccat_konepure |
72 |
+ input_devices_roccat_konepuremilitary |
73 |
+ input_devices_roccat_konepureoptical |
74 |
+ input_devices_roccat_konextd |
75 |
+ input_devices_roccat_konextdoptical |
76 |
+ input_devices_roccat_kovaplus |
77 |
+ input_devices_roccat_kova2016 |
78 |
+ input_devices_roccat_lua |
79 |
+ input_devices_roccat_nyth |
80 |
+ input_devices_roccat_pyra |
81 |
+ input_devices_roccat_ryosmk |
82 |
+ input_devices_roccat_ryosmkfx |
83 |
+ input_devices_roccat_ryostkl |
84 |
+ input_devices_roccat_savu |
85 |
+ input_devices_roccat_skeltr |
86 |
+ input_devices_roccat_sova |
87 |
+ input_devices_roccat_suora |
88 |
+ input_devices_roccat_tyon |
89 |
+) |
90 |
+ |
91 |
+IUSE="${IUSE_INPUT_DEVICES[@]}" |
92 |
+ |
93 |
+RDEPEND=" |
94 |
+ dev-libs/dbus-glib |
95 |
+ dev-libs/glib:2 |
96 |
+ >=dev-libs/libgaminggear-0.15.1 |
97 |
+ sys-apps/dbus |
98 |
+ x11-libs/cairo |
99 |
+ x11-libs/gtk+:2 |
100 |
+ x11-libs/libX11 |
101 |
+ virtual/libgudev:= |
102 |
+ virtual/libusb:1 |
103 |
+ input_devices_roccat_ryosmk? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) ) |
104 |
+ input_devices_roccat_ryosmkfx? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) ) |
105 |
+ input_devices_roccat_ryostkl? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) ) |
106 |
+" |
107 |
+ |
108 |
+DEPEND=" |
109 |
+ ${RDEPEND} |
110 |
+" |
111 |
+ |
112 |
+DOCS=( Changelog KNOWN_LIMITATIONS README ) |
113 |
+ |
114 |
+pkg_setup() { |
115 |
+ enewgroup roccat |
116 |
+ |
117 |
+ local model |
118 |
+ for model in ${IUSE_INPUT_DEVICES[@]} ; do |
119 |
+ use ${model} && USED_MODELS+="${model/input_devices_roccat_/;}" |
120 |
+ done |
121 |
+} |
122 |
+ |
123 |
+src_configure() { |
124 |
+ mycmakeargs=( |
125 |
+ -DDEVICES="${USED_MODELS/;/}" |
126 |
+ -DUDEVDIR="$(get_udevdir)/rules.d" |
127 |
+ -DWITH_LUA=5.1 |
128 |
+ ) |
129 |
+ cmake-utils_src_configure |
130 |
+} |
131 |
+ |
132 |
+src_install() { |
133 |
+ cmake-utils_src_install |
134 |
+ local stat_dir=/var/lib/roccat |
135 |
+ keepdir ${stat_dir} |
136 |
+ fowners root:roccat ${stat_dir} |
137 |
+ fperms 2770 ${stat_dir} |
138 |
+ readme.gentoo_create_doc |
139 |
+} |
140 |
+ |
141 |
+pkg_preinst() { |
142 |
+ gnome2_icon_savelist |
143 |
+} |
144 |
+ |
145 |
+pkg_postinst() { |
146 |
+ gnome2_icon_cache_update |
147 |
+ readme.gentoo_print_elog |
148 |
+ ewarn |
149 |
+ ewarn "This version breaks stored data for some devices. Before reporting bugs please delete" |
150 |
+ ewarn "affected folder(s) in /var/lib/roccat" |
151 |
+ ewarn |
152 |
+} |
153 |
+ |
154 |
+pkg_postrm() { |
155 |
+ gnome2_icon_cache_update |
156 |
+} |