From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libratbag/
Date: Mon, 20 Jan 2025 22:30:08 +0000 (UTC) [thread overview]
Message-ID: <1737412172.00b53ffb6bfe132727553673ff799894cae5f95e.chewi@gentoo> (raw)
commit: 00b53ffb6bfe132727553673ff799894cae5f95e
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 20 21:27:27 2025 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jan 20 22:29:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b53ffb
dev-libs/libratbag: Check kernel config for CONFIG_HIDRAW
Closes: https://github.com/gentoo/gentoo/pull/40035
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
dev-libs/libratbag/libratbag-0.17-r2.ebuild | 11 +++++++++--
dev-libs/libratbag/libratbag-9999.ebuild | 11 +++++++++--
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/dev-libs/libratbag/libratbag-0.17-r2.ebuild b/dev-libs/libratbag/libratbag-0.17-r2.ebuild
index 7620f30d382d..052a4ed12603 100644
--- a/dev-libs/libratbag/libratbag-0.17-r2.ebuild
+++ b/dev-libs/libratbag/libratbag-0.17-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit meson python-single-r1 systemd udev
+inherit linux-info meson python-single-r1 systemd udev
DESCRIPTION="Library to configure gaming mice"
HOMEPAGE="https://github.com/libratbag/libratbag"
@@ -67,10 +67,17 @@ DEPEND="
dev-libs/gobject-introspection
"
+CONFIG_CHECK="~HIDRAW"
+
PATCHES=(
"${FILESDIR}"/libratbag-0.17-python3.12-imp.patch
)
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
src_prepare() {
default
diff --git a/dev-libs/libratbag/libratbag-9999.ebuild b/dev-libs/libratbag/libratbag-9999.ebuild
index 47fc210ab543..3f5d0141a1f1 100644
--- a/dev-libs/libratbag/libratbag-9999.ebuild
+++ b/dev-libs/libratbag/libratbag-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit meson python-single-r1 systemd udev
+inherit linux-info meson python-single-r1 systemd udev
DESCRIPTION="Library to configure gaming mice"
HOMEPAGE="https://github.com/libratbag/libratbag"
@@ -67,6 +67,13 @@ DEPEND="
dev-libs/gobject-introspection
"
+CONFIG_CHECK="~HIDRAW"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
src_prepare() {
default
next reply other threads:[~2025-01-20 22:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-20 22:30 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-20 10:20 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libratbag/ Michał Górny
2025-01-20 22:30 James Le Cuirot
2024-04-20 7:53 Joonas Niilola
2022-12-21 12:22 Viorel Munteanu
2022-03-11 14:37 Joonas Niilola
2022-03-11 14:37 Joonas Niilola
2022-03-11 14:37 Joonas Niilola
2021-06-25 1:02 Lars Wendler
2021-04-29 17:59 Lars Wendler
2020-12-15 17:50 Lars Wendler
2020-12-15 8:19 Lars Wendler
2020-12-14 17:18 Lars Wendler
2020-12-14 17:17 Lars Wendler
2019-07-17 13:45 Michał Górny
2018-05-25 12:40 Lars Wendler
2017-12-19 15:04 Lars Wendler
2017-07-21 23:33 Lars Wendler
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=1737412172.00b53ffb6bfe132727553673ff799894cae5f95e.chewi@gentoo \
--to=chewi@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