summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-12-17 17:24:51 +0100
committerMarek Szuba <marecki@gentoo.org>2020-12-17 17:30:18 +0100
commit3cfee91ed2c9919833cec4489003005e9e4390cf (patch)
treee3f24f297bd0e27f6ef26ca9b41cbcf5ce809b34 /sys-apps/roccat-tools/files
parentdev-libs/openssl: Fix build on riscv32 (diff)
downloadgentoo-3cfee91ed2c9919833cec4489003005e9e4390cf.tar.gz
gentoo-3cfee91ed2c9919833cec4489003005e9e4390cf.tar.bz2
gentoo-3cfee91ed2c9919833cec4489003005e9e4390cf.zip
sys-apps/roccat-tools: migrate to lua-single.eclass
Supports lua5-1 (as per the unmigrated ebuild) and luajit (as accidentally discovered during early tests; see Bug #760486). Tested with INPUT_DEVICES=roccat_ryosmk, the logic is shared with the other two Lua-dependent devices so it should work with those as well. Closes: https://bugs.gentoo.org/752864 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-apps/roccat-tools/files')
-rw-r--r--sys-apps/roccat-tools/files/roccat-tools-5.9.0-cmake_lua_impl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/roccat-tools/files/roccat-tools-5.9.0-cmake_lua_impl.patch b/sys-apps/roccat-tools/files/roccat-tools-5.9.0-cmake_lua_impl.patch
new file mode 100644
index 000000000000..3009572a8114
--- /dev/null
+++ b/sys-apps/roccat-tools/files/roccat-tools-5.9.0-cmake_lua_impl.patch
@@ -0,0 +1,11 @@
+--- a/cmake_modules/FindLUA.cmake
++++ b/cmake_modules/FindLUA.cmake
+@@ -36,7 +36,7 @@
+ ${_LUA_FIND_VERSION_SHORT}
+ -${_LUA_FIND_VERSION_SHORT}
+ )
+-SET(_LUA_NAMES luajit lua)
++SET(_LUA_NAMES ${LUA_IMPL})
+
+ FIND_PACKAGE(PkgConfig)
+