32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'roccat-tools'
|
|
pkgname=roccat-tools
|
|
version=5.8.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=${XBPS_CROSS_BASE}/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=181178da305e82267e45bcc6577dc03387322303b8c341be33e574afdf8a213b
|
|
system_groups="_roccat"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" dbus-glib-devel"
|
|
# Project tries to use TRY_RUN(), pass the result to be used as cache
|
|
configure_args+=" -DRUN_RESULT_VAR=0"
|
|
fi
|
|
|
|
pre_install() {
|
|
sed -i -e 's/GROUP="roccat"/GROUP="_roccat"/g' \
|
|
-e 's/chgrp roccat/chgrp _roccat/' udev/*
|
|
}
|