commit: 7c77ffaa6bea37cd19a4d5f02877a2b64b5759b1
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 2 11:15:11 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jun 2 11:16:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c77ffaa
sys-power/acpi_call: migrate to linux-mod-r1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../{acpi_call-1.2.2.ebuild => acpi_call-1.2.2-r1.ebuild} | 15 +++++++--------
sys-power/acpi_call/acpi_call-9999.ebuild | 15 +++++++--------
2 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/sys-power/acpi_call/acpi_call-1.2.2.ebuild
b/sys-power/acpi_call/acpi_call-1.2.2-r1.ebuild
similarity index 68%
rename from sys-power/acpi_call/acpi_call-1.2.2.ebuild
rename to sys-power/acpi_call/acpi_call-1.2.2-r1.ebuild
index 90e2e0158a01..b7fd9601068a 100644
--- a/sys-power/acpi_call/acpi_call-1.2.2.ebuild
+++ b/sys-power/acpi_call/acpi_call-1.2.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit linux-info linux-mod
+inherit linux-mod-r1
DESCRIPTION="A linux kernel module that enables calls to ACPI"
HOMEPAGE="https://github.com/nix-community/acpi_call"
@@ -14,18 +14,17 @@ SLOT="0"
KEYWORDS="amd64"
IUSE="examples"
-BUILD_TARGETS="default"
CONFIG_CHECK="ACPI"
-MODULE_NAMES="acpi_call(misc:${S})"
src_compile() {
- BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}"
+ local modargs=( KDIR=${KV_OUT_DIR} )
+ local modlist=( acpi_call=misc )
- linux-mod_src_compile
+ linux-mod-r1_src_compile
}
src_install() {
- linux-mod_src_install
+ linux-mod-r1_src_install
if use examples; then
insinto /usr/share/acpi_call
diff --git a/sys-power/acpi_call/acpi_call-9999.ebuild
b/sys-power/acpi_call/acpi_call-9999.ebuild
index ba449334ffc0..c8b96da325e2 100644
--- a/sys-power/acpi_call/acpi_call-9999.ebuild
+++ b/sys-power/acpi_call/acpi_call-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit git-r3 linux-info linux-mod
+inherit git-r3 linux-mod-r1
DESCRIPTION="A linux kernel module that enables calls to ACPI"
HOMEPAGE="https://github.com/nix-community/acpi_call"
@@ -14,18 +14,17 @@ SLOT="0"
KEYWORDS=""
IUSE="examples"
-BUILD_TARGETS="default"
CONFIG_CHECK="ACPI"
-MODULE_NAMES="acpi_call(misc:${S})"
src_compile() {
- BUILD_PARAMS="KDIR=${KV_OUT_DIR} M=${S}"
+ local modargs=( KDIR=${KV_OUT_DIR} )
+ local modlist=( acpi_call=misc )
- linux-mod_src_compile
+ linux-mod-r1_src_compile
}
src_install() {
- linux-mod_src_install
+ linux-mod-r1_src_install
if use examples; then
insinto /usr/share/acpi_call