summaryrefslogtreecommitdiff
path: root/sys-apps/roccat-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/roccat-tools
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/roccat-tools')
-rw-r--r--sys-apps/roccat-tools/Manifest8
-rw-r--r--sys-apps/roccat-tools/files/README.gentoo17
-rw-r--r--sys-apps/roccat-tools/metadata.xml22
-rw-r--r--sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild88
-rw-r--r--sys-apps/roccat-tools/roccat-tools-5.7.0.ebuild108
5 files changed, 243 insertions, 0 deletions
diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest
new file mode 100644
index 000000000000..d57fb1f37f44
--- /dev/null
+++ b/sys-apps/roccat-tools/Manifest
@@ -0,0 +1,8 @@
+AUX README.gentoo 858 SHA256 4d7ee8978e4e08443eda0ce084db65d5caa99ae22fa8fc25956b9cd712aaf117 SHA512 3f88197dc83d4bf7e3cb8fd71079754ffa355ddf5fcf151304ae439090da44b3bdef3ed9deab44b36ffffb4b28ded2a71b1abffe5d3e1aa87f56bfa264920a7b WHIRLPOOL 2279ce5d4873c8c36e2bf6f433c62ba2eb21fce1b69069918a81583c9dfcafaf9b652f4b4c9e7f0d538af00193f52e5b0eaed29da5d52c2e9108177f847caeb2
+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
+EBUILD roccat-tools-5.1.1.ebuild 2003 SHA256 fdb3e1d291f31c06bf530e85ed7083ea9a94ab852b73114cfe4d73e4350f8b5b SHA512 d0544ce6f8197fda801b3917ceb19550071c474b2eceb55844f7c802152025de9bd1aac690eb5ba3ddc17b29c95ddef7e33c4b376a75c589f2083c6b8101cad4 WHIRLPOOL 053d29ce712a49b0e880b07603c4932b5ec973bf5f89608e03c4e72d43b833e7d6c582bc05b25ef3447937c896a4729e82ab5dae7188017e281fffc02aaaf7c0
+EBUILD roccat-tools-5.7.0.ebuild 2444 SHA256 d09a5b1036f27cfa5a25e96815fd7c5eef86a8c87ced461dace532627d01d07a SHA512 e1f5502c88f00ba9b109d2f85fe985f0ff1ce849dee9f46df57a7ae74bc1dc806dd8ba86be294b8b5edf4654aeece1e82fe734f4b232949388903f33e57fe107 WHIRLPOOL 96ebf842f3ad79d92cd399e6437d9461953fa7f0f9e0ade424527ac3e5b5a8997e78595d64a58294c0509709d97664ab0947da7ca21c202d862a1593cac1340e
+MISC ChangeLog 4285 SHA256 c9510954f99e556d92210265f35deeba1ce7bf449619c60130e6afef78068d16 SHA512 d43a81b1c5610e505e7c131fc24fe7d59092e6d2841175a096a1b65a025225e5e36556f4528e20a781f660f6c0a9ecfa86799375290df270a37fabee4ff9a7d3 WHIRLPOOL 4866c3b5041388e7110aa8f85e1889a73930247c783fafbe06e7e63bc25f9705b5b71b7a415ad816a34570e98861737ac4a7b9c99b5b39dc79ad7953c620af1b
+MISC ChangeLog-2015 4283 SHA256 235f418023686e4743b7a17d6ce417985c47478e9ab113110586cace1f751e1f SHA512 255f81530cf654a5ac93c803bf881904506b9e0349d0ef410a903af106a59379c0303ff9afd6f877d001c19c5eee3f5ac165f5609b2d65ada9c9268d9b054dfe WHIRLPOOL c73e0ba9dd0ce128e3cbde8037491f7146953eab0c4b6655f98fdb2f2b067716237324e7d0f15425e584a56631fe015020729d53d327338321f8fbb31f615886
+MISC metadata.xml 866 SHA256 7fcbeef01e4906ae86f5f2305a2bc3d04e596a5a7d9e88f911bee0ec69dbb6b5 SHA512 ec2e80bd2d28f56e7811636d3ccc01d841c08e4f7eb7eabd300bf12f9dcbdfa9ade2bd49bab87552de6bfd320ddc3791b438a7533239e987b80662f7d29abb12 WHIRLPOOL 58994a15c10de3f2b51f45227c679d8db2b714edf6906d97cc72c257d275d5ddd2c84179e238057ae78cc7902a052104401a0d277d7694cbdd40a72df1363f30
diff --git a/sys-apps/roccat-tools/files/README.gentoo b/sys-apps/roccat-tools/files/README.gentoo
new file mode 100644
index 000000000000..55bc7407e314
--- /dev/null
+++ b/sys-apps/roccat-tools/files/README.gentoo
@@ -0,0 +1,17 @@
+To allow users to use all features add them to the 'roccat' group
+To allow udev to detect your device without reboot, run
+# udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
+*************************
+*** Upstream message: ***
+*************************
+* Some devices (Arvo, Kone) need uinput for some features. To use it as normal
+* user you can either create an extra group like uinput-users and add yourself
+* to this group (as described above) or reuse group roccat.
+* Create a file like /etc/udev/rules.d/90-uinput.rules containing the line
+* KERNEL=="uinput", GROUP="uinput-users", MODE="0660"
+* and replace the group name with your choice.
+
+* In addition, you need to enable CONFIG_INPUT_UINPUT in your kernel
+
+* Do a logout/login to apply your new group ownership and replug your device
+* and everything should work as expected.
diff --git a/sys-apps/roccat-tools/metadata.xml b/sys-apps/roccat-tools/metadata.xml
new file mode 100644
index 000000000000..4ae444c4978d
--- /dev/null
+++ b/sys-apps/roccat-tools/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dpisklov@gmail.com</email>
+ <name>Dmitry Pisklov</name>
+ <description>Proxy maintainer. Assign bugs to him</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <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>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">roccat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild b/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild
new file mode 100644
index 000000000000..1b618b09cd42
--- /dev/null
+++ b/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit readme.gentoo 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_ryostkl
+ input_devices_roccat_savu
+ input_devices_roccat_tyon
+"
+IUSE="${IUSE_INPUT_DEVICES}"
+
+RDEPEND="
+ =dev-libs/libgaminggear-0.13*
+ x11-libs/gtk+:2
+ x11-libs/libnotify
+ media-libs/libcanberra
+ virtual/libusb:1
+ dev-libs/dbus-glib
+ virtual/libgudev:=
+ || ( dev-lang/lua:5.1 dev-lang/lua:0 )
+"
+
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewgroup roccat
+}
+
+src_configure() {
+ local UDEVDIR="$(get_udevdir)"/rules.d
+ local MODELS=${INPUT_DEVICES//roccat_/}
+ mycmakeargs=(
+ -DDEVICES=${MODELS// /;} \
+ -DUDEVDIR="${UDEVDIR/"//"//}"
+ -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_src_install
+}
+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
+}
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 000000000000..ddaecc9fce6f
--- /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
+}