mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-misc/openrgb-plugin-visualmap: add 1.0
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1840 Merges: https://codeberg.org/gentoo/gentoo/pulls/1840 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
committed by
Patrick McLean
parent
fc2123e821
commit
fc510f5f86
@@ -1 +1,2 @@
|
||||
DIST OpenRGBVisualMapPlugin-release_candidate_1.0rc2.tar.bz2 142376 BLAKE2B 99c35b877d4a51ff359af60f84f33c76bad75ed1b7165126c878ce2d14ab42330fddc76cadf0d41249b84ed3f188772daa65c1562c1be094ac703e8434fff7c8 SHA512 be7e6c2f8b3b134964f9b92870b02c2f655d78d92182fff527cec33b74ea866b8b8e10c77226275a42aadeb5ff433bff0512a62c0c4b453cda91600ee9fd98ad
|
||||
DIST openrgb-plugin-visualmap-1.0.tar.gz 320219 BLAKE2B 8369bb7c4185b8f583ad3dfd7183c85a6846e97c8e4a7d8d2fcd99200f582c414c16cb18a3c333d87916210a7e799976345bc7a3c5fbaa26da9584cd425773da SHA512 e939ad07e1d6f3b5861ed6ae5a68cffd12f57a2801609be659c809a8882ea52551cdcff6607acb47b6a1bdae429b164d0f27080af91131f2042fa3a2aea3ac79
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
Fix dependency on app-misc/openrgb
|
||||
|
||||
--- a/OpenRGBVisualMapPlugin.pro
|
||||
+++ b/OpenRGBVisualMapPlugin.pro
|
||||
@@ -100,4 +100,2 @@ HEADERS +=
|
||||
|
||||
-SOURCES += \
|
||||
- OpenRGB/qt/hsv.cpp
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 2020-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin"
|
||||
|
||||
SRC_URI="https://codeberg.org/OpenRGB/OpenRGBVisualMapPlugin/archive/release_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/openrgbvisualmapplugin"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-1.0:=
|
||||
dev-qt/qtbase:6[gui,widgets]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/openrgb-plugin-visualmap-1.0-dep.patch"
|
||||
"${FILESDIR}/openrgb-plugin-visualmap-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_visualmap_plugin.qrc/' -i *.pro || die
|
||||
mv --no-clobber resources.qrc resources_visualmap_plugin.qrc || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake6 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/openrgb/plugins
|
||||
doexe libOpenRGBVisualMapPlugin.so
|
||||
}
|
||||
Reference in New Issue
Block a user