public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/aic8800/
@ 2024-01-04  1:13 Chí-Thanh Christopher Nguyễn
  0 siblings, 0 replies; 3+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2024-01-04  1:13 UTC (permalink / raw
  To: gentoo-commits

commit:     3ae7997f06d40c6d39b740aaf0da4104756f179b
Author:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 01:08:19 2024 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 01:13:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae7997f

net-wireless/aic8800: new package, add 1.0.3

Signed-off-by: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo.org>

 net-wireless/aic8800/Manifest             |  1 +
 net-wireless/aic8800/aic8800-1.0.3.ebuild | 58 +++++++++++++++++++++++++++++++
 net-wireless/aic8800/metadata.xml         | 13 +++++++
 3 files changed, 72 insertions(+)

diff --git a/net-wireless/aic8800/Manifest b/net-wireless/aic8800/Manifest
new file mode 100644
index 000000000000..8f1cc433fd6e
--- /dev/null
+++ b/net-wireless/aic8800/Manifest
@@ -0,0 +1 @@
+DIST aic8800-1.0.3.deb 535400 BLAKE2B 0e337bded43f99a00fb3d786742418d7faf0adf3d6e517933d4d4a82e7e723e5f45798991238a02fb1836529a5d72cc56181356939eb150feb4c26f14dcd762e SHA512 0917ac4f5a594adb68c084f38bedacb92f3c0700d13dda497943d199bd883c18fc624ffc579091b40fdc6322dc2e5b81cc21add06b27ae8364ee2f8f9f119a7d

diff --git a/net-wireless/aic8800/aic8800-1.0.3.ebuild b/net-wireless/aic8800/aic8800-1.0.3.ebuild
new file mode 100644
index 000000000000..1665ab563bf5
--- /dev/null
+++ b/net-wireless/aic8800/aic8800-1.0.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit linux-mod-r1 udev unpacker
+
+DESCRIPTION="aic8800 driver for AICSemi AIC8800/8801/8800DC/8800DW/8800FC Wifi/Bluetooth"
+HOMEPAGE="https://www.aicsemi.com/ https://linux.brostrend.com/troubleshooting/source-code/"
+
+SRC_URI="https://linux.brostrend.com/${PN}-dkms.deb -> ${P}.deb"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+firmware udev"
+
+CONFIG_CHECK="~MAC80211 ~BT_HCIBTUSB"
+
+BDEPEND+="
+	$(unpacker_src_uri_depends)"
+
+S="${WORKDIR}/usr/src/${P}"
+
+src_compile() {
+	MODULES_MAKEARGS+=(
+		KDIR="${KV_OUT_DIR}"
+	)
+	emake "${MODULES_MAKEARGS[@]}"
+}
+
+src_install() {
+	linux_moduleinto kernel/drivers/net/wireless/${PN}
+	linux_domodule aic8800_fdrv/aic8800_fdrv.ko aic_load_fw/aic_load_fw.ko
+	modules_post_process
+	if use firmware; then
+		insinto /lib/firmware
+		doins -r "${WORKDIR}/lib/firmware/aic8800DC"
+	fi
+	if use udev; then
+		# install udev rules for USB mode switching
+		udev_newrules "${WORKDIR}/lib/udev/rules.d/aic.rules" 99-aic-modeswitch.rules
+	fi
+}
+
+pkg_postinst() {
+	if use udev; then
+		udev_reload
+	fi
+	linux-mod-r1_pkg_postinst
+}
+
+pkg_postrm() {
+	if use udev; then
+		udev_reload
+	fi
+}

diff --git a/net-wireless/aic8800/metadata.xml b/net-wireless/aic8800/metadata.xml
new file mode 100644
index 000000000000..567331d7b4af
--- /dev/null
+++ b/net-wireless/aic8800/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>chithanh@gentoo.org</email>
+		<name>Chí-Thanh Christopher Nguyễn</name>
+	</maintainer>
+	<longdescription>Upstream out-of-tree aic8800 linux driver for the following chips:
+AIC8800 AIC8801 AIC8800DC AIC8800DW AIC8800FC</longdescription>
+	<use>
+		<flag name="firmware">Install device firmware</flag>
+	</use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/aic8800/
@ 2024-01-04  1:58 Chí-Thanh Christopher Nguyễn
  0 siblings, 0 replies; 3+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2024-01-04  1:58 UTC (permalink / raw
  To: gentoo-commits

commit:     bb348295e90e8c8df3ccb1101b041332ddb4e78c
Author:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 01:58:15 2024 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 01:58:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb348295

net-wireless/aic8800: set LICENSE correctly if firmware is installed

Signed-off-by: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo.org>

 net-wireless/aic8800/aic8800-1.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/aic8800/aic8800-1.0.3.ebuild b/net-wireless/aic8800/aic8800-1.0.3.ebuild
index 1665ab563bf5..79471e659a08 100644
--- a/net-wireless/aic8800/aic8800-1.0.3.ebuild
+++ b/net-wireless/aic8800/aic8800-1.0.3.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.aicsemi.com/ https://linux.brostrend.com/troubleshooting/s
 
 SRC_URI="https://linux.brostrend.com/${PN}-dkms.deb -> ${P}.deb"
 
-LICENSE="GPL-2+"
+LICENSE="GPL-2+ firmware? ( freedist )"
 SLOT="0"
 KEYWORDS="~amd64"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/aic8800/
@ 2024-04-12  5:26 Yixun Lan
  0 siblings, 0 replies; 3+ messages in thread
From: Yixun Lan @ 2024-04-12  5:26 UTC (permalink / raw
  To: gentoo-commits

commit:     d2d7ee678f3780333adba0278252990b8107b2a1
Author:     Xin Yang <yangmame <AT> icloud <DOT> com>
AuthorDate: Sun Apr  7 05:49:48 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Apr 12 05:25:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d7ee67

net-wireless/aic8800: Bump to 1.0.5

Closes: https://github.com/gentoo/gentoo/pull/36145
Signed-off-by: Xin Yang <yangmame <AT> icloud.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-wireless/aic8800/Manifest             |  1 +
 net-wireless/aic8800/aic8800-1.0.5.ebuild | 58 +++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/net-wireless/aic8800/Manifest b/net-wireless/aic8800/Manifest
index 8f1cc433fd6e..5855369aef24 100644
--- a/net-wireless/aic8800/Manifest
+++ b/net-wireless/aic8800/Manifest
@@ -1 +1,2 @@
 DIST aic8800-1.0.3.deb 535400 BLAKE2B 0e337bded43f99a00fb3d786742418d7faf0adf3d6e517933d4d4a82e7e723e5f45798991238a02fb1836529a5d72cc56181356939eb150feb4c26f14dcd762e SHA512 0917ac4f5a594adb68c084f38bedacb92f3c0700d13dda497943d199bd883c18fc624ffc579091b40fdc6322dc2e5b81cc21add06b27ae8364ee2f8f9f119a7d
+DIST aic8800-1.0.5.deb 595050 BLAKE2B 551e9ad09814bcab5464a7bfe09b922e400253403568068b74d839b8d53261251424b571266abed907314d08b27ac5bdbd51abd493bec5d0a511363173635e42 SHA512 4b4917a510caf1104ae7124f883b958d6a936a6e172d1afcc79f58349a943e0feb9a8bb35d326f96c56e0b089d62e3359cf81967e01e1edb1a1ddfc6fe101da0

diff --git a/net-wireless/aic8800/aic8800-1.0.5.ebuild b/net-wireless/aic8800/aic8800-1.0.5.ebuild
new file mode 100644
index 000000000000..79471e659a08
--- /dev/null
+++ b/net-wireless/aic8800/aic8800-1.0.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit linux-mod-r1 udev unpacker
+
+DESCRIPTION="aic8800 driver for AICSemi AIC8800/8801/8800DC/8800DW/8800FC Wifi/Bluetooth"
+HOMEPAGE="https://www.aicsemi.com/ https://linux.brostrend.com/troubleshooting/source-code/"
+
+SRC_URI="https://linux.brostrend.com/${PN}-dkms.deb -> ${P}.deb"
+
+LICENSE="GPL-2+ firmware? ( freedist )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+firmware udev"
+
+CONFIG_CHECK="~MAC80211 ~BT_HCIBTUSB"
+
+BDEPEND+="
+	$(unpacker_src_uri_depends)"
+
+S="${WORKDIR}/usr/src/${P}"
+
+src_compile() {
+	MODULES_MAKEARGS+=(
+		KDIR="${KV_OUT_DIR}"
+	)
+	emake "${MODULES_MAKEARGS[@]}"
+}
+
+src_install() {
+	linux_moduleinto kernel/drivers/net/wireless/${PN}
+	linux_domodule aic8800_fdrv/aic8800_fdrv.ko aic_load_fw/aic_load_fw.ko
+	modules_post_process
+	if use firmware; then
+		insinto /lib/firmware
+		doins -r "${WORKDIR}/lib/firmware/aic8800DC"
+	fi
+	if use udev; then
+		# install udev rules for USB mode switching
+		udev_newrules "${WORKDIR}/lib/udev/rules.d/aic.rules" 99-aic-modeswitch.rules
+	fi
+}
+
+pkg_postinst() {
+	if use udev; then
+		udev_reload
+	fi
+	linux-mod-r1_pkg_postinst
+}
+
+pkg_postrm() {
+	if use udev; then
+		udev_reload
+	fi
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-12  5:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04  1:13 [gentoo-commits] repo/gentoo:master commit in: net-wireless/aic8800/ Chí-Thanh Christopher Nguyễn
  -- strict thread matches above, loose matches on Subject: below --
2024-01-04  1:58 Chí-Thanh Christopher Nguyễn
2024-04-12  5:26 Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox