commit:     f5baead509954d12ce3b4e50aa07875791279533
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sun Dec 25 17:58:35 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 14:31:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5baead5

app-misc/openrgb-plugin-skin: add 0.8

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest              |  1 +
 .../openrgb-plugin-skin-0.8.ebuild                 | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index bd96dd514474..ef0adc69ffdd 100644
--- a/app-misc/openrgb-plugin-skin/Manifest
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -1 +1,2 @@
+DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 
25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d
 SHA512 
89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59
 DIST openrgbskinplugin-ebb80f7bd0e1efaa995f60454f3c049a4607bc3b.tar.bz2 22843 
BLAKE2B 
30c88b143b3df829c543744b20424df24bde9dda10f770fb78d653609111801a4d1d3fe16ed3e3c15ad953f41113db5d4da40bc66f7ec57418b2e934cd9a2e32
 SHA512 
a70c0157072b6b638a5a4f3f48f41c73f422d0ac356174479901cd3d088faf6fe96e594b2a39b15de305e0355fd0d252dafc4a30b9216d57058ad2cde7f5a3e3

diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild 
b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild
new file mode 100644
index 000000000000..8a3da828c824
--- /dev/null
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin/-/archive/release_${PV}/OpenRGBSkinPlugin-release_${PV}.tar.bz2";
+S="${WORKDIR}/OpenRGBSkinPlugin-release_${PV}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel 
of OpenRGB"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin";
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+       >=app-misc/openrgb-0.8:=
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+"
+DEPEND="
+       ${RDEPEND}
+       dev-cpp/nlohmann_json
+"
+
+src_prepare() {
+       default
+       rm -r OpenRGB || die
+       ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+       sed -e '/^GIT_/d' -i *.pro || die
+}
+
+src_configure() {
+       eqmake5 \
+               INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+       exeinto /usr/$(get_libdir)/OpenRGB/plugins
+       doexe libOpenRGBSkinPlugin.so.1.0.0
+}

Reply via email to