mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 09:33:50 +02:00
roccat-tools: fix cross
This commit is contained in:
parent
e617fa27ea
commit
c8e680fa56
1 changed files with 8 additions and 4 deletions
|
@ -5,8 +5,8 @@ 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"
|
||||
-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
|
||||
|
@ -18,8 +18,12 @@ 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"
|
||||
|
||||
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' \
|
||||
|
|
Loading…
Add table
Reference in a new issue