diff options
Diffstat (limited to 'app-misc/openrgb-plugin-skin')
5 files changed, 94 insertions, 48 deletions
diff --git a/app-misc/openrgb-plugin-skin/Manifest b/app-misc/openrgb-plugin-skin/Manifest index 7e97f83b58c1..5aa5302a16fd 100644 --- a/app-misc/openrgb-plugin-skin/Manifest +++ b/app-misc/openrgb-plugin-skin/Manifest @@ -1 +1,2 @@ -DIST openrgbskinplugin-3d937cf5112a98052f98a106dc0f5de1eafc20ea.tar.bz2 14673 BLAKE2B e9ba7e072882a995d9d37274e612f0ad404c369bafb4e59db379f43242873f08f36adc5521277c2bac4e730c35cde561e535e30e5a37155bfe0fa408d5ba3b45 SHA512 1a23b843230da6778079873949e72280efe46c6c015eb27456283bae5d88b539d8a5f69e6f1580400e1cfa746bcd36b6a1ae597f510b0c331d16f56b6ae28670 +DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d SHA512 89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59 +DIST OpenRGBSkinPlugin-release_0.9.tar.bz2 22781 BLAKE2B 46a342927f589c1b9bdbdfc094d8f85007897c5cfac9265d6a8efbafdd5bdb8f3f92927b052e4a52310cf5e2a7404590c16964c0c041ab6035dff24ee41b8e33 SHA512 51a6b11ca95679d9abbb600e77c50eac59138b2f9e080e5eba1606405f95446da0582327e2d071740e1cb1845604e895286cc06512b0769ae1d57937e2df818c diff --git a/app-misc/openrgb-plugin-skin/metadata.xml b/app-misc/openrgb-plugin-skin/metadata.xml index 4c8060bdf70c..4f1ad006ed77 100644 --- a/app-misc/openrgb-plugin-skin/metadata.xml +++ b/app-misc/openrgb-plugin-skin/metadata.xml @@ -10,6 +10,6 @@ <name>Alexey Sokolov</name> </maintainer> <upstream> - <remote-id type="gitlab">OpenRGBDevelopers/openrgbskinplugin</remote-id> + <remote-id type="gitlab">OpenRGBDevelopers/OpenRGBSkinPlugin</remote-id> </upstream> </pkgmetadata> 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..b611a886e87b --- /dev/null +++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2023 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 +} diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild new file mode 100644 index 000000000000..86c340899dde --- /dev/null +++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2023 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.9:= + 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 + + # 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() { + eqmake5 \ + INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" +} + +src_install() { + exeinto /usr/$(get_libdir)/OpenRGB/plugins + doexe libOpenRGBSkinPlugin.so.1.0.0 +} diff --git a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601-r1.ebuild b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601-r1.ebuild deleted file mode 100644 index 84910baffe1e..000000000000 --- a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmake-utils - -MY_GIT_COMMIT="3d937cf5112a98052f98a106dc0f5de1eafc20ea" -SRC_URI="https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin/-/archive/${MY_GIT_COMMIT}/openrgbskinplugin-${MY_GIT_COMMIT}.tar.bz2" -S="${WORKDIR}/openrgbskinplugin-${MY_GIT_COMMIT}" -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.6*:= - 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 -} - -src_configure() { - eqmake5 \ - INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \ - INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB" \ - INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/RGBController" \ - INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/i2c_smbus" \ - INCLUDEPATH+="${ESYSROOT}/usr/include/OpenRGB/net_port" -} - -src_install() { - exeinto /usr/$(get_libdir)/OpenRGB/plugins - doexe libOpenRGBSkinPlugin.so.1.0.0 -} |