diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-04 07:58:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-04 07:58:30 +0000 |
commit | 5e0583283abb5e0f998830cea3f4f9785699b2ed (patch) | |
tree | c9999a88a0ae4409d0f85dc733d2b42181f94a53 /net-wireless/aic8800 | |
parent | fa3c4c282d03b85eb600bae6ec57b619004feb5a (diff) |
gentoo auto-resync : 04:01:2024 - 07:58:30
Diffstat (limited to 'net-wireless/aic8800')
-rw-r--r-- | net-wireless/aic8800/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/aic8800/aic8800-1.0.3.ebuild | 58 | ||||
-rw-r--r-- | net-wireless/aic8800/metadata.xml | 13 |
3 files changed, 74 insertions, 0 deletions
diff --git a/net-wireless/aic8800/Manifest b/net-wireless/aic8800/Manifest new file mode 100644 index 000000000000..38cc6f038b84 --- /dev/null +++ b/net-wireless/aic8800/Manifest @@ -0,0 +1,3 @@ +DIST aic8800-1.0.3.deb 535400 BLAKE2B 0e337bded43f99a00fb3d786742418d7faf0adf3d6e517933d4d4a82e7e723e5f45798991238a02fb1836529a5d72cc56181356939eb150feb4c26f14dcd762e SHA512 0917ac4f5a594adb68c084f38bedacb92f3c0700d13dda497943d199bd883c18fc624ffc579091b40fdc6322dc2e5b81cc21add06b27ae8364ee2f8f9f119a7d +EBUILD aic8800-1.0.3.ebuild 1250 BLAKE2B 867a75598c5f3ca2e900da456397035cc2c2819e2e74415e27fea51a828c0dcb1179d9a0de4fe58619b6a50db090feaedeb0bd873e637cb40aa42d285486edc9 SHA512 6092611cf1c30ae478271c927a49d3c98bcb64be87c75f5eb1223c17b0885263826d037496f72c6dbd472398cf60f6519290ce0521ae7a8f891720bb7ef76756 +MISC metadata.xml 486 BLAKE2B e988be4f0cfe552bb8feccdb545341a0823323892af230d37380f4a205bd1c95e4f7011d0570e68ffbb277129542dcc9753e4a4a7478ff905b424704bebe7222 SHA512 c5302c7a7e1db6291fd6f6eef4264f6ab06e3264bea8b17389605c7d532896d95d558b916c710362112b0af2404222cba511fc4b565872ce81e30c53b1c7d50a 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..79471e659a08 --- /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+ 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 +} 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> |