games/roccat-tools: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cffd9bf866
commit
b689338a77
|
@ -0,0 +1,9 @@
|
|||
--- ./ryosmk/libroccatryosmk/ryos_device.h.orig 2020-06-30 16:41:33.348116743 +0200
|
||||
+++ ./ryosmk/libroccatryosmk/ryos_device.h 2020-06-30 16:40:18.701450210 +0200
|
||||
@@ -23,5 +23,5 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
-enum {
|
||||
+typedef enum {
|
||||
RYOS_WRITE_CHECK_WAIT_LIGHT_CONTROL = 10,
|
||||
} RyosWriteCheckWait;
|
|
@ -112,11 +112,14 @@ fi
|
|||
LUAVERSION="$( lua -e 'print(_VERSION)' | cut -d' ' -f2 )"
|
||||
LUA="-DWITH_LUA='$LUAVERSION'"
|
||||
|
||||
patch -p1 < $CWD/fix-multiple-definitions.patch
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -isystem /usr/include/harfbuzz" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_C_FLAGS="$(pkg-config --cflags harfbuzz)" \
|
||||
$HW \
|
||||
$LUA \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
|
|
Loading…
Reference in New Issue