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-plugin-skin/
Date: Tue, 11 Jan 2022 22:16:02
Message-Id: 1641939352.257c8ada2bcb432dd034036678e24b83869f5c46.chutzpah@gentoo
1 commit: 257c8ada2bcb432dd034036678e24b83869f5c46
2 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
3 AuthorDate: Tue Jan 11 21:48:11 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 11 22:15:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=257c8ada
7
8 app-misc/openrgb-plugin-skin: update to openrgb 0.7
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 app-misc/openrgb-plugin-skin/Manifest | 1 +
15 app-misc/openrgb-plugin-skin/metadata.xml | 2 +-
16 .../openrgb-plugin-skin-0_p20211230.ebuild | 44 ++++++++++++++++++++++
17 3 files changed, 46 insertions(+), 1 deletion(-)
18
19 diff --git a/app-misc/openrgb-plugin-skin/Manifest b/app-misc/openrgb-plugin-skin/Manifest
20 index 7e97f83b58c1..8e078750a974 100644
21 --- a/app-misc/openrgb-plugin-skin/Manifest
22 +++ b/app-misc/openrgb-plugin-skin/Manifest
23 @@ -1 +1,2 @@
24 DIST openrgbskinplugin-3d937cf5112a98052f98a106dc0f5de1eafc20ea.tar.bz2 14673 BLAKE2B e9ba7e072882a995d9d37274e612f0ad404c369bafb4e59db379f43242873f08f36adc5521277c2bac4e730c35cde561e535e30e5a37155bfe0fa408d5ba3b45 SHA512 1a23b843230da6778079873949e72280efe46c6c015eb27456283bae5d88b539d8a5f69e6f1580400e1cfa746bcd36b6a1ae597f510b0c331d16f56b6ae28670
25 +DIST openrgbskinplugin-ebb80f7bd0e1efaa995f60454f3c049a4607bc3b.tar.bz2 22843 BLAKE2B 30c88b143b3df829c543744b20424df24bde9dda10f770fb78d653609111801a4d1d3fe16ed3e3c15ad953f41113db5d4da40bc66f7ec57418b2e934cd9a2e32 SHA512 a70c0157072b6b638a5a4f3f48f41c73f422d0ac356174479901cd3d088faf6fe96e594b2a39b15de305e0355fd0d252dafc4a30b9216d57058ad2cde7f5a3e3
26
27 diff --git a/app-misc/openrgb-plugin-skin/metadata.xml b/app-misc/openrgb-plugin-skin/metadata.xml
28 index 4c8060bdf70c..4f1ad006ed77 100644
29 --- a/app-misc/openrgb-plugin-skin/metadata.xml
30 +++ b/app-misc/openrgb-plugin-skin/metadata.xml
31 @@ -10,6 +10,6 @@
32 <name>Alexey Sokolov</name>
33 </maintainer>
34 <upstream>
35 - <remote-id type="gitlab">OpenRGBDevelopers/openrgbskinplugin</remote-id>
36 + <remote-id type="gitlab">OpenRGBDevelopers/OpenRGBSkinPlugin</remote-id>
37 </upstream>
38 </pkgmetadata>
39
40 diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild
41 new file mode 100644
42 index 000000000000..16fd02edcd94
43 --- /dev/null
44 +++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild
45 @@ -0,0 +1,44 @@
46 +# Copyright 2020-2022 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI=8
50 +
51 +inherit qmake-utils
52 +
53 +MY_GIT_COMMIT="ebb80f7bd0e1efaa995f60454f3c049a4607bc3b"
54 +SRC_URI="https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin/-/archive/${MY_GIT_COMMIT}/openrgbskinplugin-${MY_GIT_COMMIT}.tar.bz2"
55 +S="${WORKDIR}/OpenRGBSkinPlugin-${MY_GIT_COMMIT}"
56 +KEYWORDS="~amd64"
57 +
58 +DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel of OpenRGB"
59 +HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin"
60 +LICENSE="GPL-2"
61 +SLOT="0"
62 +
63 +RDEPEND="
64 + >=app-misc/openrgb-0.7:=
65 + dev-qt/qtcore:5
66 + dev-qt/qtgui:5
67 + dev-qt/qtwidgets:5
68 +"
69 +DEPEND="
70 + ${RDEPEND}
71 + dev-cpp/nlohmann_json
72 +"
73 +
74 +src_prepare() {
75 + default
76 + rm -r OpenRGB || die
77 + ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
78 + sed -e '/^GIT_/d' -i *.pro || die
79 +}
80 +
81 +src_configure() {
82 + eqmake5 \
83 + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
84 +}
85 +
86 +src_install() {
87 + exeinto /usr/$(get_libdir)/OpenRGB/plugins
88 + doexe libOpenRGBSkinPlugin.so.1.0.0
89 +}