Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/
Date: Tue, 08 Jun 2021 23:13:52
Message-Id: 1623194022.2cf450c9306a99618af5dd566bb5966e2eac8bc3.chutzpah@gentoo
1 commit: 2cf450c9306a99618af5dd566bb5966e2eac8bc3
2 Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
3 AuthorDate: Sun Jun 6 22:12:08 2021 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 8 23:13:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf450c9
7
8 app-misc/OpenRGB: update 9999
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
12 Closes: https://github.com/gentoo/gentoo/pull/21145
13 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
14
15 app-misc/OpenRGB/OpenRGB-9999.ebuild | 15 ++++++++++-----
16 1 file changed, 10 insertions(+), 5 deletions(-)
17
18 diff --git a/app-misc/OpenRGB/OpenRGB-9999.ebuild b/app-misc/OpenRGB/OpenRGB-9999.ebuild
19 index 6c5d8e23cd0..c1f1eb4bbcb 100644
20 --- a/app-misc/OpenRGB/OpenRGB-9999.ebuild
21 +++ b/app-misc/OpenRGB/OpenRGB-9999.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 2020 Gentoo Authors
24 +# Copyright 2020-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 @@ -12,6 +12,9 @@ else
29 SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2"
30 S="${WORKDIR}/OpenRGB-release_${PV}"
31 KEYWORDS="~amd64 ~x86"
32 + PATCHES=(
33 + "${FILESDIR}"/OpenRGB-0.5-build-system.patch
34 + )
35 fi
36
37 DESCRIPTION="Open source RGB lighting control that doesn't depend on manufacturer software"
38 @@ -24,6 +27,7 @@ RDEPEND="
39 dev-qt/qtcore:5
40 dev-qt/qtgui:5
41 dev-qt/qtwidgets:5
42 + net-libs/mbedtls:=
43 virtual/libusb:1
44 "
45 DEPEND="
46 @@ -34,12 +38,13 @@ BDEPEND="
47 virtual/pkgconfig
48 "
49
50 +PATCHES+=(
51 + "${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
52 +)
53 +
54 src_prepare() {
55 default
56 - rm -r dependencies/{hidapi,libusb,json}* || die
57 - if [[ ${PV} != *9999* ]]; then
58 - eapply "${FILESDIR}/OpenRGB-0.5-build-system.patch"
59 - fi
60 + rm -r dependencies/{hidapi,libusb,json,mbedtls}* || die
61 }
62
63 src_configure() {