diff options
author | Alexis Praga <alexis.praga@proton.me> | 2023-01-22 21:43:14 +0100 |
---|---|---|
committer | Alexis Praga <alexis.praga@proton.me> | 2023-01-22 21:46:11 +0100 |
commit | 2091d7b0735fc2df53aa796e6d7773622eca8ff5 (patch) | |
tree | 90f6cd7dc654cb772fe086db1e7d4f56344d05be /net-wireless/rtl8723bu | |
parent | games-util/xivlauncher: drop 1.0.2 (diff) | |
download | guru-2091d7b0735fc2df53aa796e6d7773622eca8ff5.tar.gz guru-2091d7b0735fc2df53aa796e6d7773622eca8ff5.tar.bz2 guru-2091d7b0735fc2df53aa796e6d7773622eca8ff5.zip |
net-wireless/rtl8723bu: new package
Driver for Realtek RTL8723BU Wireless Adapter with Hardware ID 0bda:b720
Signed-off-by: Alexis Praga <alexis.praga@proton.me>
Diffstat (limited to 'net-wireless/rtl8723bu')
-rw-r--r-- | net-wireless/rtl8723bu/metadata.xml | 12 | ||||
-rw-r--r-- | net-wireless/rtl8723bu/rtl8723bu-999.ebuild | 35 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-wireless/rtl8723bu/metadata.xml b/net-wireless/rtl8723bu/metadata.xml new file mode 100644 index 000000000..716eabecd --- /dev/null +++ b/net-wireless/rtl8723bu/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexis.praga@proton.me</email> + <name>Alexis Praga</name> + </maintainer> + <upstream> + <remote-id type="github">lwfinger/rtl8723bu</remote-id> + <bugs-to>https://github.com/lwfinger/rtl8723bu/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/net-wireless/rtl8723bu/rtl8723bu-999.ebuild b/net-wireless/rtl8723bu/rtl8723bu-999.ebuild new file mode 100644 index 000000000..288d0a8cb --- /dev/null +++ b/net-wireless/rtl8723bu/rtl8723bu-999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 linux-mod linux-info + +DESCRIPTION="Driver for the rtl8723 wireless chipset" +HOMEPAGE="https://github.com/lwfinger/rtl8723bu" +EGIT_REPO_URI="https://github.com/lwfinger/rtl8723bu.git" + +LICENSE="GPL-2" + +RDEPEND="sys-kernel/linux-firmware" + +MODULE_NAMES="8723bu(net:)" + +BUILD_TARGETS="all" + +# Concurrent mode should be disable to avoid 2 conflicting wifi interfaces +src_prepare() { + default + sed -i '/EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE/s/^/#/' Makefile || die "sed failed !" +} + +pkg_setup() { + linux-mod_pkg_setup +} + +src_install() { + insinto /lib/firmware + doins rtl8723b_fw.bin + + linux-mod_src_install +} |