diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild')
-rw-r--r-- | app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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 new file mode 100644 index 000000000000..16fd02edcd94 --- /dev/null +++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild @@ -0,0 +1,44 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils + +MY_GIT_COMMIT="ebb80f7bd0e1efaa995f60454f3c049a4607bc3b" +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.7:= + 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 +} |