diff options
Diffstat (limited to 'sys-apps/roccat-tools')
-rw-r--r-- | sys-apps/roccat-tools/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild | 22 |
2 files changed, 20 insertions, 4 deletions
diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest index a8382fb74b80..aefbc5171b96 100644 --- a/sys-apps/roccat-tools/Manifest +++ b/sys-apps/roccat-tools/Manifest @@ -2,5 +2,5 @@ AUX README.gentoo 858 BLAKE2B d3cdc925b286481491fdad08de6c2a61c811fecb1eb36fa1e0 DIST roccat-tools-5.7.0.tar.bz2 3737735 BLAKE2B fdd86cef425f1f33309165673be52c8297380a1f0a722e827c2b3697c59dd787f4b473186ab5b8ff8fadcfc851f3bb5e76c8407d831b31f82cd360679d3c1a09 SHA512 209f9fa5302806a2d2681077e990a39a4913d47b82e73f9acd86f734affd8b3a7c0087e815e5cc1dfec1787d868d09b87211d9c2a90f2ced67c150eec1b2d290 DIST roccat-tools-5.9.0.tar.bz2 3736671 BLAKE2B 4cdd0c6b50021cfae127a692d5a2a7fff5e7e1281da7add0cf9cd8f5fbfd8882186142d56982bf929867bde2950440f26ced167b52707c9d810ab53a62a4bded SHA512 d825fc372654257f330abbc7e611e87c4888924288ad56c8e57c9db5c8c25426d454ae1ab4dd591ef3b930bed410497c0aa88095d5319e2708f4b263d16eca00 EBUILD roccat-tools-5.7.0.ebuild 2444 BLAKE2B 443441bec2df550833f4aa3522b229e6bab16007ddc65549c544a527b42d64408ca4e0a280dc9468b9c355524440f06a25cfe9a1842e4d83e6c68469c65ea2f8 SHA512 e1f5502c88f00ba9b109d2f85fe985f0ff1ce849dee9f46df57a7ae74bc1dc806dd8ba86be294b8b5edf4654aeece1e82fe734f4b232949388903f33e57fe107 -EBUILD roccat-tools-5.9.0.ebuild 2524 BLAKE2B b03f3cab171c69cc7d01b920ed721862ad9041ac5e51596f25dc94ca52fc1462df5ef11bb319202b446ec7639fd0b13e38bd533f8e8b1af64fa0b8877bf0918e SHA512 ad239771addb89442f6cc52c6d4a7ce616030b8a9be3b8df3788eef2546ac5c79367828f8f041fb87c00724b8157886b4e8ace4c03f7c279e49714d08a9df7c4 +EBUILD roccat-tools-5.9.0.ebuild 2742 BLAKE2B e632a1b51447dee1097208adb3afef4bcd72ceba9f1007dc009bf2f78ca5b670ca63c8c7a800fa9ddbfa715ced79be748c0193efd2bbdf4c282a411a561c0f6d SHA512 3ec6ff014d0699d9dc5b1321e22908e2b6bf521a6d1f7c956fa98d102b3b39cd4c15eedf6bef966fbbffb4e3dab9f389babdbee2b5f923c5d4602cbc6f571bcd MISC metadata.xml 327 BLAKE2B b3a42ce918857aaa3ebe1705560661d80d9dc1cce60b5d79bddc1ead356cced572fe18d8b8d18f6c8f2ebb80393cc02efc4df3ad711aca08a67a15a1abd93e60 SHA512 99ed72c1a2a183157d0aded6f95c41c81c9c3d97f81c7267743ad3431676e2af1d7e08e4904761583af17806f5befd7254ca9f2ad170266d038053c7076a630e diff --git a/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild b/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild index 36aaaeefd2b9..1f81be7eaa34 100644 --- a/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild +++ b/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild @@ -42,6 +42,8 @@ IUSE_INPUT_DEVICES=( IUSE="${IUSE_INPUT_DEVICES[@]}" +LUA_DEPEND="|| ( dev-lang/lua:5.1 dev-lang/lua:0 )" + RDEPEND=" dev-libs/dbus-glib dev-libs/glib:2 @@ -52,9 +54,9 @@ RDEPEND=" x11-libs/libX11 virtual/libgudev:= virtual/libusb:1 - input_devices_roccat_ryosmk? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) ) - input_devices_roccat_ryosmkfx? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) ) - input_devices_roccat_ryostkl? ( || ( dev-lang/lua:5.1 dev-lang/lua:0 ) ) + input_devices_roccat_ryosmk? ( ${LUA_DEPEND} ) + input_devices_roccat_ryosmkfx? ( ${LUA_DEPEND} ) + input_devices_roccat_ryostkl? ( ${LUA_DEPEND} ) " DEPEND=" @@ -82,6 +84,20 @@ src_configure() { -DDEVICES="${USED_MODELS/;/}" -DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d" ) + + local lua_use=( + input_devices_roccat_ryosmk + input_devices_roccat_ryosmkfx + input_devices_roccat_ryostkl + ) + local luse + for luse in ${lua_use[@]} ; do + if use ${luse} ; then + mycmakeargs+=( -DWITH_LUA="5.1" ) + break + fi + done + cmake-utils_src_configure } |