rtl8812au_aircrack-ng: finally, 5.3.4 branch seems to be working, and better than 5.2.20

This commit is contained in:
Rick Farina (Zero_Chaos) 2019-05-16 11:33:22 -04:00
parent bc59807cf0
commit 21354a0c64
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=6
inherit linux-mod
@ -11,10 +11,10 @@ HOMEPAGE="https://github.com/aircrack-ng/rtl8812au"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
EGIT_BRANCH="v5.2.20"
EGIT_BRANCH="v5.3.4"
else
KEYWORDS="~amd64 ~x86"
COMMIT="377c12c688c6777a4b39191f773c2ef5403958ef"
COMMIT="12e3c5d56a0249d0f2eea6ae795b86a7154b4c7c"
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/rtl8812au-${COMMIT}"
fi
@ -33,11 +33,10 @@ MODULE_NAMES="88XXau(misc:)"
#compile against selected (not running) target
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} RTL8814=1"
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} RTL8814=1 V=1"
}
src_prepare() {
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile
default
}