mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-power/nct6687d: new package, add 0_pre20260313, 9999
Closes: https://bugs.gentoo.org/819906 Co-authored-by: Yuri Konotopov <ykonotopov@gnome.org> Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
1
sys-power/nct6687d/Manifest
Normal file
1
sys-power/nct6687d/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST nct6687d-0_pre20260313.tar.gz 278911 BLAKE2B c14889cb43f1c71488c570ef4587da8d984fa0030735b5d45d105d1fc5534faf95b14cb9b8a09d23e4eb0a9941e8bfd0bbe12974fec549935253b040a880ad29 SHA512 a70c814cda5a1065b6fa75e8f84d0d0c8cfa2186d6873c4e486552bbeb05245c80a39200c0de8a4f60e78bbdff9d7e0d00ae95a9be99a7b6bae529691744fd21
|
||||
16
sys-power/nct6687d/metadata.xml
Normal file
16
sys-power/nct6687d/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nowa@gentoo.org</email>
|
||||
<name>Nowa Ammerlaan</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
This kernel module enables recognition of the Nuvoton NCT6687-R chipset in <pkg>sys-apps/lm-sensors</pkg>.
|
||||
This sensor is present on some motherboards from, for example, MSI or ASUS.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Fred78290/nct6687d</remote-id>
|
||||
<bugs-to>https://github.com/Fred78290/nct6687d/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
27
sys-power/nct6687d/nct6687d-0_pre20260313.ebuild
Normal file
27
sys-power/nct6687d/nct6687d-0_pre20260313.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Fred78290/nct6687d"
|
||||
else
|
||||
COMMIT="cedda8bff09a4083e07414fb80fdc3901e7ab544"
|
||||
SRC_URI="https://github.com/Fred78290/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Kernel module for the Nuvoton NCT6687-R"
|
||||
HOMEPAGE="https://github.com/Fred78290/nct6687d"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
src_compile() {
|
||||
local modlist=( nct6687=drivers/hwmon::${KV_FULL}:build )
|
||||
local modargs=( kver="${KV_FULL}" )
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
27
sys-power/nct6687d/nct6687d-9999.ebuild
Normal file
27
sys-power/nct6687d/nct6687d-9999.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Fred78290/nct6687d"
|
||||
else
|
||||
COMMIT="cedda8bff09a4083e07414fb80fdc3901e7ab544"
|
||||
SRC_URI="https://github.com/Fred78290/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Kernel module for the Nuvoton NCT6687-R"
|
||||
HOMEPAGE="https://github.com/Fred78290/nct6687d"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
src_compile() {
|
||||
local modlist=( nct6687=drivers/hwmon::${KV_FULL}:build )
|
||||
local modargs=( kver="${KV_FULL}" )
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
Reference in New Issue
Block a user