diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-18 00:58:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-18 00:58:25 +0100 |
commit | 5e0a5ca921524f8859808527a57655eec16efa52 (patch) | |
tree | 7c58411b1e81478df4e20082a6adec2553c24c5c /app-misc/openrgb-plugin-skin | |
parent | 4c16e0a214824f15f09396e359db4f1f5c086fec (diff) |
gentoo auto-resync : 18:07:2023 - 00:58:24
Diffstat (limited to 'app-misc/openrgb-plugin-skin')
-rw-r--r-- | app-misc/openrgb-plugin-skin/Manifest | 2 | ||||
-rw-r--r-- | app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/openrgb-plugin-skin/Manifest b/app-misc/openrgb-plugin-skin/Manifest index 530a892feffb..4031ce85816c 100644 --- a/app-misc/openrgb-plugin-skin/Manifest +++ b/app-misc/openrgb-plugin-skin/Manifest @@ -1,3 +1,5 @@ DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d SHA512 89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59 +DIST OpenRGBSkinPlugin-release_0.9.tar.bz2 22781 BLAKE2B 46a342927f589c1b9bdbdfc094d8f85007897c5cfac9265d6a8efbafdd5bdb8f3f92927b052e4a52310cf5e2a7404590c16964c0c041ab6035dff24ee41b8e33 SHA512 51a6b11ca95679d9abbb600e77c50eac59138b2f9e080e5eba1606405f95446da0582327e2d071740e1cb1845604e895286cc06512b0769ae1d57937e2df818c EBUILD openrgb-plugin-skin-0.8.ebuild 965 BLAKE2B 57a4038d23980e19ceec3e172a2371137495a31405e915c958dc1778aaccc63a8d53b7c920fc9c6d2ef5811129f4af15d1bd388a84b49cb60bc4794e38fb9c5b SHA512 99d661faf19a3fb1f40a01349e45986f9b5fe5eb0327ea927099f28b4011dba9370d37198830e7ffd42d477c84de9791f28819385301f884983addac3b02ed3f +EBUILD openrgb-plugin-skin-0.9.ebuild 1226 BLAKE2B f1354e881319d482f93062a1a3195f4e29097eab7faee6045377a51546bfb21794102049651b0d6692050892badd3931911fc4a42049ca782ebb24b98b38f67f SHA512 4c547eea49940150bb2cb5660d77cc72e4d36985cf6ee1d54fef0857419b2261ba4c240f243efb298367712d75962dd79124ade651fa106c87f4565d97972b4a MISC metadata.xml 481 BLAKE2B f05f1f16d6180b976f0daa79964c7abe5f9f1caee3aa25c1b328916d810438b7e76fd54297412f02c6fd172d6ca754872cd7d28349c328c8ef9cc8af7069a4be SHA512 9a6815da58c1b372a4af82f96484625334c2977a416e902b824d2be17bc7624cf9d1d69f0bc25ce85b833133b81c10e9257f30c825fdeeb230c7ce8772cf4bfd 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..67cebc546436 --- /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 +} |