From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/roccat-tools/
Date: Wed, 24 Jul 2019 05:47:56 +0000 (UTC) [thread overview]
Message-ID: <1563947269.7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb.polynomial-c@gentoo> (raw)
commit: 7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 05:45:51 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> 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 <AT> atoth.sote.hu>
Closes: https://bugs.gentoo.org/690532
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> 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
}
next reply other threads:[~2019-07-24 5:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 5:47 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-22 20:09 [gentoo-commits] repo/gentoo:master commit in: sys-apps/roccat-tools/ Conrad Kostecki
2021-07-22 20:09 Conrad Kostecki
2021-03-25 23:31 Conrad Kostecki
2020-01-13 11:41 Lars Wendler
2020-01-01 14:33 Lars Wendler
2019-07-18 8:11 Lars Wendler
2019-07-17 13:10 Lars Wendler
2019-07-17 11:43 Michał Górny
2019-07-16 14:51 Michał Górny
2018-06-06 8:39 Andreas Sturmlechner
2017-07-17 9:08 Lars Wendler
2017-07-17 9:08 Lars Wendler
2016-07-03 22:57 Göktürk Yüksek
2016-03-24 19:20 Patrick Lauer
2016-03-24 11:35 Ian Delaney
2016-03-24 11:35 Ian Delaney
2015-09-15 20:40 Markos Chandras
2015-09-15 20:40 Markos Chandras
2015-09-15 20:40 Markos Chandras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1563947269.7c3b570e4be54aa5c1a4458530e3d1d592f1ebbb.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox