New package: roccat-tools-5.7.0

closes #6644
This commit is contained in:
crater2150 2019-01-06 03:06:15 +01:00 committed by maxice8
parent c8c232d08d
commit a727fade39
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Add users to the "_roccat" group to allow them to use the tools to
configure gaming devices.

View file

@ -0,0 +1,27 @@
# Template file for 'roccat-tools'
pkgname=roccat-tools
version=5.7.0
revision=1
build_style=cmake
configure_args="
-DDEVICES=arvo;isku;iskufx;kiro;kone;koneplus;konepure;konepuremilitary;konepureoptical;konextd;konextdoptical;kovaplus;kova2016;lua;nyth;pyra;ryosmk;ryosmkfx;ryostkl;savu;skeltr;sova;suora;tyon
-DWITH_LUA=5.3
-DUDEVDIR=/usr/lib/udev/rules.d -DCMAKE_MODULE_PATH=/usr/lib/cmake"
make_dirs="/var/lib/roccat 2770 root roccat"
hostmakedepends="pkg-config glib-devel"
makedepends="lua-devel gtk+-devel libgaminggear-devel dbus-glib-devel
libgudev-devel"
short_desc="Roccat mouse and keyboard drivers"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="GPL-2.0-only"
homepage="https://roccat.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/roccat/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=a6e21315c06e072fcea79c185518c8d2c8f19ed9681633613f26085319bdfd95
system_groups="_roccat"
nocross="Compiler tries to run compiled code for testing
https://travis-ci.org/void-linux/void-packages/jobs/477591350#L1740"
pre_install() {
sed -i -e 's/GROUP="roccat"/GROUP="_roccat"/g' \
-e 's/chgrp roccat/chgrp _roccat/' udev/*
}