summaryrefslogtreecommitdiff
path: root/net-wireless/aic8800
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-12 11:28:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-12 11:28:19 +0100
commit949f40bfce898427eff8391d6b07b5aafc9e92a2 (patch)
treecc00375087195bd62662092657ece5a582a22798 /net-wireless/aic8800
parented7b29dac0f97dbcf5472b7556b83731a6b6b0d4 (diff)
gentoo auto-resync : 12:04:2024 - 11:28:19
Diffstat (limited to 'net-wireless/aic8800')
-rw-r--r--net-wireless/aic8800/Manifest2
-rw-r--r--net-wireless/aic8800/aic8800-1.0.5.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-wireless/aic8800/Manifest b/net-wireless/aic8800/Manifest
index 38cc6f038b84..53a636e8efea 100644
--- a/net-wireless/aic8800/Manifest
+++ b/net-wireless/aic8800/Manifest
@@ -1,3 +1,5 @@
DIST aic8800-1.0.3.deb 535400 BLAKE2B 0e337bded43f99a00fb3d786742418d7faf0adf3d6e517933d4d4a82e7e723e5f45798991238a02fb1836529a5d72cc56181356939eb150feb4c26f14dcd762e SHA512 0917ac4f5a594adb68c084f38bedacb92f3c0700d13dda497943d199bd883c18fc624ffc579091b40fdc6322dc2e5b81cc21add06b27ae8364ee2f8f9f119a7d
+DIST aic8800-1.0.5.deb 595050 BLAKE2B 551e9ad09814bcab5464a7bfe09b922e400253403568068b74d839b8d53261251424b571266abed907314d08b27ac5bdbd51abd493bec5d0a511363173635e42 SHA512 4b4917a510caf1104ae7124f883b958d6a936a6e172d1afcc79f58349a943e0feb9a8bb35d326f96c56e0b089d62e3359cf81967e01e1edb1a1ddfc6fe101da0
EBUILD aic8800-1.0.3.ebuild 1250 BLAKE2B 867a75598c5f3ca2e900da456397035cc2c2819e2e74415e27fea51a828c0dcb1179d9a0de4fe58619b6a50db090feaedeb0bd873e637cb40aa42d285486edc9 SHA512 6092611cf1c30ae478271c927a49d3c98bcb64be87c75f5eb1223c17b0885263826d037496f72c6dbd472398cf60f6519290ce0521ae7a8f891720bb7ef76756
+EBUILD aic8800-1.0.5.ebuild 1250 BLAKE2B 867a75598c5f3ca2e900da456397035cc2c2819e2e74415e27fea51a828c0dcb1179d9a0de4fe58619b6a50db090feaedeb0bd873e637cb40aa42d285486edc9 SHA512 6092611cf1c30ae478271c927a49d3c98bcb64be87c75f5eb1223c17b0885263826d037496f72c6dbd472398cf60f6519290ce0521ae7a8f891720bb7ef76756
MISC metadata.xml 486 BLAKE2B e988be4f0cfe552bb8feccdb545341a0823323892af230d37380f4a205bd1c95e4f7011d0570e68ffbb277129542dcc9753e4a4a7478ff905b424704bebe7222 SHA512 c5302c7a7e1db6291fd6f6eef4264f6ab06e3264bea8b17389605c7d532896d95d558b916c710362112b0af2404222cba511fc4b565872ce81e30c53b1c7d50a
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
+}