From a9ba7a56da8fe862f7074ae1ff7898e3d073f87a Mon Sep 17 00:00:00 2001 From: Kurt Kanzenbach Date: Wed, 19 Feb 2020 20:25:45 +0100 Subject: [PATCH 1/8] dev-util/quilttools: Mailbox to quilt series converter (new package) mb2q analyses the complete mailbox and collects various tags (Reviewed-by, Acked-by, Tested-by) from replies to individual patches and to the cover letter. If a tag is in a reply to the cover letter it is applied to all patches which reference the cover letter. Optionally the output can be redirected into a mailbox which can be applied with git-am. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach --- dev-util/quilttools/Manifest | 1 + dev-util/quilttools/metadata.xml | 17 +++++++++ dev-util/quilttools/quilttools-0.3.ebuild | 42 +++++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 dev-util/quilttools/Manifest create mode 100644 dev-util/quilttools/metadata.xml create mode 100644 dev-util/quilttools/quilttools-0.3.ebuild diff --git a/dev-util/quilttools/Manifest b/dev-util/quilttools/Manifest new file mode 100644 index 0000000000..49c4a3287c --- /dev/null +++ b/dev-util/quilttools/Manifest @@ -0,0 +1 @@ +DIST quilttools-0.3.tar.gz 20525 BLAKE2B 9dafcbb68b7a7f667c3667af0144082b791832e8cdd35de2d06be3dfc15c0ca6390e309fcbbd13f8132cc6f40f967aa1bba2010270a3ed743172b5379d2a29e5 SHA512 50358996dd1b8a9a75616324d53d0ff459da701d9647e91d015d9fb810f2e22ee31de91c6f47202e925be53c1548914b1919bc41d951646e2e19b0ad79e2ed12 diff --git a/dev-util/quilttools/metadata.xml b/dev-util/quilttools/metadata.xml new file mode 100644 index 0000000000..390df7d285 --- /dev/null +++ b/dev-util/quilttools/metadata.xml @@ -0,0 +1,17 @@ + + + + + kurt@kmk-computers.de + Kurt Kanzenbach + + + mb2q analyses the complete mailbox and collects various tags (Reviewed-by, + Acked-by, Tested-by) from replies to individual patches and to the cover + letter. If a tag is in a reply to the cover letter it is applied to all + patches which reference the cover letter. + + Optionally the output can be redirected into a mailbox which can be applied + with git-am. + + diff --git a/dev-util/quilttools/quilttools-0.3.ebuild b/dev-util/quilttools/quilttools-0.3.ebuild new file mode 100644 index 0000000000..179ab2b9a2 --- /dev/null +++ b/dev-util/quilttools/quilttools-0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=(python3_{6,7}) + +inherit python-single-r1 + +DESCRIPTION="Mailbox to quilt series converter" +HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/tglx/quilttools.git/about/" +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/tglx/quilttools.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND="dev-python/sphinx" +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + net-mail/notmuch[python,${PYTHON_MULTI_USEDEP}] + ')" + +src_compile() { + emake -C Documentation man + use doc && emake -C Documentation html +} + +src_install() { + dobin mb2q + doman Documentation/output/man/mb2q.1 + python_fix_shebang "${ED}" + + local DOCS=( README.md ) + use doc && local HTML_DOCS=( Documentation/output/html/. ) + einstalldocs + + use examples && dodoc -r Documentation/examples +} From 2cac09e7095060a4e2e3496ecca5fd1b23fb79ea Mon Sep 17 00:00:00 2001 From: Kurt Kanzenbach Date: Thu, 30 Jan 2020 19:27:40 +0100 Subject: [PATCH 2/8] app-text/katarakt: Katarakt is a simple PDF viewer (new package) katarakt is a simple PDF viewer. It is designed to use as much available screen space as possible. There are currently two layouts. The presentation layout is very simple and only supports scrolling on a per page basis. As the name suggests the current page is displayed in the center and zoomed to fit the window. It is active by default. The grid layout is much more advanced and offers continuous (smooth, per pixel) scrolling, zooming and adjusting the column count. Pages keep their correct relative size and are shown in a grid. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach --- app-text/katarakt/Manifest | 1 + .../katarakt/files/katarakt-0.2-install.patch | 26 ++++++++++++ app-text/katarakt/katarakt-0.2.ebuild | 41 +++++++++++++++++++ app-text/katarakt/metadata.xml | 21 ++++++++++ 4 files changed, 89 insertions(+) create mode 100644 app-text/katarakt/Manifest create mode 100644 app-text/katarakt/files/katarakt-0.2-install.patch create mode 100644 app-text/katarakt/katarakt-0.2.ebuild create mode 100644 app-text/katarakt/metadata.xml diff --git a/app-text/katarakt/Manifest b/app-text/katarakt/Manifest new file mode 100644 index 0000000000..3a47b28119 --- /dev/null +++ b/app-text/katarakt/Manifest @@ -0,0 +1 @@ +DIST katarakt-v0.2.tar.gz 52004 BLAKE2B af014425bbf9c36350f4c10e57d9668f4a362d786c660f032381f6cf68b006d384c88bb0f4cabee4c0bc8e5f01ad25a44ef38d100ddfdfe955a442313b77b322 SHA512 a07054e0e9915f6239b8149bbd08c8b5ec095b0e9ffb54e03761ad9e59914f66166e4b8359298721a6b46c2bcf5114f40ad117c4826a32660c1fba28f69b8e68 diff --git a/app-text/katarakt/files/katarakt-0.2-install.patch b/app-text/katarakt/files/katarakt-0.2-install.patch new file mode 100644 index 0000000000..96cb6f4b61 --- /dev/null +++ b/app-text/katarakt/files/katarakt-0.2-install.patch @@ -0,0 +1,26 @@ +From 4801619c7752b317da8d57183f590d9c3cce42e1 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach +Date: Thu, 30 Jan 2020 19:22:05 +0100 +Subject: [PATCH] build: Install binary + +Add an install target for the binary. + +Signed-off-by: Kurt Kanzenbach +--- + katarakt.pro | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/katarakt.pro b/katarakt.pro +index a632713db2ce..220dfd68b1b9 100644 +--- a/katarakt.pro ++++ b/katarakt.pro +@@ -57,3 +57,6 @@ web.depends = $$website.target + web.CONFIG = phony + + QMAKE_EXTRA_TARGETS += documentation website doc web ++ ++target.path = $$INSTALL_ROOT/$$PREFIX/bin/ ++INSTALLS += target +-- +2.24.1 + diff --git a/app-text/katarakt/katarakt-0.2.ebuild b/app-text/katarakt/katarakt-0.2.ebuild new file mode 100644 index 0000000000..3b8e58a10c --- /dev/null +++ b/app-text/katarakt/katarakt-0.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils + +DESCRIPTION="Simple PDF viewer" +HOMEPAGE="https://gitlab.cs.fau.de/Qui_Sum/katarakt" +SRC_URI="https://gitlab.cs.fau.de/Qui_Sum/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" + +SLOT="0" +LICENSE="BSD-2" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + app-text/asciidoc + virtual/pkgconfig" +RDEPEND=" + app-text/poppler[qt5] + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-v${PV}" + +PATCHES=( "${FILESDIR}/${P}-install.patch" ) + +src_configure() { + eqmake5 PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install + emake doc + doman doc/katarakt.1 +} diff --git a/app-text/katarakt/metadata.xml b/app-text/katarakt/metadata.xml new file mode 100644 index 0000000000..0da20b7000 --- /dev/null +++ b/app-text/katarakt/metadata.xml @@ -0,0 +1,21 @@ + + + + + kurt@kmk-computers.de + Kurt Kanzenbach + + + katarakt is a simple PDF viewer. It is designed to use as much available + screen space as possible. + + There are currently two layouts. The presentation layout is very simple and + only supports scrolling on a per page basis. As the name suggests the + current page is displayed in the center and zoomed to fit the window. It is + active by default. + + The grid layout is much more advanced and offers continuous (smooth, per + pixel) scrolling, zooming and adjusting the column count. Pages keep their + correct relative size and are shown in a grid. + + From fc6d5050286ceddecfc67cb38474b8b2413f472c Mon Sep 17 00:00:00 2001 From: Petrus Zhao Date: Tue, 17 Mar 2020 14:27:53 +0800 Subject: [PATCH 3/8] x11-misc/i3lock-color: new package Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Petrus Zhao --- x11-misc/i3lock-color/Manifest | 1 + .../i3lock-color/i3lock-color-2.12_p1.ebuild | 46 +++++++++++++++++++ .../i3lock-color/i3lock-color-9999.ebuild | 44 ++++++++++++++++++ x11-misc/i3lock-color/metadata.xml | 11 +++++ 4 files changed, 102 insertions(+) create mode 100644 x11-misc/i3lock-color/Manifest create mode 100644 x11-misc/i3lock-color/i3lock-color-2.12_p1.ebuild create mode 100644 x11-misc/i3lock-color/i3lock-color-9999.ebuild create mode 100644 x11-misc/i3lock-color/metadata.xml diff --git a/x11-misc/i3lock-color/Manifest b/x11-misc/i3lock-color/Manifest new file mode 100644 index 0000000000..628803c1b2 --- /dev/null +++ b/x11-misc/i3lock-color/Manifest @@ -0,0 +1 @@ +DIST i3lock-color-2.12_p1.tar.gz 206795 BLAKE2B e2f6c9054dc7a2dafba7aab868bc8dff0bad8c38192bcc85124af6e24c464d7753e586de4e43120ee0b1f1591f8e2d7a74f37ee5a84e84dbbc4fdc946cd5bb88 SHA512 906d90b9a8c8e17d0841a1e822ae1842e046fa2943c888257d2db80da7706e2861bb1305f332bc5d95bcd8f396a47921c5f6b20c26752323cdd6bb3ab37c6f76 diff --git a/x11-misc/i3lock-color/i3lock-color-2.12_p1.ebuild b/x11-misc/i3lock-color/i3lock-color-2.12_p1.ebuild new file mode 100644 index 0000000000..be56488c83 --- /dev/null +++ b/x11-misc/i3lock-color/i3lock-color-2.12_p1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="${PV//_p1/.c.1}" + +DESCRIPTION="Improved i3lock with color customization" +HOMEPAGE="https://github.com/Raymo111/i3lock-color" +SRC_URI="https://github.com/Raymo111/i3lock-color/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64" + +LICENSE="i3lock-color" +SLOT="0" + +RDEPEND=" + x11-libs/cairo + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-image + x11-libs/xcb-util-xrm + x11-libs/libxkbcommon + sys-libs/pam + dev-libs/libev + media-libs/fontconfig:= + media-libs/libjpeg-turbo +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_configure() { + autoreconf -fiv + econf +} + +pkg_postinst() { + elog "Running i3lock-color:" + elog " Simply invoke the 'i3lock' command. To get out of it, enter your password and press enter." + elog " More imformation please check https://github.com/Raymo111/i3lock-color#running-i3lock-color" +} diff --git a/x11-misc/i3lock-color/i3lock-color-9999.ebuild b/x11-misc/i3lock-color/i3lock-color-9999.ebuild new file mode 100644 index 0000000000..072ee1e501 --- /dev/null +++ b/x11-misc/i3lock-color/i3lock-color-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Improved i3lock with color customization" +HOMEPAGE="https://github.com/Raymo111/i3lock-color" + +EGIT_REPO_URI="${HOMEPAGE}" +KEYWORDS="" + +LICENSE="i3lock-color" +SLOT="0" + +RDEPEND=" + x11-libs/cairo + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-image + x11-libs/xcb-util-xrm + x11-libs/libxkbcommon + sys-libs/pam + dev-libs/libev + media-libs/fontconfig:= + media-libs/libjpeg-turbo +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + autoreconf -fiv + econf +} + +pkg_postinst() { + elog "Running i3lock-color:" + elog "Simply invoke the 'i3lock' command. To get out of it, enter your password and press enter." + elog "More imformation please check https://github.com/Raymo111/i3lock-color#running-i3lock-color" +} diff --git a/x11-misc/i3lock-color/metadata.xml b/x11-misc/i3lock-color/metadata.xml new file mode 100644 index 0000000000..fa7fff034d --- /dev/null +++ b/x11-misc/i3lock-color/metadata.xml @@ -0,0 +1,11 @@ + + + + + petrus.zy.07@gmail.com + Petrus Zhao + + + Raymo111/i3lock-color + + From 214fbfbaea3209b35572a3a36316c17d30b719b3 Mon Sep 17 00:00:00 2001 From: Petrus Zhao Date: Tue, 17 Mar 2020 14:28:21 +0800 Subject: [PATCH 4/8] licenses: add i3lock-color license Signed-off-by: Petrus Zhao --- licenses/i3lock-color | 31 +++++++++++++++++++++++++++++++ profiles/license_groups | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 licenses/i3lock-color diff --git a/licenses/i3lock-color b/licenses/i3lock-color new file mode 100644 index 0000000000..00ddbfc6fb --- /dev/null +++ b/licenses/i3lock-color @@ -0,0 +1,31 @@ +Copyright © 2010-2011, Michael Stapelberg +Copyright © 2015, Cassandra Fox +Copyright © 2015, Raymond Li +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of Michael Stapelberg, nor the name of Raymond Li, + nor the names of contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY Michael Stapelberg/Cassandra Fox/Raymond Li +''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL Michael Stapelberg/Cassandra Fox/Raymond Li BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/profiles/license_groups b/profiles/license_groups index 29a53dbc4c..040e2ccef1 100644 --- a/profiles/license_groups +++ b/profiles/license_groups @@ -1,2 +1,2 @@ DFSG @FREE lablgtk-examples meschach VOSTROM -MISC-FREE noweb +MISC-FREE noweb i3lock-color From ec183334ef0907de90db918399442e44fa4dcaa0 Mon Sep 17 00:00:00 2001 From: Aleksandr Batyuk Date: Tue, 17 Mar 2020 13:04:53 +0600 Subject: [PATCH 5/8] net-wireless/rtl8821ce: New Package Realtek RTL8821CE Driver module for Linux kernel. Closes: https://bugs.gentoo.org/696980 Tested-by: Aleksandr Batyuk Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aleksandr Batyuk --- net-wireless/rtl8821ce/Manifest | 1 + net-wireless/rtl8821ce/files/32bit.patch | 17 +++++++ net-wireless/rtl8821ce/metadata.xml | 8 ++++ .../rtl8821ce/rtl8821ce-20191119.ebuild | 47 +++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 net-wireless/rtl8821ce/Manifest create mode 100644 net-wireless/rtl8821ce/files/32bit.patch create mode 100644 net-wireless/rtl8821ce/metadata.xml create mode 100644 net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild diff --git a/net-wireless/rtl8821ce/Manifest b/net-wireless/rtl8821ce/Manifest new file mode 100644 index 0000000000..ca5653ce3b --- /dev/null +++ b/net-wireless/rtl8821ce/Manifest @@ -0,0 +1 @@ +DIST rtl8821ce-20191119.tar.gz 4519557 BLAKE2B e47add6566c68ea0408a34f8a374ca6cec92e68a269991f1e48c5459fea82feae8c6eecb22f06785414dc23e2c1cf889b4bda95ab49210b4edbf93aee1c9ddc5 SHA512 b0a248bfc7abea57163b1ad29946cce509cfac6100c2f8129dfe347539267ff6840bdef845c6939bbf4963707ded107345133b1ec56da95e334d05c67f0e4122 diff --git a/net-wireless/rtl8821ce/files/32bit.patch b/net-wireless/rtl8821ce/files/32bit.patch new file mode 100644 index 0000000000..8f37af89cf --- /dev/null +++ b/net-wireless/rtl8821ce/files/32bit.patch @@ -0,0 +1,17 @@ +diff --git a/hal/rtl8821c/pci/rtl8821ce_halmac.c b/hal/rtl8821c/pci/rtl8821ce_halmac.c +index 1100cdf..f7ae7b0 100755 +--- a/hal/rtl8821c/pci/rtl8821ce_halmac.c ++++ b/hal/rtl8821c/pci/rtl8821ce_halmac.c +@@ -24,7 +24,11 @@ static u8 pci_write_port_not_xmitframe(void *d, u32 size, u8 *pBuf, u8 qsel) + PADAPTER padapter = dvobj_get_primary_adapter(pobj); + u32 page_size = 0; + u8 *txbd; ++#ifdef CONFIG_64BIT + u64 txbd_dma; ++#else ++ dma_addr_t txbd_dma; ++#endif + u8 ret = _SUCCESS; + dma_addr_t mapping; + + diff --git a/net-wireless/rtl8821ce/metadata.xml b/net-wireless/rtl8821ce/metadata.xml new file mode 100644 index 0000000000..36b7316a64 --- /dev/null +++ b/net-wireless/rtl8821ce/metadata.xml @@ -0,0 +1,8 @@ + + + + + abbat.2008@gmail.com + Aleksandr Batyuk + + diff --git a/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild b/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild new file mode 100644 index 0000000000..93a134f508 --- /dev/null +++ b/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit linux-mod + +COMMIT="27f98a55cc48b9a26e6eb4127976c8feb95867d8" + +DESCRIPTION="Realtek RTL8821CE Driver module for Linux kernel" +HOMEPAGE="https://github.com/tomaspinho/rtl8821ce" +SRC_URI="https://github.com/tomaspinho/rtl8821ce/archive/${COMMIT}.tar.gz -> rtl8821ce-${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/linux-sources" + +S="${WORKDIR}/rtl8821ce-${COMMIT}" + +MODULE_NAMES="8821ce(net/wireless)" +BUILD_TARGETS="all" + +src_unpack() { + unpack ${A} + cd "${S}" +} + +src_prepare(){ + # fix 32bit build + epatch "${FILESDIR}/32bit.patch" +} + +pkg_setup() { + linux-mod_pkg_setup +} + +src_compile(){ + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install +} + +pkg_postinst() { + linux-mod_pkg_postinst +} From 691e59b5b29c9f9328d57e2a57a5402c4078d570 Mon Sep 17 00:00:00 2001 From: Aleksandr Batyuk Date: Tue, 17 Mar 2020 15:14:59 +0600 Subject: [PATCH 6/8] net-wireless/rtl8821ce: New package Realtek RTL8821CE Driver module for Linux kernel. Closes: https://bugs.gentoo.org/696980 Tested-by: Aleksandr Batyuk Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aleksandr Batyuk --- net-wireless/rtl8821cu/Manifest | 1 + net-wireless/rtl8821cu/metadata.xml | 9 ++++ .../rtl8821cu/rtl8821cu-20200302.ebuild | 42 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 net-wireless/rtl8821cu/Manifest create mode 100644 net-wireless/rtl8821cu/metadata.xml create mode 100644 net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild diff --git a/net-wireless/rtl8821cu/Manifest b/net-wireless/rtl8821cu/Manifest new file mode 100644 index 0000000000..5d2ec9288e --- /dev/null +++ b/net-wireless/rtl8821cu/Manifest @@ -0,0 +1 @@ +DIST rtl8821cu-20200302.tar.gz 3641031 BLAKE2B c4b8555028b5ddf096f7daf57997d5113aa743e3250bd5cc3b377ac8877a72be5a4a127fdd773e800695a976b55767299c5361aeda45d5004a9e5568743e6a8d SHA512 bd7ae2a6f3259ee9e69d97836870645068c02c3bdcc491e4bdc321c637d4612adfcfb3d31b2643632cbcca30f1cd6f9e030f51169e7fa1dd1841ea665e0cb7e9 diff --git a/net-wireless/rtl8821cu/metadata.xml b/net-wireless/rtl8821cu/metadata.xml new file mode 100644 index 0000000000..7386d29e6e --- /dev/null +++ b/net-wireless/rtl8821cu/metadata.xml @@ -0,0 +1,9 @@ + + + + + + abbat.2008@gmail.com + Aleksandr Batyuk + + diff --git a/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild new file mode 100644 index 0000000000..7a92b2481e --- /dev/null +++ b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit linux-mod + +COMMIT="ca0bcba405f8865e6acd6a6d3cacf93f7e1b8a2c" + +DESCRIPTION="Realtek 8821CU/RTL8811CU module for Linux kernel" +HOMEPAGE="https://github.com/brektrou/rtl8821CU" +SRC_URI="https://github.com/brektrou/rtl8821CU/archive/${COMMIT}.tar.gz -> rtl8821cu-${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/linux-sources" + +S="${WORKDIR}/rtl8821CU-${COMMIT}" + +MODULE_NAMES="8821cu(net/wireless)" +BUILD_TARGETS="all" + +src_unpack() { + unpack ${A} + cd "${S}" +} + +pkg_setup() { + linux-mod_pkg_setup +} + +src_compile(){ + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install +} + +pkg_postinst() { + linux-mod_pkg_postinst +} From cf49be0d23d3635f722c887dc0f6d5178fabb514 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Tue, 17 Mar 2020 16:51:32 +0100 Subject: [PATCH 7/8] net-wireless/rtl8821cu: fix multiple issues, please read details If you overwrite src_prepare, be sure to call default or eapply_user emerge will fail if it is missing. Patches can also go in the patches variable All the functions here are already added by inheriting the eclass so there's no need to specify them manually Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andrew Ammerlaan --- .../rtl8821cu/rtl8821cu-20200302.ebuild | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild index 7a92b2481e..b4498c4a94 100644 --- a/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild +++ b/net-wireless/rtl8821cu/rtl8821cu-20200302.ebuild @@ -19,24 +19,3 @@ S="${WORKDIR}/rtl8821CU-${COMMIT}" MODULE_NAMES="8821cu(net/wireless)" BUILD_TARGETS="all" - -src_unpack() { - unpack ${A} - cd "${S}" -} - -pkg_setup() { - linux-mod_pkg_setup -} - -src_compile(){ - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install -} - -pkg_postinst() { - linux-mod_pkg_postinst -} From 720154147d9ab4faff03ebfc4bc770f1e3692d4e Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Tue, 17 Mar 2020 16:52:32 +0100 Subject: [PATCH 8/8] net-wireless/rtl8821ce: Same issues as previous commit Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andrew Ammerlaan --- .../rtl8821ce/rtl8821ce-20191119.ebuild | 29 ++----------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild b/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild index 93a134f508..da9bc48a80 100644 --- a/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild +++ b/net-wireless/rtl8821ce/rtl8821ce-20191119.ebuild @@ -15,33 +15,10 @@ KEYWORDS="~amd64 ~x86" DEPEND="virtual/linux-sources" +# fix 32bit build +PATCHES="${FILESDIR}/32bit.patch" + S="${WORKDIR}/rtl8821ce-${COMMIT}" MODULE_NAMES="8821ce(net/wireless)" BUILD_TARGETS="all" - -src_unpack() { - unpack ${A} - cd "${S}" -} - -src_prepare(){ - # fix 32bit build - epatch "${FILESDIR}/32bit.patch" -} - -pkg_setup() { - linux-mod_pkg_setup -} - -src_compile(){ - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install -} - -pkg_postinst() { - linux-mod_pkg_postinst -}