From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0CF9138334 for ; Wed, 24 Jul 2019 05:48:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF940E07F6; Wed, 24 Jul 2019 05:47:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5383E07F6 for ; Wed, 24 Jul 2019 05:47:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92B673485C8 for ; Wed, 24 Jul 2019 05:47:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EB154D3 for ; Wed, 24 Jul 2019 05:47:56 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1563947269.7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/roccat-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild X-VCS-Directories: sys-apps/roccat-tools/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb X-VCS-Branch: master Date: Wed, 24 Jul 2019 05:47:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c94dcb6d-9dc7-4490-acf9-7f1ae10f8e50 X-Archives-Hash: 52441416b5c1254d7ba55774f8226cfa commit: 7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb Author: Lars Wendler gentoo org> AuthorDate: Wed Jul 24 05:45:51 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Jul 24 05:47:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3b570e sys-apps/roccat-tools: Make lua finder happy... Thanks-to: Attila Tóth atoth.sote.hu> Closes: https://bugs.gentoo.org/690532 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler gentoo.org> sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) 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 36aaaeefd2b..1f81be7eaa3 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 }