summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-17 11:00:55 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-17 11:08:43 +0200
commit602734d41c6ebdd4f792507de56928906709e211 (patch)
treeb89b007623d8eee44c2d8e1211879d7785260264
parentdev-libs/libgaminggear: Bump to version 0.15.1 (bug #594828). (diff)
downloadgentoo-602734d41c6ebdd4f792507de56928906709e211.zip
gentoo-602734d41c6ebdd4f792507de56928906709e211.tar.gz
gentoo-602734d41c6ebdd4f792507de56928906709e211.tar.bz2
sys-apps/roccat-tools: Bump to version 5.7.0 (bug #594828).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--sys-apps/roccat-tools/Manifest1
-rw-r--r--sys-apps/roccat-tools/metadata.xml4
-rw-r--r--sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild108
3 files changed, 113 insertions, 0 deletions
diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest
index 9a7a2b4..18939e1 100644
--- a/sys-apps/roccat-tools/Manifest
+++ b/sys-apps/roccat-tools/Manifest
@@ -2,3 +2,4 @@ DIST roccat-tools-3.7.0.tar.bz2 3451047 SHA256 fbfd69634e3f504a8a5f43948566eb9c5
DIST roccat-tools-3.9.0.tar.bz2 3508796 SHA256 ea90b53cf4707c76a41d0f67711eca91e21ef41be253ab45b113a55ac1f278c1 SHA512 28c7b8c835a92f9fc741e393373388995f7da95971b6eb2432598a17ddd2887505d38a834e3a155331fa4a67e3dc6a559050c9ea69b2729c26648a2ab76266cb WHIRLPOOL 13f08b01ca83d2b5bc035580a87d62264cb9b0644839793049638d2880c34e96941ea55cd923a21ecd3cbe077b4654901dc93046e8f6371bef1a4adf6cbf0977
DIST roccat-tools-5.1.0.tar.bz2 3563523 SHA256 af37e1997ed9cc698ee836b742d0a6118513d6a4bcb7e89be824780916719ae2 SHA512 efd0445a3a4c81de1c0fe888930d079df0de2616e4884815cd4f3af28ae6f35946f73022ee5d965713fffa3ebccaf1955397b02e2d568823f710d59b5e8ae659 WHIRLPOOL 980cb615981cec4277c551e3ac4ada3ecd767ccd2bdb44d2753f46a18c07c922ec16eecf00c4de6e1877cb22e067cf485edf880c1926c14ed1b663789db1694b
DIST roccat-tools-5.1.1.tar.bz2 3564442 SHA256 fe62bd1242a6343a01687740eb2c6750bb1987fcc6642b7984a6ae5375f6d8fd SHA512 c98469201be55ab7b534dc2b5ae43cd55c7a013e4bf0fd93f23c646f14de78daa2df3277d5f29b72076729b5c9ee07541ee22f0d51c2e5d9bd5c9f05da94fb4d WHIRLPOOL 025097627386897487c040f530812b85f736e7e18f39b03a4e4468e6fffe98b45996ae82673362d18ae30a2e5ae874585b15fcfe50106ff3a80ad3351114929d
+DIST roccat-tools-5.7.0.tar.bz2 3737735 SHA256 a6e21315c06e072fcea79c185518c8d2c8f19ed9681633613f26085319bdfd95 SHA512 209f9fa5302806a2d2681077e990a39a4913d47b82e73f9acd86f734affd8b3a7c0087e815e5cc1dfec1787d868d09b87211d9c2a90f2ced67c150eec1b2d290 WHIRLPOOL d2e7beba83de1c4a75827fb684a71528ad2f4a094083b3fa18e6af27969d0ee3f12b33c0e3c698032293df643d5b8c6262a2b0b2089adfd59780c1ac4a4d6ea8
diff --git a/sys-apps/roccat-tools/metadata.xml b/sys-apps/roccat-tools/metadata.xml
index 3d55f12..994e898 100644
--- a/sys-apps/roccat-tools/metadata.xml
+++ b/sys-apps/roccat-tools/metadata.xml
@@ -11,6 +11,10 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
+ <flag name="input_devices_roccat_ryosmkfx">Enable support for Ryos Mk FX keyboard.</flag>
+ <flag name="input_devices_roccat_skeltr">Enable support for Skeltr keyboard.</flag>
+ <flag name="input_devices_roccat_sova">Enable support for Sova keyboard.</flag>
+ <flag name="input_devices_roccat_suora">Enable support for Suora keyboard.</flag>
<flag name="lua">Build support for Lua scripting for RyosMKPro ripple effects</flag>
</use>
<upstream>
diff --git a/sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild b/sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild
new file mode 100644
index 00000000..ddaecc9
--- /dev/null
+++ b/sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit readme.gentoo-r1 cmake-utils gnome2-utils udev user
+
+DESCRIPTION="Utility for advanced configuration of Roccat devices"
+
+HOMEPAGE="http://roccat.sourceforge.net/"
+SRC_URI="mirror://sourceforge/roccat/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE_INPUT_DEVICES=(
+ input_devices_roccat_arvo
+ input_devices_roccat_isku
+ input_devices_roccat_iskufx
+ input_devices_roccat_kiro
+ input_devices_roccat_kone
+ input_devices_roccat_koneplus
+ input_devices_roccat_konepure
+ input_devices_roccat_konepuremilitary
+ input_devices_roccat_konepureoptical
+ input_devices_roccat_konextd
+ input_devices_roccat_konextdoptical
+ input_devices_roccat_kovaplus
+ input_devices_roccat_kova2016
+ input_devices_roccat_lua
+ input_devices_roccat_nyth
+ input_devices_roccat_pyra
+ input_devices_roccat_ryosmk
+ input_devices_roccat_ryosmkfx
+ input_devices_roccat_ryostkl
+ input_devices_roccat_savu
+ input_devices_roccat_skeltr
+ input_devices_roccat_sova
+ input_devices_roccat_suora
+ input_devices_roccat_tyon
+)
+
+IUSE="${IUSE_INPUT_DEVICES[@]}"
+
+RDEPEND="
+ dev-libs/dbus-glib
+ dev-libs/glib:2
+ >=dev-libs/libgaminggear-0.15.1
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ virtual/libgudev:=
+ virtual/libusb:1
+ input_devices_roccat_ryosmk? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) )
+ input_devices_roccat_ryosmkfx? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) )
+ input_devices_roccat_ryostkl? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) )
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+DOCS=( Changelog KNOWN_LIMITATIONS README )
+
+pkg_setup() {
+ enewgroup roccat
+
+ local model
+ for model in ${IUSE_INPUT_DEVICES[@]} ; do
+ use ${model} && USED_MODELS+="${model/input_devices_roccat_/;}"
+ done
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DDEVICES="${USED_MODELS/;/}"
+ -DUDEVDIR="$(get_udevdir)/rules.d"
+ -DWITH_LUA=5.1
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ local stat_dir=/var/lib/roccat
+ keepdir ${stat_dir}
+ fowners root:roccat ${stat_dir}
+ fperms 2770 ${stat_dir}
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ readme.gentoo_print_elog
+ ewarn
+ ewarn "This version breaks stored data for some devices. Before reporting bugs please delete"
+ ewarn "affected folder(s) in /var/lib/roccat"
+ ewarn
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}