1 |
commit: dfaba443b3bee43a7cd3bca699a899453754a1a8 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 21:59:44 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 21:59:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfaba443 |
7 |
|
8 |
sys-power/uhubctl: bump to v2.3.0 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/19163 |
11 |
Closes: https://bugs.gentoo.org/763936 |
12 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
sys-power/uhubctl/Manifest | 1 + |
16 |
sys-power/uhubctl/uhubctl-2.3.0.ebuild | 31 +++++++++++++++++++++++++++++++ |
17 |
2 files changed, 32 insertions(+) |
18 |
|
19 |
diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest |
20 |
index 1a41656f34d..647ffaacfa1 100644 |
21 |
--- a/sys-power/uhubctl/Manifest |
22 |
+++ b/sys-power/uhubctl/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST uhubctl-1.8.tar.gz 16158 BLAKE2B 1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451 SHA512 fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d |
25 |
+DIST uhubctl-2.3.0.tar.gz 25367 BLAKE2B 7e5b6bf5f4a76e90a78292b23127af366e3388ffb8565fc1d763b9bd45faf0518411996a307a42c62827006ef9488e39282c95b2ba6c0bc289863cec7c91ac25 SHA512 e1ddc8d20b626e99facd8b0e6b746e2fdcaec667c7b280b656aa608b7990cfac1ea3e5379e89d0b1be8756ba5e91485ad003eb2bd5dfb3cc3c9cdf3d18ad1bd3 |
26 |
|
27 |
diff --git a/sys-power/uhubctl/uhubctl-2.3.0.ebuild b/sys-power/uhubctl/uhubctl-2.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..094e1cc2428 |
30 |
--- /dev/null |
31 |
+++ b/sys-power/uhubctl/uhubctl-2.3.0.ebuild |
32 |
@@ -0,0 +1,31 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="USB hub per-port power control" |
41 |
+HOMEPAGE="https://github.com/mvp/uhubctl" |
42 |
+SRC_URI="https://github.com/mvp/uhubctl/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~x86" |
47 |
+IUSE="" |
48 |
+ |
49 |
+DEPEND="virtual/libusb:1" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
+ sed -i \ |
56 |
+ -e "s/^GIT_VERSION/#&/" \ |
57 |
+ Makefile \ |
58 |
+ || die |
59 |
+} |
60 |
+ |
61 |
+src_compile() { |
62 |
+ emake CC="$(tc-getCC)" |
63 |
+} |