commit:     75bd150b837cd0e0353670a6c6b9c742ded94cce
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Sep 15 23:04:47 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 17 21:20:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75bd150b

app-misc/openrgb-plugin-skin: add 1.0_rc2

Bug: https://bugs.gentoo.org/942035
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43803
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest              |  1 +
 .../openrgb-plugin-skin-1.0_rc2.ebuild             | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index 5f072ab7b28b..c0d65443a046 100644
--- a/app-misc/openrgb-plugin-skin/Manifest
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -1,2 +1,3 @@
 DIST OpenRGBSkinPlugin-release_0.9.tar.bz2 22781 BLAKE2B 
46a342927f589c1b9bdbdfc094d8f85007897c5cfac9265d6a8efbafdd5bdb8f3f92927b052e4a52310cf5e2a7404590c16964c0c041ab6035dff24ee41b8e33
 SHA512 
51a6b11ca95679d9abbb600e77c50eac59138b2f9e080e5eba1606405f95446da0582327e2d071740e1cb1845604e895286cc06512b0769ae1d57937e2df818c
+DIST OpenRGBSkinPlugin-release_candidate_1.0rc2.tar.bz2 84621 BLAKE2B 
254d774b8e23bba35807231a8397d630f6086cba52f874091a2263fe7cb222f24d7d830c9b0053a981ec7df5f80ee47c4eee0d8fd4743d26b4b0aed4359d56be
 SHA512 
848e4d77beb0a5aea3e9c2cffdf2f7e3af43ab37156596fdefcc511e9c01eec6f05b686f4370beb9a5f7f298bd1bb0206ed2cd67b09eb85370c5e52a951cf51f
 DIST openrgb-plugin-skin-0.9_p20250723.tar.bz2 84554 BLAKE2B 
f54449151296975f9f486b4433a563e99f2be5bc6bc3e735ba24632b550a65cd3b47dc5f7d63acc21627aca4ea2a0ab074c2add087bbfd24b3ab85b5e48c2cf4
 SHA512 
36bc7b14d7d62c5149ea376b4bdf68f97205235ec5a875f178b7a04f0b7477d8bcd196816974fbe38e8d80d162a257a198c0113518ccb612e44a8919db4e1891

diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-1.0_rc2.ebuild 
b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-1.0_rc2.ebuild
new file mode 100644
index 000000000000..4b5baab213f6
--- /dev/null
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-1.0_rc2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel 
of OpenRGB"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin";
+
+MY_PV=$(ver_rs 2 "")
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin/-/archive/release_candidate_${MY_PV}/OpenRGBSkinPlugin-release_candidate_${MY_PV}.tar.bz2";
+S="${WORKDIR}/OpenRGBSkinPlugin-release_candidate_${MY_PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       >=app-misc/openrgb-0.9_p20250802:=
+       dev-qt/qtbase:6[gui,widgets]
+"
+DEPEND="
+       ${RDEPEND}
+       dev-cpp/nlohmann_json
+"
+
+PATCHES=( "${FILESDIR}"/0.9_p20250723-build-system.patch )
+
+src_prepare() {
+       default
+       rm -r OpenRGB || die
+       ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
+       sed -e '/^GIT_/d' -i *.pro || die
+
+       # Because of -Wl,--export-dynamic in app-misc/openrgb, this 
resources.qrc
+       # conflicts with the openrgb's one. So rename it.
+       sed -e 's/resources.qrc/resources_skin_plugin.qrc/' -i *.pro || die
+       mv --no-clobber resources.qrc resources_skin_plugin.qrc || die
+}
+
+src_configure() {
+       eqmake6 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+       exeinto /usr/$(get_libdir)/openrgb/plugins
+       doexe libOpenRGBSkinPlugin.so
+}

Reply via email to