[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2024-05-03 Thread Andrew Ammerlaan
commit: ac8fa2f619bcb6ceeafc0ec642ff7866f19f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri May  3 19:26:30 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri May  3 19:27:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8fa2f6

app-misc/openrgb-plugin-effects: filter-lto

Closes: https://bugs.gentoo.org/927749
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
index d3576d7dfc30..099f9d14d9a4 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit qmake-utils
+inherit flag-o-matic qmake-utils
 
 DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
@@ -39,6 +39,9 @@ PATCHES=(
 
 src_prepare() {
default
+
+   filter-lto # Bug 927749
+
rm -r OpenRGB || die
ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
sed -e '/^GIT_/d' -i *.pro || die



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/

2023-12-19 Thread Maciej Barć
commit: 85e1498847f987029ed9a4a4fd0d32b2e0a499a3
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Dec 19 18:49:34 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Dec 19 18:59:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e14988

app-misc/openrgb: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34374
Signed-off-by: Maciej Barć  gentoo.org>

 .../openrgb/files/OpenRGB-0.5-build-system.patch   | 13 
 app-misc/openrgb/files/OpenRGB-0.8-includes.patch  | 24 ---
 app-misc/openrgb/files/openrgb-0.8-gcc-13.patch| 36 --
 3 files changed, 73 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch 
b/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
deleted file mode 100644
index fe805988af5d..
--- a/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index 91e0079..7f279dd 100644
 a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -26,8 +26,5 @@ TEMPLATE = app
- win32:BUILDDATE = $$system(date /t)
- unix:BUILDDATE  = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
--GIT_COMMIT_ID   = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse HEAD)
--GIT_COMMIT_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ show -s --format=%ci HEAD)
--GIT_BRANCH  = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse --abbrev-ref HEAD)
- 
- DEFINES +=  \
- VERSION_STRING=\\"\"\"$$VERSION\\"\"\"  \

diff --git a/app-misc/openrgb/files/OpenRGB-0.8-includes.patch 
b/app-misc/openrgb/files/OpenRGB-0.8-includes.patch
deleted file mode 100644
index 8ed341b06029..
--- a/app-misc/openrgb/files/OpenRGB-0.8-includes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 8c893fba4fcec17e6221f2d754def4aa71b020b8 Mon Sep 17 00:00:00 2001
-From: Sirn Thanabulpong 
-Date: Wed, 28 Dec 2022 00:49:47 +0900
-Subject: [PATCH] Fix build on musl in Nanoleaf settings
-

- qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp 
b/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp
-index 1e3c926b3..55ed5fcaa 100644
 a/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp
-+++ b/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp
-@@ -8,6 +8,7 @@
- #else
- #include 
- #include 
-+#include 
- #endif
- 
- #include "mdns.h"
--- 
-GitLab
-

diff --git a/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch 
b/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch
deleted file mode 100644
index 2a78d8f4ab5c..
--- a/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git 
a/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
 
b/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
-index 
2bdc37ad695dfdc870cb912f17fffd54bda2b89b..17080edb896f74c9393049041c25347d38a8a6f5
 100644
 
a/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
-+++ 
b/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
-@@ -10,6 +10,7 @@
- #include "ENESMBusInterface_SpectrixS40G.h"
- #include 
- #include 
-+#include 
- 
- /*-*\
- | Functions for submitting NVME admin passthrough command taken from|
-diff --git a/Controllers/SteelSeriesController/SteelSeriesMouseController.h 
b/Controllers/SteelSeriesController/SteelSeriesMouseController.h
-index 
64df7a1cc0351ccb8f306984c8b554f8eb3dcc6e..a4e561a3504c1def8acdd1921dc3955df7f68271
 100644
 a/Controllers/SteelSeriesController/SteelSeriesMouseController.h
-+++ b/Controllers/SteelSeriesController/SteelSeriesMouseController.h
-@@ -10,6 +10,7 @@
- #include 
- #include 
- #include "SteelSeriesGeneric.h"
-+#include 
- 
- #pragma once
- 
-diff --git a/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp 
b/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
-index 
8f0cd4cdb637ea5f474b1caf587dc3c98c5dba89..367e9175b07548845696616aef86920ca2536bb4
 100644
 a/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
-+++ b/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
-@@ -11,6 +11,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- static void send_usb_msg(hid_device* dev, char * data_pkt, unsigned int size)
- {



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-12-16 Thread Maciej Barć
commit: 3aac7664ff20eb26a51746326ce87f186edeb876
Author: Maciej Barć  gentoo  org>
AuthorDate: Sat Dec 16 18:45:16 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Sat Dec 16 21:44:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aac7664

app-misc/openrgb: drop old 0.8-r1

Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/Manifest  |  1 -
 app-misc/openrgb/openrgb-0.8-r1.ebuild | 94 --
 2 files changed, 95 deletions(-)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index eeeff9b27642..f543fecc55fd 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1,2 +1 @@
-DIST OpenRGB-release_0.8.tar.bz2 28631365 BLAKE2B 
3b328e38f1c52646da02b0b2b2c22b1285f3b31b0a2bc684e99d491d04bd14a91b49bc196b3b81b537320cd872e5568aaa8aec34744f4f15392d9424a81ac6f0
 SHA512 
d69686da7cab33099b13cfb5ab876fc2db047f79aa01bf8150507ec41321b4c6c092f81623823b89916c70a1a24c4a102f77b1001c5caa721ff4c0c52e0630d2
 DIST OpenRGB-release_0.9.tar.bz2 28689813 BLAKE2B 
9fcf08d5e4d07ffc0f7867516f09044e18ce488bcdd99c8b44e0afe291b8a21a7ba92d6e7fd683ef22462a262004a992621efb59a5df6ed7551f4e9f75843241
 SHA512 
fb1bdbc7bcbd3bac888be313cfb6403a13d39de659ac6993858f9c1b17ad40e9c4a7d4c7c90682181841db1659a0ee298363c442a7120d43347aaf4485e7dccf

diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
deleted file mode 100644
index cb719d3d0b9a..
--- a/app-misc/openrgb/openrgb-0.8-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit check-reqs flag-o-matic qmake-utils udev xdg-utils
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="amd64 ~loong ~x86"
-   PATCHES=( "${FILESDIR}"/OpenRGB-0.5-build-system.patch )
-fi
-
-DESCRIPTION="Open source RGB lighting control"
-HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-# subslot is OPENRGB_PLUGIN_API_VERSION from
-# 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
-SLOT="0/2"
-
-RDEPEND="
-   dev-cpp/cpp-httplib:=
-   dev-libs/hidapi
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   net-libs/mbedtls:=
-   virtual/libusb:1
-"
-DEPEND="
-   ${RDEPEND}
-   dev-cpp/nlohmann_json
-   dev-libs/mdns
-"
-BDEPEND="
-   dev-qt/linguist-tools:5
-   virtual/pkgconfig
-"
-
-PATCHES+=(
-   "${FILESDIR}"/${PN}-0.8-gcc-13.patch
-   "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
-   "${FILESDIR}"/OpenRGB-0.8-includes.patch
-)
-
-CHECKREQS_DISK_BUILD="2G"
-
-src_prepare() {
-   default
-   rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \
-   || die "Failed to remove unneded deps"
-}
-
-src_configure() {
-   # Some plugins require symbols defined in the main binary.
-   # The official build system bundles OpenRGB as a submodule instead, and
-   # compiles the .cpp file again.
-   append-ldflags -Wl,--export-dynamic
-
-   # > warning: ‘-pipe’ ignored because ‘-save-temps’ specified
-   filter-flags -pipe
-
-   eqmake5 \
-   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
-   
DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
 \
-   LIBS+=-lhttplib
-}
-
-src_install() {
-   emake INSTALL_ROOT="${ED}" install
-
-   dodoc README.md OpenRGB.patch
-
-   rm -r "${ED}"/usr/lib/udev/ || die
-   udev_dorules 60-openrgb.rules
-
-   # This is for plugins. Upstream doesn't install any headers at all.
-   insinto /usr/include/OpenRGB
-   find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" 
';' || die
-}
-
-pkg_postinst() {
-   xdg_icon_cache_update
-   udev_reload
-}
-
-pkg_postrm() {
-   xdg_icon_cache_update
-   udev_reload
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-08-22 Thread Maciej Barć
commit: 0cdba49c2a095ba43667b418276a5743660bce3b
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Aug 22 14:05:11 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Aug 22 14:32:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdba49c

app-misc/openrgb: check for at least 2GB of build space

Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/openrgb-0.8-r1.ebuild | 4 +++-
 app-misc/openrgb/openrgb-0.9.ebuild| 4 +++-
 app-misc/openrgb/openrgb-.ebuild   | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
index d80c05c700e6..cb719d3d0b9a 100644
--- a/app-misc/openrgb/openrgb-0.8-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic qmake-utils udev xdg-utils
+inherit check-reqs flag-o-matic qmake-utils udev xdg-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -47,6 +47,8 @@ PATCHES+=(
"${FILESDIR}"/OpenRGB-0.8-includes.patch
 )
 
+CHECKREQS_DISK_BUILD="2G"
+
 src_prepare() {
default
rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \

diff --git a/app-misc/openrgb/openrgb-0.9.ebuild 
b/app-misc/openrgb/openrgb-0.9.ebuild
index f67f687b0ada..9c15691b3b6b 100644
--- a/app-misc/openrgb/openrgb-0.9.ebuild
+++ b/app-misc/openrgb/openrgb-0.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic qmake-utils udev xdg-utils
+inherit check-reqs flag-o-matic qmake-utils udev xdg-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -46,6 +46,8 @@ PATCHES+=(
"${FILESDIR}"/OpenRGB-0.9-udev-check.patch
 )
 
+CHECKREQS_DISK_BUILD="2G"
+
 src_prepare() {
default
rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 0b3ebc85f6c8..9fdf9377f299 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic qmake-utils udev xdg-utils
+inherit check-reqs flag-o-matic qmake-utils udev xdg-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -46,6 +46,8 @@ PATCHES+=(
"${FILESDIR}"/OpenRGB-0.9-udev-check.patch
 )
 
+CHECKREQS_DISK_BUILD="2G"
+
 src_prepare() {
default
rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2023-08-20 Thread Sam James
commit: 05be25e79ca9cb4bd0052bfe25473afde269d392
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 03:48:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 03:48:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05be25e7

app-misc/openrgb-plugin-skin: Stabilize 0.9 amd64, #912663

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 67cebc546436..86c340899dde 100644
--- a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild
@@ -7,7 +7,7 @@ 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"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel 
of OpenRGB"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2023-08-20 Thread Sam James
commit: ac5b9a7db4795554c0e097dfb760d80d4a905eaa
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 03:48:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 03:48:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5b9a7d

app-misc/openrgb-plugin-effects: Stabilize 0.9 amd64, #912663

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
index 07fbaa9b65c8..d3576d7dfc30 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
 
 LICENSE="GPL-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
>=app-misc/openrgb-0.9:=



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2023-08-20 Thread Sam James
commit: 5221c61391e17e0e6375690caeaf69bbc689b76d
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 03:48:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 03:48:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5221c613

app-misc/openrgb-plugin-visualmap: Stabilize 0.9 amd64, #912663

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
index 7dfb3ace0001..ded1d8f52689 100644
--- a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
@@ -7,7 +7,7 @@ inherit qmake-utils
 
 
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2;
 S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-08-20 Thread Arthur Zamarin
commit: 3ced97d5ba5d6d582ba6d884734832fd78d2d931
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Aug 20 17:36:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Aug 20 17:36:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ced97d5

app-misc/openrgb: Stabilize 0.9 amd64, #912663

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-misc/openrgb/openrgb-0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb/openrgb-0.9.ebuild 
b/app-misc/openrgb/openrgb-0.9.ebuild
index 0b3ebc85f6c8..f67f687b0ada 100644
--- a/app-misc/openrgb/openrgb-0.9.ebuild
+++ b/app-misc/openrgb/openrgb-0.9.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == ** ]]; then
 else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~loong ~x86"
+   KEYWORDS="amd64 ~loong ~x86"
PATCHES=( "${FILESDIR}"/OpenRGB-0.9-build-system.patch )
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2023-07-17 Thread Patrick McLean
commit: f1c6936c655c2952e0b34ad1487f0b008f449f75
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Jul 17 18:41:40 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon Jul 17 19:20:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c6936c

app-misc/openrgb-plugin-effects: fix build

Closes: https://bugs.gentoo.org/910463
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/31931
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
index a810dfb85e97..07fbaa9b65c8 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
@@ -51,7 +51,7 @@ src_prepare() {
 
# 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_effects_plugin.qrc/' -i *.pro || die
+   sed -e 's/ resources.qrc/ resources_effects_plugin.qrc/' -i *.pro || die
mv --no-clobber resources.qrc resources_effects_plugin.qrc || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-07-17 Thread Maciej Barć
commit: b3182179fccd82e224a8d1cf18a31b47983b2cad
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Jul 16 15:10:06 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Jul 17 12:33:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3182179

app-misc/openrgb: sync live

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/openrgb-.ebuild | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 291cae9fb808..0b3ebc85f6c8 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -12,14 +12,15 @@ else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
KEYWORDS="~amd64 ~loong ~x86"
-   PATCHES=( "${FILESDIR}"/OpenRGB-0.5-build-system.patch )
+   PATCHES=( "${FILESDIR}"/OpenRGB-0.9-build-system.patch )
 fi
 
 DESCRIPTION="Open source RGB lighting control"
 HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
-# subslot is OPENRGB_PLUGIN_API_VERSION from 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
-SLOT="0/2"
+# subslot is OPENRGB_PLUGIN_API_VERSION from
+# 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
+SLOT="0/3"
 
 RDEPEND="
dev-cpp/cpp-httplib:=
@@ -42,6 +43,7 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
+   "${FILESDIR}"/OpenRGB-0.9-udev-check.patch
 )
 
 src_prepare() {
@@ -52,8 +54,8 @@ src_prepare() {
 
 src_configure() {
# Some plugins require symbols defined in the main binary.
-   # The official build system bundles OpenRGB as a submodule instead, and
-   # compiles the .cpp file again.
+   # The upstream build system of plugins bundles OpenRGB as a submodule
+   # instead, and compiles the .cpp file again.
append-ldflags -Wl,--export-dynamic
 
# > warning: ‘-pipe’ ignored because ‘-save-temps’ specified
@@ -70,8 +72,8 @@ src_install() {
 
dodoc README.md OpenRGB.patch
 
-   udev_dorules 60-openrgb.rules
rm -r "${ED}"/usr/lib/udev/ || die
+   udev_dorules 60-openrgb.rules
 
# This is for plugins. Upstream doesn't install any headers at all.
insinto /usr/include/OpenRGB



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2023-07-17 Thread Maciej Barć
commit: 05730b64674c86435b207321bba02368658e9f37
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Jul 16 10:47:13 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Jul 17 12:33:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05730b64

app-misc/openrgb: add 0.9

Closes: https://bugs.gentoo.org/910405
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/Manifest  |  1 +
 .../openrgb/files/OpenRGB-0.9-build-system.patch   | 12 +++
 .../openrgb/files/OpenRGB-0.9-udev-check.patch | 12 +++
 app-misc/openrgb/openrgb-0.9.ebuild| 91 ++
 4 files changed, 116 insertions(+)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index e0ff770dc389..eeeff9b27642 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1 +1,2 @@
 DIST OpenRGB-release_0.8.tar.bz2 28631365 BLAKE2B 
3b328e38f1c52646da02b0b2b2c22b1285f3b31b0a2bc684e99d491d04bd14a91b49bc196b3b81b537320cd872e5568aaa8aec34744f4f15392d9424a81ac6f0
 SHA512 
d69686da7cab33099b13cfb5ab876fc2db047f79aa01bf8150507ec41321b4c6c092f81623823b89916c70a1a24c4a102f77b1001c5caa721ff4c0c52e0630d2
+DIST OpenRGB-release_0.9.tar.bz2 28689813 BLAKE2B 
9fcf08d5e4d07ffc0f7867516f09044e18ce488bcdd99c8b44e0afe291b8a21a7ba92d6e7fd683ef22462a262004a992621efb59a5df6ed7551f4e9f75843241
 SHA512 
fb1bdbc7bcbd3bac888be313cfb6403a13d39de659ac6993858f9c1b17ad40e9c4a7d4c7c90682181841db1659a0ee298363c442a7120d43347aaf4485e7dccf

diff --git a/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch 
b/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch
new file mode 100644
index ..567e60787b72
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.9-build-system.patch
@@ -0,0 +1,12 @@
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -46,9 +46,6 @@ TEMPLATE= app
+ 
#---#
+ win32:BUILDDATE = $$system(date /t)
+ unix:BUILDDATE  = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
+-GIT_COMMIT_ID   = $$system(git log -n 1 --pretty=format:"%H")
+-GIT_COMMIT_DATE = $$system(git log -n 1 --pretty=format:"%ci")
+-GIT_BRANCH  = $$system(git branch --show-current)
+ 
+ DEFINES +=
  \
+ VERSION_STRING=\\"\"\"$$VERSION\\"\"\"
  \

diff --git a/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch 
b/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch
new file mode 100644
index ..e3525c116baf
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.9-udev-check.patch
@@ -0,0 +1,12 @@
+We install udev to /lib/udev instead, which it doesn't check
+
+--- a/ResourceManager.cpp
 b/ResourceManager.cpp
+@@ -895,7 +895,6 @@ void ResourceManager::DetectDevicesThreadFunction()
+ {
+ if(access("/usr/lib/udev/rules.d/60-openrgb.rules", F_OK) != 0)
+ {
+-udev_not_exist  = true;
+ }
+ }
+ else

diff --git a/app-misc/openrgb/openrgb-0.9.ebuild 
b/app-misc/openrgb/openrgb-0.9.ebuild
new file mode 100644
index ..0b3ebc85f6c8
--- /dev/null
+++ b/app-misc/openrgb/openrgb-0.9.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic qmake-utils udev xdg-utils
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
+else
+   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
+   S="${WORKDIR}/OpenRGB-release_${PV}"
+   KEYWORDS="~amd64 ~loong ~x86"
+   PATCHES=( "${FILESDIR}"/OpenRGB-0.9-build-system.patch )
+fi
+
+DESCRIPTION="Open source RGB lighting control"
+HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
+LICENSE="GPL-2"
+# subslot is OPENRGB_PLUGIN_API_VERSION from
+# 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
+SLOT="0/3"
+
+RDEPEND="
+   dev-cpp/cpp-httplib:=
+   dev-libs/hidapi
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   net-libs/mbedtls:=
+   virtual/libusb:1
+"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/nlohmann_json
+   dev-libs/mdns
+"
+BDEPEND="
+   dev-qt/linguist-tools:5
+   virtual/pkgconfig
+"
+
+PATCHES+=(
+   "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
+   "${FILESDIR}"/OpenRGB-0.9-udev-check.patch
+)
+
+src_prepare() {
+   default
+   rm -r dependencies/{httplib,hidapi,libusb,mdns,json,mbedtls}* \
+   || die "Failed to remove unneded deps"
+}
+
+src_configure() {
+   # Some plugins require symbols defined in the main binary.
+   # The upstream build system of plugins 

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/files/, app-misc/openrgb-plugin-visualmap/

2023-07-17 Thread Maciej Barć
commit: 223abfca364d28b23253b713f87aba06c9838477
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Jul 16 11:15:12 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Jul 17 12:33:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=223abfca

app-misc/openrgb-plugin-visualmap: add 0.9

Bug: https://bugs.gentoo.org/910405
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/31909
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest |  1 +
 .../files/openrgb-plugin-visualmap-0.9-dep.patch   | 17 +++
 .../openrgb-plugin-visualmap-0.9.ebuild| 52 ++
 3 files changed, 70 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
index b9109dd7156a..3c2953eba128 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1 +1,2 @@
 DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B 
c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b
 SHA512 
7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61
+DIST OpenRGBVisualMapPlugin-release_0.9.tar.bz2 69646 BLAKE2B 
2ae3c190c7b7347fadf62b4a133626da09e9ad90c1dc5c99decf960b115bff587e5d14d8e45ab65781171ebefdd29825422b9b709795d3d2cc735e8d0e061a69
 SHA512 
ef99263cbed900c1f541982e7349bda03212dfbb8873eb52db00f81cbe5823b7c4e2193de664dd7930da73e11a601b1b595b214629a813e1efda6e7184599521

diff --git 
a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
 
b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
new file mode 100644
index ..ce7b3824f950
--- /dev/null
+++ 
b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.9-dep.patch
@@ -0,0 +1,17 @@
+--- a/OpenRGBVisualMapPlugin.pro
 b/OpenRGBVisualMapPlugin.pro
+@@ -99,6 +99,5 @@ HEADERS +=
+ OpenRGB/qt/hsv.h  
  \
+ 
+ SOURCES +=
  \
+-OpenRGB/RGBController/RGBController.cpp   
  \
+ OpenRGBPluginsFont.cpp
  \
+ OpenRGBVisualMapPlugin.cpp
  \
+@@ -124,7 +121,6 @@ SOURCES +=
+ ui/widget-editor/EditorGrid.cpp   
  \
+ ui/widget-editor/LedItem.cpp  
  \
+ ui/widget-editor/WidgetEditor.cpp 
  \
+-OpenRGB/qt/hsv.cpp
  \
+ 
+ FORMS +=  
  \
+ ui/BackgroundApplier.ui   
  \

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
new file mode 100644
index ..7dfb3ace0001
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.9.ebuild
@@ -0,0 +1,52 @@
+# 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/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2;
+S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;
+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
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-dep.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() {
+   eqmake5 \
+   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+   exeinto 

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/, app-misc/openrgb-plugin-effects/files/

2023-07-17 Thread Maciej Barć
commit: 19075838dc3f588855d97b2f8459ca401abc967d
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Jul 16 11:02:50 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Jul 17 12:33:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19075838

app-misc/openrgb-plugin-effects: add 0.9

Bug: https://bugs.gentoo.org/910405
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb-plugin-effects/Manifest   |  1 +
 .../files/openrgb-plugin-effects-0.9-dep.patch | 16 ++
 .../openrgb-plugin-effects-0.9.ebuild  | 66 ++
 3 files changed, 83 insertions(+)

diff --git a/app-misc/openrgb-plugin-effects/Manifest 
b/app-misc/openrgb-plugin-effects/Manifest
index b6c7e91e0085..46446811aea3 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1,3 +1,4 @@
 DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 
71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4
 SHA512 
c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
+DIST OpenRGBEffectsPlugin-release_0.9.tar.bz2 254816 BLAKE2B 
e406cb70c1a64f2572d075b5d6ca6fa3499060ec33b49264b63d4f43c989adb8f2022b3b7d79a59bd5c82187b29331555385712a6fbcb25b01e5341c23cbd922
 SHA512 
d20f4890889768857219b79db245804b720b1710483c3ea3f1f6b462c4a172f521c727ad1fd3127fed9724be56dc45232c3a6d23772ec8c9d7e203bb6a6ad8c8
 DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B 
d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a
 SHA512 
4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
 DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B 
ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854
 SHA512 
b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd

diff --git 
a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch 
b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch
new file mode 100644
index ..165828d693ef
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.9-dep.patch
@@ -0,0 +1,16 @@
+Fix dependency on app-misc/openrgb
+
+--- a/OpenRGBEffectsPlugin.pro
 b/OpenRGBEffectsPlugin.pro
+@@ -64,11 +64,6 @@ HEADERS +=
+ OpenRGB/qt/hsv.h  
  \
+ OpenRGB/hidapi_wrapper/hidapi_wrapper.h   
  \
+ 
+-SOURCES +=
  \
+-OpenRGB/RGBController/RGBController.cpp   
  \
+-OpenRGB/LogManager.cpp
  \
+-OpenRGB/NetworkServer.cpp 
  \
+-OpenRGB/qt/hsv.cpp
  \
+ 
+ 
+ 
#---#

diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
new file mode 100644
index ..a810dfb85e97
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.9.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
+
+MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c"
+MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61"
+SRC_URI="
+   
https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2
+   
https://github.com/SRombauts/SimplexNoise/archive/${MY_NOISE_COMMIT}.tar.gz -> 
SimplexNoise-2019-12-03.tar.gz
+   
https://github.com/justxi/QCodeEditor/archive/${MY_QCODEEDITOR_COMMIT}.tar.gz 
-> QCodeEditor-2021-08-17.tar.gz
+"
+S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=app-misc/openrgb-0.9:=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5[-gles2-only]
+   dev-qt/qtwidgets:5[-gles2-only]
+   media-libs/openal
+"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/nlohmann_json
+"
+

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2023-07-17 Thread Maciej Barć
commit: c98a7c6a8d1dc238837a94a2e723592f1d2e127f
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Jul 16 11:05:38 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Jul 17 12:33:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c98a7c6a

app-misc/openrgb-plugin-skin: add 0.9

Bug: https://bugs.gentoo.org/910405
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Maciej Barć  gentoo.org>

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

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index eb03452e78df..5aa5302a16fd 100644
--- a/app-misc/openrgb-plugin-skin/Manifest
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -1 +1,2 @@
 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/openrgb-plugin-skin-0.9.ebuild 
b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.9.ebuild
new file mode 100644
index ..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-04-20 Thread WANG Xuerui
commit: edff4c16079b6ed04c21d1f2a47e316c3fbfc11d
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Apr 20 08:19:01 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Apr 20 10:35:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edff4c16

app-misc/openrgb: forward ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-misc/openrgb/openrgb-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 516276f31fcd..291cae9fb808 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ if [[ ${PV} == ** ]]; then
 else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~loong ~x86"
PATCHES=( "${FILESDIR}"/OpenRGB-0.5-build-system.patch )
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-04-20 Thread WANG Xuerui
commit: 440c41460e4b140893da3c0bcab3c846cd5e5148
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu Apr 20 08:18:56 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Apr 20 10:35:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=440c4146

app-misc/openrgb: keyword 0.8-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-misc/openrgb/openrgb-0.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
index 05c82b84efb7..d80c05c700e6 100644
--- a/app-misc/openrgb/openrgb-0.8-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == ** ]]; then
 else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="amd64 ~x86"
+   KEYWORDS="amd64 ~loong ~x86"
PATCHES=( "${FILESDIR}"/OpenRGB-0.5-build-system.patch )
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2023-03-28 Thread Maciej Barć
commit: 1435fff38b1905f33b72a2f2a300e96cb2ea26d0
Author: Maciej Barć  gentoo  org>
AuthorDate: Tue Mar 28 22:53:44 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Tue Mar 28 23:07:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1435fff3

app-misc/openrgb: patch for GCC 13

Bug: https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/1743
Closes: https://bugs.gentoo.org/895428
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/files/openrgb-0.8-gcc-13.patch | 36 +
 app-misc/openrgb/openrgb-0.8-r1.ebuild  |  4 ++-
 2 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch 
b/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch
new file mode 100644
index ..2a78d8f4ab5c
--- /dev/null
+++ b/app-misc/openrgb/files/openrgb-0.8-gcc-13.patch
@@ -0,0 +1,36 @@
+diff --git 
a/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
 
b/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
+index 
2bdc37ad695dfdc870cb912f17fffd54bda2b89b..17080edb896f74c9393049041c25347d38a8a6f5
 100644
+--- 
a/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
 
b/Controllers/ENESMBusController/ENESMBusInterface/ENESMBusInterface_SpectrixS40G.cpp
+@@ -10,6 +10,7 @@
+ #include "ENESMBusInterface_SpectrixS40G.h"
+ #include 
+ #include 
++#include 
+ 
+ /*-*\
+ | Functions for submitting NVME admin passthrough command taken from|
+diff --git a/Controllers/SteelSeriesController/SteelSeriesMouseController.h 
b/Controllers/SteelSeriesController/SteelSeriesMouseController.h
+index 
64df7a1cc0351ccb8f306984c8b554f8eb3dcc6e..a4e561a3504c1def8acdd1921dc3955df7f68271
 100644
+--- a/Controllers/SteelSeriesController/SteelSeriesMouseController.h
 b/Controllers/SteelSeriesController/SteelSeriesMouseController.h
+@@ -10,6 +10,7 @@
+ #include 
+ #include 
+ #include "SteelSeriesGeneric.h"
++#include 
+ 
+ #pragma once
+ 
+diff --git a/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp 
b/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
+index 
8f0cd4cdb637ea5f474b1caf587dc3c98c5dba89..367e9175b07548845696616aef86920ca2536bb4
 100644
+--- a/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
 b/Controllers/SteelSeriesController/SteelSeriesRivalController.cpp
+@@ -11,6 +11,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ static void send_usb_msg(hid_device* dev, char * data_pkt, unsigned int size)
+ {

diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
index 672546f43e85..05c82b84efb7 100644
--- a/app-misc/openrgb/openrgb-0.8-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild
@@ -18,7 +18,8 @@ fi
 DESCRIPTION="Open source RGB lighting control"
 HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
-# subslot is OPENRGB_PLUGIN_API_VERSION from 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
+# subslot is OPENRGB_PLUGIN_API_VERSION from
+# 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
 SLOT="0/2"
 
 RDEPEND="
@@ -41,6 +42,7 @@ BDEPEND="
 "
 
 PATCHES+=(
+   "${FILESDIR}"/${PN}-0.8-gcc-13.patch
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
"${FILESDIR}"/OpenRGB-0.8-includes.patch
 )



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/files/

2023-03-03 Thread Maciej Barć
commit: 2f0a56470d37c73df253764b61299cb6500ad5dc
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Mar  1 16:20:35 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Fri Mar  3 21:21:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0a5647

app-misc/openrgb-plugin-effects: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29871
Signed-off-by: Maciej Barć  gentoo.org>

 .../files/openrgb-plugin-effects-0_p20220110-dep.patch   | 16 
 1 file changed, 16 deletions(-)

diff --git 
a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
 
b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
deleted file mode 100644
index 7ab0f2ca75f9..
--- 
a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix dependency on app-misc/openrgb
-
 a/OpenRGBEffectsPlugin.pro
-+++ b/OpenRGBEffectsPlugin.pro
-@@ -64,11 +64,6 @@ HEADERS +=
- OpenRGB/qt/hsv.h  
  \
- 
- 
--SOURCES +=
  \
--OpenRGB/RGBController/RGBController.cpp   
  \
--OpenRGB/dependencies/ColorWheel/ColorWheel.cpp
  \
--OpenRGB/qt/hsv.cpp
  \
--
- 
#---#
- # QCodeEditor 
  #
- 
#---#



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/

2023-03-03 Thread Maciej Barć
commit: be5d2ed93a38d1208916f3f8a8aad476ead53c1b
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Mar  1 16:20:06 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Fri Mar  3 21:21:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5d2ed9

app-misc/openrgb: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.7-json.patch| 24 
 app-misc/openrgb/files/OpenRGB-0.7-plugins.patch | 24 
 app-misc/openrgb/files/OpenRGB-0.7-udev.patch| 16 
 3 files changed, 64 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-json.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-json.patch
deleted file mode 100644
index 32474f545dd0..
--- a/app-misc/openrgb/files/OpenRGB-0.7-json.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Fix build with dev-cpp/nlohmann_json-3.11.2
-
-https://bugs.gentoo.org/865133
-https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/1376
 
a/Controllers/GigabyteRGBFusion2USBController/RGBController_GigabyteRGBFusion2USB.cpp
-+++ 
b/Controllers/GigabyteRGBFusion2USBController/RGBController_GigabyteRGBFusion2USB.cpp
-@@ -329,7 +329,7 @@ void RGBController_RGBFusion2USB::Load_Device_Config()
- }
- else
- {
--
for(nlohmann::detail::iteration_proxy_value>&
 it : device_settings[SectionLayout].items())
-+for(const 
nlohmann::detail::iteration_proxy_value>&
 it : device_settings[SectionLayout].items())
- {
- MBName2Layout.insert( std::pair(it.key(), it.value() ));
- }
-@@ -380,7 +380,7 @@ void RGBController_RGBFusion2USB::Load_Device_Config()
- json json_HCL = device_settings[SectionCustom]["Data"];
- layout.clear();
- 
--
for(nlohmann::detail::iteration_proxy_value>&
 json_layout_it : json_HCL.items())
-+for(const 
nlohmann::detail::iteration_proxy_value>&
 json_layout_it : json_HCL.items())
- {
- json json_zl = json_layout_it.value();
- std::vector v_lp;

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch
deleted file mode 100644
index b9a6fb2cd16a..
--- a/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Allow installation of plugins not only in ~/.config
-
-Used by app-misc/openrgb-plugin-* packages
-
 a/PluginManager.cpp
-+++ b/PluginManager.cpp
-@@ -35,7 +35,8 @@ void PluginManager::ScanAndLoadPlugins()
- | The plugins directory is a directory named "plugins" in   |
- | the configuration directory   |
- \*-*/
--const QDir plugins_dir = 
QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/";
-+for (const QDir plugins_dir : 
{QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/",
-+   
QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
- 
- /*-*\
- | Get a list of all files in the plugins directory  |
-@@ -56,6 +57,7 @@ void PluginManager::ScanAndLoadPlugins()
- 
- AddPlugin(plugin_path);
- }
-+}
- }
- 
- void PluginManager::AddPlugin(std::string path)

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-udev.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-udev.patch
deleted file mode 100644
index a2feaf1c9378..
--- a/app-misc/openrgb/files/OpenRGB-0.7-udev.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Install udev rules to correct dir
-
-Revert 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/commit/ccbe83919a70be346eea948fb2c4122ef9f34214
-
 a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -1246,7 +1246,7 @@ unix:!macx {
- icon.files+=qt/OpenRGB.png
- metainfo.path=$$PREFIX/share/metainfo/
- metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
-+rules.path=/lib/udev/rules.d/
--rules.path=$$PREFIX/lib/udev/rules.d/
- rules.files+=60-openrgb.rules
- INSTALLS += target desktop icon metainfo rules
- }
-GitLab



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2023-02-27 Thread Joonas Niilola
commit: 4eeb7496747e5978e97adad70ccda5b6c20f86a5
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Feb 27 00:00:27 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 09:04:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eeb7496

app-misc/openrgb-plugin-visualmap: drop 0_p20211230

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest |  1 -
 .../openrgb-plugin-visualmap-0_p20211230.ebuild| 45 --
 2 files changed, 46 deletions(-)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
index 007d9b9a17b0..b9109dd7156a 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1,2 +1 @@
-DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 
54289 BLAKE2B 
b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40
 SHA512 
eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e
 DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B 
c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b
 SHA512 
7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
deleted file mode 100644
index 510983023278..
--- 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit qmake-utils
-
-MY_GIT_COMMIT="223c5ec67d256c5fa3bf7f3d572213114d93db6e"
-SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2;
-S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="amd64"
-
-DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
-HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;
-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
-   sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die
-}
-
-src_configure() {
-   eqmake5 \
-   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
-}
-
-src_install() {
-   exeinto /usr/$(get_libdir)/OpenRGB/plugins
-   doexe libOpenRGBVisualMapPlugin.so.1.0.0
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-02-27 Thread Joonas Niilola
commit: 6b0af142d6ffd70e129175ae8d2798447cf27b6c
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Feb 26 23:35:26 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 09:04:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b0af142

app-misc/openrgb: drop 0.7, 0.7-r1

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/openrgb/Manifest  |  1 -
 app-misc/openrgb/openrgb-0.7-r1.ebuild | 81 --
 app-misc/openrgb/openrgb-0.7.ebuild| 72 --
 3 files changed, 154 deletions(-)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index 4b00e7ad8635..e0ff770dc389 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1,2 +1 @@
-DIST OpenRGB-release_0.7.tar.bz2 28053114 BLAKE2B 
dfab42fca654478ab359e6e46133fc20a4bf32aca35d1b2f475d3e4e5e218f35c7e1f03be15381b0e8d874ea24254b88b8fe21548a4183b29b4c66647aeef516
 SHA512 
6ee605bfc91da14d34bc89fe75790f99548253e2d6aa088e20d1996577629bf15fe0fae09e65d983aa829f54cfcbd33e13f2c7d493a2776fd1723f8725b62186
 DIST OpenRGB-release_0.8.tar.bz2 28631365 BLAKE2B 
3b328e38f1c52646da02b0b2b2c22b1285f3b31b0a2bc684e99d491d04bd14a91b49bc196b3b81b537320cd872e5568aaa8aec34744f4f15392d9424a81ac6f0
 SHA512 
d69686da7cab33099b13cfb5ab876fc2db047f79aa01bf8150507ec41321b4c6c092f81623823b89916c70a1a24c4a102f77b1001c5caa721ff4c0c52e0630d2

diff --git a/app-misc/openrgb/openrgb-0.7-r1.ebuild 
b/app-misc/openrgb/openrgb-0.7-r1.ebuild
deleted file mode 100644
index fc7b38dbf97b..
--- a/app-misc/openrgb/openrgb-0.7-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic qmake-utils udev
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="amd64 ~x86"
-   PATCHES=(
-   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
-   )
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-# subslot is OPENRGB_PLUGIN_API_VERSION from 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
-SLOT="0/2"
-
-RDEPEND="
-   dev-libs/hidapi
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   net-libs/mbedtls:=
-   virtual/libusb:1
-"
-DEPEND="
-   ${RDEPEND}
-   dev-cpp/nlohmann_json
-"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-PATCHES+=(
-   "${FILESDIR}"/OpenRGB-0.7-plugins.patch
-   "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
-   "${FILESDIR}"/OpenRGB-0.7-json.patch
-)
-
-src_prepare() {
-   default
-   rm -r dependencies/{hidapi,libusb,json,mbedtls}* || die
-}
-
-src_configure() {
-   # Some plugins require symbols defined in the main binary.
-   # The official build system bundles OpenRGB as a submodule instead, and
-   # compiles the .cpp file again.
-   append-ldflags -Wl,--export-dynamic
-
-   eqmake5 \
-   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
-   
DEFINES+="GENTOO_PLUGINS_DIR=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
-}
-
-src_install() {
-   emake INSTALL_ROOT="${ED}" install
-
-   dodoc README.md OpenRGB.patch
-   udev_dorules 60-openrgb.rules
-
-   # This is for plugins. Upstream doesn't install any headers at all.
-   insinto /usr/include/OpenRGB
-   find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" 
';' || die
-}
-
-pkg_postinst() {
-   udev_reload
-}
-
-pkg_postrm() {
-   udev_reload
-}

diff --git a/app-misc/openrgb/openrgb-0.7.ebuild 
b/app-misc/openrgb/openrgb-0.7.ebuild
deleted file mode 100644
index a8ef5e62540f..
--- a/app-misc/openrgb/openrgb-0.7.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic qmake-utils
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="amd64 ~x86"
-   PATCHES=(
-   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
-   )
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://openrgb.org 

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2023-02-27 Thread Joonas Niilola
commit: 9024c900773e129d40745d3a45eac5b082a05271
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Feb 26 23:59:54 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 09:04:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9024c900

app-misc/openrgb-plugin-skin: drop 0_p20211230

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest  |  1 -
 .../openrgb-plugin-skin-0_p20211230.ebuild | 44 --
 2 files changed, 45 deletions(-)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index ef0adc69ffdd..eb03452e78df 100644
--- a/app-misc/openrgb-plugin-skin/Manifest
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -1,2 +1 @@
 DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 
25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d
 SHA512 
89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59
-DIST openrgbskinplugin-ebb80f7bd0e1efaa995f60454f3c049a4607bc3b.tar.bz2 22843 
BLAKE2B 
30c88b143b3df829c543744b20424df24bde9dda10f770fb78d653609111801a4d1d3fe16ed3e3c15ad953f41113db5d4da40bc66f7ec57418b2e934cd9a2e32
 SHA512 
a70c0157072b6b638a5a4f3f48f41c73f422d0ac356174479901cd3d088faf6fe96e594b2a39b15de305e0355fd0d252dafc4a30b9216d57058ad2cde7f5a3e3

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
deleted file mode 100644
index 3e8d07f3bf37..
--- a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2023-02-27 Thread Joonas Niilola
commit: 94d980753d2bcda7f74dbe69f110aa89310b9450
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Feb 26 23:35:57 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 27 09:04:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d98075

app-misc/openrgb-plugin-effects: drop 0_p20220110

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/openrgb-plugin-effects/Manifest   |  1 -
 .../openrgb-plugin-effects-0_p20220110.ebuild  | 49 --
 2 files changed, 50 deletions(-)

diff --git a/app-misc/openrgb-plugin-effects/Manifest 
b/app-misc/openrgb-plugin-effects/Manifest
index 559acba296d3..b6c7e91e0085 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1,4 +1,3 @@
-DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 
255129 BLAKE2B 
8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0
 SHA512 
386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
 DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 
71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4
 SHA512 
c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
 DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B 
d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a
 SHA512 
4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
 DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B 
ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854
 SHA512 
b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
deleted file mode 100644
index 3df6ba0bd54b..
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit qmake-utils
-
-MY_GIT_COMMIT="a7222bdbcd3c52e13d96993a33c5648f1306aeba"
-SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2;
-S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="amd64"
-
-DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
-HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="
-   >=app-misc/openrgb-0.7:=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5[-gles2-only]
-   dev-qt/qtwidgets:5[-gles2-only]
-   media-libs/openal
-"
-DEPEND="
-   ${RDEPEND}
-   dev-cpp/nlohmann_json
-"
-
-PATCHES=(
-   "${FILESDIR}/openrgb-plugin-effects-0_p20220110-dep.patch"
-)
-
-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 libOpenRGBEffectsPlugin.so.1.0
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2023-02-26 Thread Sam James
commit: 47214d5a342b34c08bb62ff92d31355023ec1d47
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 26 19:25:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 26 19:25:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47214d5a

app-misc/openrgb-plugin-skin: Stabilize 0.8 amd64, #897886

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
index 8a3da828c824..b611a886e87b 100644
--- a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ 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"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel 
of OpenRGB"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2023-02-26 Thread Sam James
commit: b5b6f1f8a8c49c4dc31f27d37a811e96e6de0b85
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 26 19:25:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 26 19:25:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5b6f1f8

app-misc/openrgb-plugin-visualmap: Stabilize 0.8 amd64, #897886

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
index d6abfbf2af1c..29925e2a50ea 100644
--- a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ inherit qmake-utils
 
 
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2;
 S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2023-02-26 Thread Sam James
commit: a7113623e11fe83d7bcb5094cc853b39a30354b4
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 26 19:25:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 26 19:25:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7113623

app-misc/openrgb-plugin-effects: Stabilize 0.8 amd64, #897886

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
index 98722bf8b3f7..6b51e61c8507 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
 
 LICENSE="GPL-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="
>=app-misc/openrgb-0.7:=



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2023-02-16 Thread Maciej Barć
commit: 81132cfdb4283d8978f37e6c5057f979bfeb490b
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Thu Feb 16 20:40:59 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Feb 16 21:36:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81132cfd

app-misc/openrgb: fix build on musl

Closes: https://bugs.gentoo.org/894558
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/29622
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.8-includes.patch | 24 +++
 app-misc/openrgb/openrgb-0.8-r1.ebuild|  1 +
 2 files changed, 25 insertions(+)

diff --git a/app-misc/openrgb/files/OpenRGB-0.8-includes.patch 
b/app-misc/openrgb/files/OpenRGB-0.8-includes.patch
new file mode 100644
index ..8ed341b06029
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.8-includes.patch
@@ -0,0 +1,24 @@
+From 8c893fba4fcec17e6221f2d754def4aa71b020b8 Mon Sep 17 00:00:00 2001
+From: Sirn Thanabulpong 
+Date: Wed, 28 Dec 2022 00:49:47 +0900
+Subject: [PATCH] Fix build on musl in Nanoleaf settings
+
+---
+ qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp 
b/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp
+index 1e3c926b3..55ed5fcaa 100644
+--- a/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp
 b/qt/OpenRGBNanoleafSettingsPage/OpenRGBNanoleafScanningThread.cpp
+@@ -8,6 +8,7 @@
+ #else
+ #include 
+ #include 
++#include 
+ #endif
+ 
+ #include "mdns.h"
+-- 
+GitLab
+

diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
index 10549d214ac7..672546f43e85 100644
--- a/app-misc/openrgb/openrgb-0.8-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild
@@ -42,6 +42,7 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
+   "${FILESDIR}"/OpenRGB-0.8-includes.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-02-07 Thread Sam James
commit: 19e6366fe5723d05298c993604f233945c5f5d3f
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  7 23:06:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  7 23:06:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e6366f

app-misc/openrgb: Stabilize 0.8-r1 amd64, #893546

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb/openrgb-0.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb/openrgb-0.8-r1.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
index 79b8c72fcdf9..10549d214ac7 100644
--- a/app-misc/openrgb/openrgb-0.8-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == ** ]]; then
 else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
PATCHES=( "${FILESDIR}"/OpenRGB-0.5-build-system.patch )
 fi
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/files/, app-misc/openrgb-plugin-effects/

2023-02-02 Thread Patrick McLean
commit: cee4e31fe2c5fea9813c1b4b09d6ec63eb4f199f
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sat Jan 28 02:13:40 2023 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Feb  2 21:17:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee4e31f

app-misc/openrgb-plugin-effects: add 0.8

Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/29308
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-effects/Manifest   |  3 +
 .../files/openrgb-plugin-effects-0.8-dep.patch | 15 +
 .../files/openrgb-plugin-effects-0.8-qrc.patch | 11 
 .../openrgb-plugin-effects-0.8.ebuild  | 66 ++
 4 files changed, 95 insertions(+)

diff --git a/app-misc/openrgb-plugin-effects/Manifest 
b/app-misc/openrgb-plugin-effects/Manifest
index e5b66a3a5b73..559acba296d3 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1 +1,4 @@
 DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 
255129 BLAKE2B 
8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0
 SHA512 
386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
+DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 
71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4
 SHA512 
c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
+DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B 
d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a
 SHA512 
4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
+DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B 
ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854
 SHA512 
b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd

diff --git 
a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch 
b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch
new file mode 100644
index ..b01adb4ac7d1
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-dep.patch
@@ -0,0 +1,15 @@
+Fix dependency on app-misc/openrgb
+
+--- a/OpenRGBEffectsPlugin.pro
 b/OpenRGBEffectsPlugin.pro
+@@ -60,10 +60,6 @@ HEADERS +=
+ OpenRGB/qt/hsv.h  
  \
+ 
+ 
+-SOURCES +=
  \
+-OpenRGB/RGBController/RGBController.cpp   
  \
+-OpenRGB/dependencies/ColorWheel/ColorWheel.cpp
  \
+-OpenRGB/qt/hsv.cpp
  \
+ 
+ 
+ 
#---#

diff --git 
a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch 
b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch
new file mode 100644
index ..87919c542d7f
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0.8-qrc.patch
@@ -0,0 +1,11 @@
+Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
+conflicts with the openrgb's one. So rename it.
+
+--- a/OpenRGBEffectsPlugin.pro
 b/OpenRGBEffectsPlugin.pro
+@@ -472,4 +472,4 @@ macx: {
+ }
+ 
+ RESOURCES += \
+-resources.qrc
++resources_effects_plugin.qrc

diff --git a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
new file mode 100644
index ..98722bf8b3f7
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0.8.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
+
+MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c"
+MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61"
+SRC_URI="
+   
https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2
+   

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-01-24 Thread Sam James
commit: cbac57b88c42d8e25dcc82d2f7a9e64e814af6cf
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 24 23:54:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 24 23:54:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbac57b8

app-misc/openrgb: Stabilize 0.7-r1 amd64, #891939

Signed-off-by: Sam James  gentoo.org>

 app-misc/openrgb/openrgb-0.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/openrgb/openrgb-0.7-r1.ebuild 
b/app-misc/openrgb/openrgb-0.7-r1.ebuild
index f3ee7086508d..fc7b38dbf97b 100644
--- a/app-misc/openrgb/openrgb-0.7-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ if [[ ${PV} == ** ]]; then
 else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
PATCHES=(
"${FILESDIR}"/OpenRGB-0.5-build-system.patch
)



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-01-06 Thread Maciej Barć
commit: ac21da15be67ca91c9bd319a91379dc8cefbf5b2
Author: Maciej Barć  gentoo  org>
AuthorDate: Fri Jan  6 14:08:41 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Fri Jan  6 14:08:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac21da15

app-misc/openrgb: properly install udev rules

Bug: https://github.com/gentoo/gentoo/pull/28800
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/{openrgb-0.8.ebuild => openrgb-0.8-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/openrgb/openrgb-0.8.ebuild 
b/app-misc/openrgb/openrgb-0.8-r1.ebuild
similarity index 98%
rename from app-misc/openrgb/openrgb-0.8.ebuild
rename to app-misc/openrgb/openrgb-0.8-r1.ebuild
index 516276f31fcd..79b8c72fcdf9 100644
--- a/app-misc/openrgb/openrgb-0.8.ebuild
+++ b/app-misc/openrgb/openrgb-0.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -70,8 +70,8 @@ src_install() {
 
dodoc README.md OpenRGB.patch
 
-   udev_dorules 60-openrgb.rules
rm -r "${ED}"/usr/lib/udev/ || die
+   udev_dorules 60-openrgb.rules
 
# This is for plugins. Upstream doesn't install any headers at all.
insinto /usr/include/OpenRGB



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/, app-misc/openrgb/files/

2023-01-05 Thread Maciej Barć
commit: 1cd282ee12238a89f43525b98b51535e0ec03737
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Dec 25 17:21:27 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jan  5 14:31:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd282ee

app-misc/openrgb: depend on httplib, drop patch

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Maciej Barć  gentoo.org>

 .../files/OpenRGB-0.8-drop-bundled-libs.patch  | 25 --
 app-misc/openrgb/openrgb-0.8.ebuild|  6 +++---
 app-misc/openrgb/openrgb-.ebuild   |  6 +++---
 3 files changed, 6 insertions(+), 31 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.8-drop-bundled-libs.patch 
b/app-misc/openrgb/files/OpenRGB-0.8-drop-bundled-libs.patch
deleted file mode 100644
index ca3a96b441c7..
--- a/app-misc/openrgb/files/OpenRGB-0.8-drop-bundled-libs.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From b8d2ff44ef16fb395c283d53a1fa723bff818a9a Mon Sep 17 00:00:00 2001
-From: Marco Scardovi 
-Date: Sun, 18 Dec 2022 21:19:26 +0100
-Subject: [PATCH] Drop libs
-

- OpenRGB.pro   | 2 --
- 1 files changed, 0 insertions(+), 2 deletions(-)
-
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index aabbd161..8e644960 100644
 a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -63,11 +63,9 @@ INCLUDEPATH +=
- dependencies/CRCpp/   
  \
- dependencies/hueplusplus-1.0.0/include
  \
- dependencies/hueplusplus-1.0.0/include/hueplusplus
  \
--dependencies/httplib  
  \
- dependencies/json/
  \
- dependencies/libe131/src/ 
  \
- dependencies/libcmmk/include/ 
  \
--dependencies/mdns 
  \
- i2c_smbus/
  \
- i2c_tools/
  \
- net_port/ 
  \

diff --git a/app-misc/openrgb/openrgb-0.8.ebuild 
b/app-misc/openrgb/openrgb-0.8.ebuild
index bed6c458262f..516276f31fcd 100644
--- a/app-misc/openrgb/openrgb-0.8.ebuild
+++ b/app-misc/openrgb/openrgb-0.8.ebuild
@@ -22,6 +22,7 @@ LICENSE="GPL-2"
 SLOT="0/2"
 
 RDEPEND="
+   dev-cpp/cpp-httplib:=
dev-libs/hidapi
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -31,7 +32,6 @@ RDEPEND="
 "
 DEPEND="
${RDEPEND}
-   dev-cpp/cpp-httplib
dev-cpp/nlohmann_json
dev-libs/mdns
 "
@@ -42,7 +42,6 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
-   "${FILESDIR}"/OpenRGB-0.8-drop-bundled-libs.patch
 )
 
 src_prepare() {
@@ -62,7 +61,8 @@ src_configure() {
 
eqmake5 \
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
-   
DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
+   
DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
 \
+   LIBS+=-lhttplib
 }
 
 src_install() {

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index bed6c458262f..516276f31fcd 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -22,6 +22,7 @@ LICENSE="GPL-2"
 SLOT="0/2"
 
 RDEPEND="
+   dev-cpp/cpp-httplib:=
dev-libs/hidapi
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -31,7 +32,6 @@ RDEPEND="
 "
 DEPEND="
${RDEPEND}
-   dev-cpp/cpp-httplib
dev-cpp/nlohmann_json
dev-libs/mdns
 "
@@ -42,7 +42,6 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
-   "${FILESDIR}"/OpenRGB-0.8-drop-bundled-libs.patch
 )
 
 src_prepare() {
@@ -62,7 +61,8 @@ src_configure() {
 
eqmake5 \
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
-   
DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
+   
DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
 \
+   LIBS+=-lhttplib
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2023-01-05 Thread Maciej Barć
commit: f79a87f2b6b3935a9b36283dcf09b9c70f013703
Author: Maciej Barć  gentoo  org>
AuthorDate: Thu Jan  5 13:49:37 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jan  5 14:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f79a87f2

app-misc/openrgb: add myself (xgqt) as another co-maintainer

Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-misc/openrgb/metadata.xml b/app-misc/openrgb/metadata.xml
index f2fe2a6805da..378bcd2df595 100644
--- a/app-misc/openrgb/metadata.xml
+++ b/app-misc/openrgb/metadata.xml
@@ -5,6 +5,10 @@
chutz...@gentoo.org
Patrick McLean

+   
+   x...@gentoo.org
+   Maciej Barć
+   

alexey+gen...@asokolov.org
Alexey Sokolov



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2023-01-05 Thread Maciej Barć
commit: f5baead509954d12ce3b4e50aa07875791279533
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Dec 25 17:58:35 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jan  5 14:31:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5baead5

app-misc/openrgb-plugin-skin: add 0.8

Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest  |  1 +
 .../openrgb-plugin-skin-0.8.ebuild | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index bd96dd514474..ef0adc69ffdd 100644
--- a/app-misc/openrgb-plugin-skin/Manifest
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -1 +1,2 @@
+DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 
25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d
 SHA512 
89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59
 DIST openrgbskinplugin-ebb80f7bd0e1efaa995f60454f3c049a4607bc3b.tar.bz2 22843 
BLAKE2B 
30c88b143b3df829c543744b20424df24bde9dda10f770fb78d653609111801a4d1d3fe16ed3e3c15ad953f41113db5d4da40bc66f7ec57418b2e934cd9a2e32
 SHA512 
a70c0157072b6b638a5a4f3f48f41c73f422d0ac356174479901cd3d088faf6fe96e594b2a39b15de305e0355fd0d252dafc4a30b9216d57058ad2cde7f5a3e3

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 ..8a3da828c824
--- /dev/null
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020-2022 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/files/, app-misc/openrgb-plugin-visualmap/

2023-01-05 Thread Maciej Barć
commit: 1a5f44d0989d0302a638a12268dff404d6caa8ee
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Sun Dec 25 18:07:59 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jan  5 14:31:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5f44d0

app-misc/openrgb-plugin-visualmap: add 0.8

Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/28800
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest |  1 +
 .../files/openrgb-plugin-visualmap-0.8-dep.patch   | 18 +
 .../openrgb-plugin-visualmap-0.8.ebuild| 47 ++
 3 files changed, 66 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
index de0c1e193754..007d9b9a17b0 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1 +1,2 @@
 DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 
54289 BLAKE2B 
b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40
 SHA512 
eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e
+DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B 
c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b
 SHA512 
7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61

diff --git 
a/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch
 
b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch
new file mode 100644
index ..b2023fa1df3a
--- /dev/null
+++ 
b/app-misc/openrgb-plugin-visualmap/files/openrgb-plugin-visualmap-0.8-dep.patch
@@ -0,0 +1,18 @@
+--- a/OpenRGBVisualMapPlugin.pro
 b/OpenRGBVisualMapPlugin.pro
+@@ -96,7 +96,6 @@ HEADERS +=
+ OpenRGB/qt/hsv.h  
  \
+ 
+ SOURCES +=
  \
+-OpenRGB/RGBController/RGBController.cpp   
  \
+ OpenRGBVisualMapPlugin.cpp
  \
+ VirtualController.cpp 
  \
+ VisualMapSettingsManager.cpp  
  \
+@@ -120,7 +119,6 @@ SOURCES +=
+ ui/widget-editor/EditorGrid.cpp   
  \
+ ui/widget-editor/LedItem.cpp  
  \
+ ui/widget-editor/WidgetEditor.cpp 
  \
+-OpenRGB/qt/hsv.cpp
  \
+ 
+ FORMS +=  
  \
+ ui/BackgroundApplier.ui   
  \

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
new file mode 100644
index ..d6abfbf2af1c
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2;
+S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;
+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
+"
+
+PATCHES=(
+   "${FILESDIR}/${P}-dep.patch"
+)
+
+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 libOpenRGBVisualMapPlugin.so.1.0.0
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2023-01-05 Thread Maciej Barć
commit: c9408605ea2f070524181fddbc72f712d37fd944
Author: Marco Scardovi  icloud  com>
AuthorDate: Sat Dec 17 23:48:38 2022 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Thu Jan  5 14:31:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9408605

app-misc/openrgb: add 0.8, update live-ebuild

Closes: https://bugs.gentoo.org/886486

Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Maciej Barć  gentoo.org>

 app-misc/openrgb/Manifest  |  1 +
 .../files/OpenRGB-0.8-drop-bundled-libs.patch  | 25 ++
 app-misc/openrgb/metadata.xml  | 10 +
 .../{openrgb-.ebuild => openrgb-0.8.ebuild}| 22 +--
 app-misc/openrgb/openrgb-.ebuild   | 22 +--
 5 files changed, 68 insertions(+), 12 deletions(-)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index 2e2723147628..4b00e7ad8635 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1 +1,2 @@
 DIST OpenRGB-release_0.7.tar.bz2 28053114 BLAKE2B 
dfab42fca654478ab359e6e46133fc20a4bf32aca35d1b2f475d3e4e5e218f35c7e1f03be15381b0e8d874ea24254b88b8fe21548a4183b29b4c66647aeef516
 SHA512 
6ee605bfc91da14d34bc89fe75790f99548253e2d6aa088e20d1996577629bf15fe0fae09e65d983aa829f54cfcbd33e13f2c7d493a2776fd1723f8725b62186
+DIST OpenRGB-release_0.8.tar.bz2 28631365 BLAKE2B 
3b328e38f1c52646da02b0b2b2c22b1285f3b31b0a2bc684e99d491d04bd14a91b49bc196b3b81b537320cd872e5568aaa8aec34744f4f15392d9424a81ac6f0
 SHA512 
d69686da7cab33099b13cfb5ab876fc2db047f79aa01bf8150507ec41321b4c6c092f81623823b89916c70a1a24c4a102f77b1001c5caa721ff4c0c52e0630d2

diff --git a/app-misc/openrgb/files/OpenRGB-0.8-drop-bundled-libs.patch 
b/app-misc/openrgb/files/OpenRGB-0.8-drop-bundled-libs.patch
new file mode 100644
index ..ca3a96b441c7
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.8-drop-bundled-libs.patch
@@ -0,0 +1,25 @@
+From b8d2ff44ef16fb395c283d53a1fa723bff818a9a Mon Sep 17 00:00:00 2001
+From: Marco Scardovi 
+Date: Sun, 18 Dec 2022 21:19:26 +0100
+Subject: [PATCH] Drop libs
+
+---
+ OpenRGB.pro   | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/OpenRGB.pro b/OpenRGB.pro
+index aabbd161..8e644960 100644
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -63,11 +63,9 @@ INCLUDEPATH +=
+ dependencies/CRCpp/   
  \
+ dependencies/hueplusplus-1.0.0/include
  \
+ dependencies/hueplusplus-1.0.0/include/hueplusplus
  \
+-dependencies/httplib  
  \
+ dependencies/json/
  \
+ dependencies/libe131/src/ 
  \
+ dependencies/libcmmk/include/ 
  \
+-dependencies/mdns 
  \
+ i2c_smbus/
  \
+ i2c_tools/
  \
+ net_port/ 
  \

diff --git a/app-misc/openrgb/metadata.xml b/app-misc/openrgb/metadata.xml
index 05db5934398f..f2fe2a6805da 100644
--- a/app-misc/openrgb/metadata.xml
+++ b/app-misc/openrgb/metadata.xml
@@ -9,6 +9,16 @@
alexey+gen...@asokolov.org
Alexey Sokolov

+   
+   One of the biggest complaints about RGB is the software 
ecosystem surrounding it.
+   Every manufacturer has their own app, their own brand, their 
own style.
+   If you want to mix and match devices, you end up with a ton of 
conflicting,
+   functionally identical apps competing for your background 
resources.
+   On top of that, these apps are proprietary and Windows-only.
+   Some even require online accounts. What if there was a way to 
control all of your
+   RGB devices from a single app, on both Windows and Linux, 
without any nonsense?
+   That is what OpenRGB sets out to achieve. One app to rule them 
all.
+   

CalcProgrammer1/OpenRGB


diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-0.8.ebuild
similarity index 75%
copy from app-misc/openrgb/openrgb-.ebuild
copy to app-misc/openrgb/openrgb-0.8.ebuild
index 343c012dd241..bed6c458262f 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-0.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit 

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/, app-misc/openrgb/files/

2022-11-27 Thread Andrew Ammerlaan
commit: 56efce0ab4bc8d710e1abe8aca25689c7667a765
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Nov 27 21:57:50 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Nov 27 21:58:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56efce0a

app-misc/openrgb: update  again, patch merged upstream

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.8-plugins.patch | 26 
 app-misc/openrgb/openrgb-.ebuild |  3 +--
 2 files changed, 1 insertion(+), 28 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch 
b/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch
deleted file mode 100644
index a2d02cde3c7f..
--- a/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Allow installation of plugins not only in ~/.config
-
-Used by app-misc/openrgb-plugin-* packages
-
-diff --git a/PluginManager.cpp b/PluginManager.cpp
-index 6ccad72c..7b12f32e 100644
 a/PluginManager.cpp
-+++ b/PluginManager.cpp
-@@ -41,7 +41,8 @@ void PluginManager::ScanAndLoadPlugins()
- | The plugins directory is a directory named "plugins" in   |
- | the configuration directory   |
- \*-*/
--const QDir plugins_dir = 
QString(ResourceManager::get()->GetConfigurationDirectory().c_str()).append(plugins_path);
-+for (const QDir plugins_dir : 
{QString(ResourceManager::get()->GetConfigurationDirectory().c_str()).append(plugins_path),
-+QString().fromStdString(GENTOO_PLUGINS_DIR)}) 
{
- LOG_INFO("[PluginManager] Scanning plugin directory: %s", 
plugins_dir.absolutePath().toStdString().c_str());
- 
- /*-*\
-@@ -64,6 +65,7 @@ void PluginManager::ScanAndLoadPlugins()
- 
- AddPlugin(plugin_path);
- }
-+}
- }
- 
- void PluginManager::AddPlugin(std::string path)

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 74083c048810..343c012dd241 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -40,7 +40,6 @@ BDEPEND="
 "
 
 PATCHES+=(
-   "${FILESDIR}"/OpenRGB-0.8-plugins.patch
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
 )
 
@@ -57,7 +56,7 @@ src_configure() {
 
eqmake5 \
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
-   
DEFINES+="GENTOO_PLUGINS_DIR=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
+   
DEFINES+="OPENRGB_EXTRA_PLUGIN_DIRECTORY=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2022-11-27 Thread Andrew Ammerlaan
commit: cea9a32d1acd79e89520b6aa6f6a550f3372af11
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Nov 26 16:16:48 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Nov 27 21:09:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea9a32d

app-misc/openrgb: update patch in  ebuild

Signed-off-by: Andrew Ammerlaan  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28439
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.8-plugins.patch | 26 
 app-misc/openrgb/openrgb-.ebuild |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch 
b/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch
new file mode 100644
index ..a2d02cde3c7f
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.8-plugins.patch
@@ -0,0 +1,26 @@
+Allow installation of plugins not only in ~/.config
+
+Used by app-misc/openrgb-plugin-* packages
+
+diff --git a/PluginManager.cpp b/PluginManager.cpp
+index 6ccad72c..7b12f32e 100644
+--- a/PluginManager.cpp
 b/PluginManager.cpp
+@@ -41,7 +41,8 @@ void PluginManager::ScanAndLoadPlugins()
+ | The plugins directory is a directory named "plugins" in   |
+ | the configuration directory   |
+ \*-*/
+-const QDir plugins_dir = 
QString(ResourceManager::get()->GetConfigurationDirectory().c_str()).append(plugins_path);
++for (const QDir plugins_dir : 
{QString(ResourceManager::get()->GetConfigurationDirectory().c_str()).append(plugins_path),
++QString().fromStdString(GENTOO_PLUGINS_DIR)}) 
{
+ LOG_INFO("[PluginManager] Scanning plugin directory: %s", 
plugins_dir.absolutePath().toStdString().c_str());
+ 
+ /*-*\
+@@ -64,6 +65,7 @@ void PluginManager::ScanAndLoadPlugins()
+ 
+ AddPlugin(plugin_path);
+ }
++}
+ }
+ 
+ void PluginManager::AddPlugin(std::string path)

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 44c450e3c857..74083c048810 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -40,7 +40,7 @@ BDEPEND="
 "
 
 PATCHES+=(
-   "${FILESDIR}"/OpenRGB-0.7-plugins.patch
+   "${FILESDIR}"/OpenRGB-0.8-plugins.patch
"${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
 )
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/, app-misc/openrgb/files/

2022-08-27 Thread Patrick McLean
commit: e8d6ff8b97cc3de656480dc68436973c9572e877
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Aug 23 00:00:59 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Aug 26 23:57:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d6ff8b

app-misc/openrgb: use udev eclass

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://bugs.gentoo.org/854762
Closes: https://github.com/gentoo/gentoo/pull/26969
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch  | 15 +++
 .../{openrgb-.ebuild => openrgb-0.7-r1.ebuild}| 14 --
 app-misc/openrgb/openrgb-.ebuild  | 13 +++--
 3 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch
new file mode 100644
index ..54646dc66a50
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.7-r1-udev.patch
@@ -0,0 +1,15 @@
+Don't install udev rules
+
+This is handled by udev eclass instead
+
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -1246,7 +1246,5 @@ unix:!macx {
+ icon.files+=qt/OpenRGB.png
+ metainfo.path=$$PREFIX/share/metainfo/
+ metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
+-rules.path=$$PREFIX/lib/udev/rules.d/
+-rules.files+=60-openrgb.rules
+ INSTALLS += target desktop icon metainfo rules
+ }
+GitLab

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-0.7-r1.ebuild
similarity index 89%
copy from app-misc/openrgb/openrgb-.ebuild
copy to app-misc/openrgb/openrgb-0.7-r1.ebuild
index f9e079015112..f3ee7086508d 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-0.7-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic qmake-utils
+inherit flag-o-matic qmake-utils udev
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -41,7 +41,8 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-plugins.patch
-   "${FILESDIR}"/OpenRGB-0.7-udev.patch
+   "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
+   "${FILESDIR}"/OpenRGB-0.7-json.patch
 )
 
 src_prepare() {
@@ -64,8 +65,17 @@ src_install() {
emake INSTALL_ROOT="${ED}" install
 
dodoc README.md OpenRGB.patch
+   udev_dorules 60-openrgb.rules
 
# This is for plugins. Upstream doesn't install any headers at all.
insinto /usr/include/OpenRGB
find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" 
';' || die
 }
+
+pkg_postinst() {
+   udev_reload
+}
+
+pkg_postrm() {
+   udev_reload
+}

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index f9e079015112..44c450e3c857 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic qmake-utils
+inherit flag-o-matic qmake-utils udev
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -41,7 +41,7 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-plugins.patch
-   "${FILESDIR}"/OpenRGB-0.7-udev.patch
+   "${FILESDIR}"/OpenRGB-0.7-r1-udev.patch
 )
 
 src_prepare() {
@@ -64,8 +64,17 @@ src_install() {
emake INSTALL_ROOT="${ED}" install
 
dodoc README.md OpenRGB.patch
+   udev_dorules 60-openrgb.rules
 
# This is for plugins. Upstream doesn't install any headers at all.
insinto /usr/include/OpenRGB
find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" 
';' || die
 }
+
+pkg_postinst() {
+   udev_reload
+}
+
+pkg_postrm() {
+   udev_reload
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/, app-misc/openrgb/files/

2022-08-27 Thread Patrick McLean
commit: 4afe1169372beb379f024cc5acdcdb2c48b6fe8b
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Aug 22 23:42:01 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Aug 26 23:56:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4afe1169

app-misc/openrgb: fix build with dev-cpp/nlohmann_json-3.11.2

Closes: https://bugs.gentoo.org/865133
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.7-json.patch | 24 
 app-misc/openrgb/openrgb-0.7.ebuild   |  1 +
 2 files changed, 25 insertions(+)

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-json.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-json.patch
new file mode 100644
index ..32474f545dd0
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.7-json.patch
@@ -0,0 +1,24 @@
+Fix build with dev-cpp/nlohmann_json-3.11.2
+
+https://bugs.gentoo.org/865133
+https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/1376
+--- 
a/Controllers/GigabyteRGBFusion2USBController/RGBController_GigabyteRGBFusion2USB.cpp
 
b/Controllers/GigabyteRGBFusion2USBController/RGBController_GigabyteRGBFusion2USB.cpp
+@@ -329,7 +329,7 @@ void RGBController_RGBFusion2USB::Load_Device_Config()
+ }
+ else
+ {
+-
for(nlohmann::detail::iteration_proxy_value>&
 it : device_settings[SectionLayout].items())
++for(const 
nlohmann::detail::iteration_proxy_value>&
 it : device_settings[SectionLayout].items())
+ {
+ MBName2Layout.insert( std::pair(it.key(), it.value() ));
+ }
+@@ -380,7 +380,7 @@ void RGBController_RGBFusion2USB::Load_Device_Config()
+ json json_HCL = device_settings[SectionCustom]["Data"];
+ layout.clear();
+ 
+-
for(nlohmann::detail::iteration_proxy_value>&
 json_layout_it : json_HCL.items())
++for(const 
nlohmann::detail::iteration_proxy_value>&
 json_layout_it : json_HCL.items())
+ {
+ json json_zl = json_layout_it.value();
+ std::vector v_lp;

diff --git a/app-misc/openrgb/openrgb-0.7.ebuild 
b/app-misc/openrgb/openrgb-0.7.ebuild
index bbc124653d95..a8ef5e62540f 100644
--- a/app-misc/openrgb/openrgb-0.7.ebuild
+++ b/app-misc/openrgb/openrgb-0.7.ebuild
@@ -42,6 +42,7 @@ BDEPEND="
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-plugins.patch
"${FILESDIR}"/OpenRGB-0.7-udev.patch
+   "${FILESDIR}"/OpenRGB-0.7-json.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/, app-misc/openrgb/files/

2022-08-27 Thread Patrick McLean
commit: aef9f1c95eb175d285128d28aada26dc29d3f762
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Aug 22 23:43:14 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Aug 26 23:57:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef9f1c9

app-misc/openrgb: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/Manifest|  1 -
 app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch | 11 
 app-misc/openrgb/files/OpenRGB-0.6-plugins.patch | 24 
 app-misc/openrgb/openrgb-0.6-r1.ebuild   | 75 
 4 files changed, 111 deletions(-)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index 7b8c113774cc..2e2723147628 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1,2 +1 @@
-DIST OpenRGB-release_0.6.tar.bz2 24301305 BLAKE2B 
20d8f8f7a3189fd5f94b008b11c869d2a8584dc038322e4ac8649c7b57172637133dd18c05ed8eaa6907ba7c097280727a9e7ce2e676250146044bbc2d66921e
 SHA512 
9eb090e1cab121308f3adea8c50feb819a19cb52feff29e45ec24dfbb37013421f53d2ac614496781af1ef4e612dd41c1abafec509430df7d0715aba59ee5a32
 DIST OpenRGB-release_0.7.tar.bz2 28053114 BLAKE2B 
dfab42fca654478ab359e6e46133fc20a4bf32aca35d1b2f475d3e4e5e218f35c7e1f03be15381b0e8d874ea24254b88b8fe21548a4183b29b4c66647aeef516
 SHA512 
6ee605bfc91da14d34bc89fe75790f99548253e2d6aa088e20d1996577629bf15fe0fae09e65d983aa829f54cfcbd33e13f2c7d493a2776fd1723f8725b62186

diff --git a/app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch 
b/app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch
deleted file mode 100644
index 380b1091d225..
--- a/app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/OpenRGB.pro  2021-06-06 22:51:12.022561718 +0100
-+++ b/OpenRGB.pro  2021-06-06 22:51:24.466105358 +0100
-@@ -837,7 +837,7 @@ unix:!macx {
- # hidapi-hidraw >= 0.10.1 supports USAGE/USAGE_PAGE   
  #
- # Define USE_HID_USAGE if hidapi-hidraw supports it   
  #
- 
#---#
--HIDAPI_HIDRAW_VERSION = $$system(pkgconf --modversion hidapi-hidraw)
-+HIDAPI_HIDRAW_VERSION = $$system(pkg-config --modversion 
hidapi-hidraw)
- if(versionAtLeast(HIDAPI_HIDRAW_VERSION, "0.10.1")) {
- DEFINES += USE_HID_USAGE
- }

diff --git a/app-misc/openrgb/files/OpenRGB-0.6-plugins.patch 
b/app-misc/openrgb/files/OpenRGB-0.6-plugins.patch
deleted file mode 100644
index ccc83de27ebe..
--- a/app-misc/openrgb/files/OpenRGB-0.6-plugins.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Allow installation of plugins not only in ~/.config
-
-Used by app-misc/openrgb-plugin-* packages
-
-diff --git a/PluginManager.cpp b/PluginManager.cpp
-index b424b8b..991fb75 100644
 a/PluginManager.cpp
-+++ b/PluginManager.cpp
-@@ -15,7 +15,8 @@ void PluginManager::ScanAndLoadPlugins(bool dark_theme)
- 
\*--*/
- OpenRGBPluginInterface *OpenRGBPlugin = nullptr;
- 
--const QDir pluginsDir = 
QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/";
-+for (const QDir pluginsDir : 
{QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/",
-+  
QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
- 
- std::vector FileList;
- 
-@@ -54,4 +56,5 @@ void PluginManager::ScanAndLoadPlugins(bool dark_theme)
- std::cout << loader.errorString().toStdString() << std::endl;
- }
- }
-+}
- }

diff --git a/app-misc/openrgb/openrgb-0.6-r1.ebuild 
b/app-misc/openrgb/openrgb-0.6-r1.ebuild
deleted file mode 100644
index b53579dca202..
--- a/app-misc/openrgb/openrgb-0.6-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic qmake-utils
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
-   PATCHES=(
-   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
-   )
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-SLOT="0/1"
-
-RDEPEND="
-   dev-libs/hidapi:=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   

[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2022-08-27 Thread Patrick McLean
commit: bb4f98cc5b05989453b49ec45425d65fcb058b18
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Aug 22 23:44:44 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Aug 26 23:57:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4f98cc

app-misc/openrgb-plugin-skin: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest  |  1 -
 .../openrgb-plugin-skin-0_p20210601-r1.ebuild  | 46 --
 2 files changed, 47 deletions(-)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index 8e078750a974..bd96dd514474 100644
--- a/app-misc/openrgb-plugin-skin/Manifest
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -1,2 +1 @@
-DIST openrgbskinplugin-3d937cf5112a98052f98a106dc0f5de1eafc20ea.tar.bz2 14673 
BLAKE2B 
e9ba7e072882a995d9d37274e612f0ad404c369bafb4e59db379f43242873f08f36adc5521277c2bac4e730c35cde561e535e30e5a37155bfe0fa408d5ba3b45
 SHA512 
1a23b843230da6778079873949e72280efe46c6c015eb27456283bae5d88b539d8a5f69e6f1580400e1cfa746bcd36b6a1ae597f510b0c331d16f56b6ae28670
 DIST openrgbskinplugin-ebb80f7bd0e1efaa995f60454f3c049a4607bc3b.tar.bz2 22843 
BLAKE2B 
30c88b143b3df829c543744b20424df24bde9dda10f770fb78d653609111801a4d1d3fe16ed3e3c15ad953f41113db5d4da40bc66f7ec57418b2e934cd9a2e32
 SHA512 
a70c0157072b6b638a5a4f3f48f41c73f422d0ac356174479901cd3d088faf6fe96e594b2a39b15de305e0355fd0d252dafc4a30b9216d57058ad2cde7f5a3e3

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..
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2022-08-27 Thread Patrick McLean
commit: c81b75a3222eb657956dd0ef481a815bdce15377
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Aug 22 23:45:06 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Aug 26 23:57:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81b75a3

app-misc/openrgb-plugin-visualmap: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest |  1 -
 .../openrgb-plugin-visualmap-0_p20210614-r1.ebuild | 47 --
 2 files changed, 48 deletions(-)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
index 7f609a82812f..de0c1e193754 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1,2 +1 @@
 DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 
54289 BLAKE2B 
b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40
 SHA512 
eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e
-DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 
45381 BLAKE2B 
e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8
 SHA512 
aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild
 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild
deleted file mode 100644
index ea9e72c46ee5..
--- 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild
+++ /dev/null
@@ -1,47 +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="b603bb994719c765cc52c116c6f9f3983fc2a7b2"
-SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2;
-S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
-HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
-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
-   sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || 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 libOpenRGBVisualMapPlugin.so.1.0.0
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2022-08-27 Thread Patrick McLean
commit: 72363de5bcbfaf68d0bb852208101e98e2c73df1
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Mon Aug 22 23:44:25 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Aug 26 23:57:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72363de5

app-misc/openrgb-plugin-effects: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-effects/Manifest   |  1 -
 .../openrgb-plugin-effects-0_p20210619-r1.ebuild   | 47 --
 2 files changed, 48 deletions(-)

diff --git a/app-misc/openrgb-plugin-effects/Manifest 
b/app-misc/openrgb-plugin-effects/Manifest
index 55c32040a0ed..e5b66a3a5b73 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1,2 +1 @@
 DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 
255129 BLAKE2B 
8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0
 SHA512 
386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
-DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 
345726 BLAKE2B 
e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5
 SHA512 
134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild
deleted file mode 100644
index ed7bf2e31ea5..
--- 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild
+++ /dev/null
@@ -1,47 +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="a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504"
-SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2;
-S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
-HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="
-   =app-misc/openrgb-0.6*:=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   media-libs/openal
-"
-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 libOpenRGBEffectsPlugin.so.1.0
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2022-08-04 Thread Agostino Sarubbo
commit: d7fa37469c9466a2da4db83d2d0939aabb5bec3f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug  4 08:02:27 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug  4 08:02:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7fa3746

app-misc/openrgb: amd64 stable wrt bug #861791

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/openrgb/openrgb-0.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/openrgb/openrgb-0.7.ebuild 
b/app-misc/openrgb/openrgb-0.7.ebuild
index f9e079015112..bbc124653d95 100644
--- a/app-misc/openrgb/openrgb-0.7.ebuild
+++ b/app-misc/openrgb/openrgb-0.7.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == ** ]]; then
 else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
PATCHES=(
"${FILESDIR}"/OpenRGB-0.5-build-system.patch
)



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2022-08-04 Thread Agostino Sarubbo
commit: 292ae76e89a88ef1a6662ace05e9473fe72f1215
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug  4 08:02:31 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug  4 08:02:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292ae76e

app-misc/openrgb-plugin-effects: amd64 stable wrt bug #861791

Signed-off-by: Agostino Sarubbo  gentoo.org>

 .../openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
index 5694a120a94d..3df6ba0bd54b 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
@@ -8,7 +8,7 @@ inherit qmake-utils
 MY_GIT_COMMIT="a7222bdbcd3c52e13d96993a33c5648f1306aeba"
 
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2;
 S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2022-08-04 Thread Agostino Sarubbo
commit: 3d29c81d9906ee5620780da1989711e482b0a908
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug  4 08:02:34 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug  4 08:02:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d29c81d

app-misc/openrgb-plugin-skin: amd64 stable wrt bug #861791

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 16fd02edcd94..3e8d07f3bf37 100644
--- a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20211230.ebuild
@@ -8,7 +8,7 @@ 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"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel 
of OpenRGB"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2022-08-04 Thread Agostino Sarubbo
commit: fd9dfc53a8389ac08360471dce9b6fabd5b72791
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Aug  4 08:02:37 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Aug  4 08:02:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd9dfc53

app-misc/openrgb-plugin-visualmap: amd64 stable wrt bug #861791

Signed-off-by: Agostino Sarubbo  gentoo.org>

 .../openrgb-plugin-visualmap-0_p20211230.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
index b4e8d391271f..510983023278 100644
--- 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
+++ 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
@@ -8,7 +8,7 @@ inherit qmake-utils
 MY_GIT_COMMIT="223c5ec67d256c5fa3bf7f3d572213114d93db6e"
 
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2;
 S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
 HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2022-02-15 Thread Patrick McLean
commit: 4acf2bd6830bff90c510d1dae1e0c8c05f6b3b55
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Feb 15 22:00:20 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Feb 15 22:24:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acf2bd6

app-misc/openrgb-plugin-effects: depend on full gl

Closes: https://bugs.gentoo.org/831558
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/24204
Signed-off-by: Patrick McLean  gentoo.org>

 .../openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
index 0d8ec005a69c..5694a120a94d 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
@@ -18,8 +18,8 @@ SLOT="0"
 RDEPEND="
>=app-misc/openrgb-0.7:=
dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
+   dev-qt/qtgui:5[-gles2-only]
+   dev-qt/qtwidgets:5[-gles2-only]
media-libs/openal
 "
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2022-01-11 Thread Patrick McLean
commit: a2d5b681d92d9288c3631b76702c6e69f8a1c672
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Jan 11 21:49:26 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jan 11 22:15:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d5b681

app-misc/openrgb-plugin-visualmap: update to openrgb 0.7

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/23746
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest |  1 +
 app-misc/openrgb-plugin-visualmap/metadata.xml |  2 +-
 .../openrgb-plugin-visualmap-0_p20211230.ebuild| 45 ++
 3 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
index 1f301c65ac40..7f609a82812f 100644
--- a/app-misc/openrgb-plugin-visualmap/Manifest
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -1 +1,2 @@
+DIST OpenRGBVisualMapPlugin-223c5ec67d256c5fa3bf7f3d572213114d93db6e.tar.bz2 
54289 BLAKE2B 
b42b59fdc31f48d3e7be28051ccb02a2ba1befa1b1ed180a9313c8cbc50bad1c358ab5b4d8f249b488d5f32c801426078ef6c0c3c46dbec9695cb7b7cbf21d40
 SHA512 
eff52debcd027176a761fba71fb33d4a04802dd8f2441a86a825f3afecb268d2768edb8b03ec35ff2d17b5dc6f95dd0642e7d524fa7fcf93f0d215d712e75f3e
 DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 
45381 BLAKE2B 
e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8
 SHA512 
aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d

diff --git a/app-misc/openrgb-plugin-visualmap/metadata.xml 
b/app-misc/openrgb-plugin-visualmap/metadata.xml
index f804d71c1bb8..7fac73257faa 100644
--- a/app-misc/openrgb-plugin-visualmap/metadata.xml
+++ b/app-misc/openrgb-plugin-visualmap/metadata.xml
@@ -10,6 +10,6 @@
Alexey Sokolov


-   OpenRGBDevelopers/OpenRGBEffectsPlugin
+   OpenRGBDevelopers/OpenRGBVisualMapPlugin

 

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
new file mode 100644
index ..b4e8d391271f
--- /dev/null
+++ 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20211230.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+MY_GIT_COMMIT="223c5ec67d256c5fa3bf7f3d572213114d93db6e"
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2;
+S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin;
+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
+   sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || die
+}
+
+src_configure() {
+   eqmake5 \
+   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+   exeinto /usr/$(get_libdir)/OpenRGB/plugins
+   doexe libOpenRGBVisualMapPlugin.so.1.0.0
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2022-01-11 Thread Patrick McLean
commit: 967ac35dbd88e5b4c55c3d3e104e1f78c2fc8150
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Jan 11 21:43:54 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jan 11 22:15:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967ac35d

app-misc/openrgb: sync live

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/openrgb-.ebuild | 18 +++---
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index a3d6ddefcc41..f9e079015112 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic qmake-utils
 
@@ -20,10 +20,11 @@ fi
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
 HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
-SLOT="0/1"
+# subslot is OPENRGB_PLUGIN_API_VERSION from 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
+SLOT="0/2"
 
 RDEPEND="
-   dev-libs/hidapi:=
+   dev-libs/hidapi
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
@@ -40,6 +41,7 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.7-plugins.patch
+   "${FILESDIR}"/OpenRGB-0.7-udev.patch
 )
 
 src_prepare() {
@@ -65,11 +67,5 @@ src_install() {
 
# This is for plugins. Upstream doesn't install any headers at all.
insinto /usr/include/OpenRGB
-   doins *.h
-   insinto /usr/include/OpenRGB/RGBController
-   doins RGBController/*.h
-   insinto /usr/include/OpenRGB/i2c_smbus
-   doins i2c_smbus/*.h
-   insinto /usr/include/OpenRGB/net_port
-   doins net_port/*.h
+   find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" 
';' || die
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2022-01-11 Thread Patrick McLean
commit: 5be759e46625ccc5f76dfce36ef84de2de9c3ebf
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Jan 11 21:43:29 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jan 11 22:15:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be759e4

app-misc/openrgb: version 0.7

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/Manifest |  1 +
 app-misc/openrgb/files/OpenRGB-0.7-udev.patch | 16 ++
 app-misc/openrgb/openrgb-0.7.ebuild   | 71 +++
 3 files changed, 88 insertions(+)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index 319d0a7ed289..7b8c113774cc 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1 +1,2 @@
 DIST OpenRGB-release_0.6.tar.bz2 24301305 BLAKE2B 
20d8f8f7a3189fd5f94b008b11c869d2a8584dc038322e4ac8649c7b57172637133dd18c05ed8eaa6907ba7c097280727a9e7ce2e676250146044bbc2d66921e
 SHA512 
9eb090e1cab121308f3adea8c50feb819a19cb52feff29e45ec24dfbb37013421f53d2ac614496781af1ef4e612dd41c1abafec509430df7d0715aba59ee5a32
+DIST OpenRGB-release_0.7.tar.bz2 28053114 BLAKE2B 
dfab42fca654478ab359e6e46133fc20a4bf32aca35d1b2f475d3e4e5e218f35c7e1f03be15381b0e8d874ea24254b88b8fe21548a4183b29b4c66647aeef516
 SHA512 
6ee605bfc91da14d34bc89fe75790f99548253e2d6aa088e20d1996577629bf15fe0fae09e65d983aa829f54cfcbd33e13f2c7d493a2776fd1723f8725b62186

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-udev.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-udev.patch
new file mode 100644
index ..a2feaf1c9378
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.7-udev.patch
@@ -0,0 +1,16 @@
+Install udev rules to correct dir
+
+Revert 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/commit/ccbe83919a70be346eea948fb2c4122ef9f34214
+
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -1246,7 +1246,7 @@ unix:!macx {
+ icon.files+=qt/OpenRGB.png
+ metainfo.path=$$PREFIX/share/metainfo/
+ metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
++rules.path=/lib/udev/rules.d/
+-rules.path=$$PREFIX/lib/udev/rules.d/
+ rules.files+=60-openrgb.rules
+ INSTALLS += target desktop icon metainfo rules
+ }
+GitLab

diff --git a/app-misc/openrgb/openrgb-0.7.ebuild 
b/app-misc/openrgb/openrgb-0.7.ebuild
new file mode 100644
index ..f9e079015112
--- /dev/null
+++ b/app-misc/openrgb/openrgb-0.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic qmake-utils
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
+else
+   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
+   S="${WORKDIR}/OpenRGB-release_${PV}"
+   KEYWORDS="~amd64 ~x86"
+   PATCHES=(
+   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
+   )
+fi
+
+DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
+HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
+LICENSE="GPL-2"
+# subslot is OPENRGB_PLUGIN_API_VERSION from 
https://gitlab.com/CalcProgrammer1/OpenRGB/-/blob/master/OpenRGBPluginInterface.h
+SLOT="0/2"
+
+RDEPEND="
+   dev-libs/hidapi
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   net-libs/mbedtls:=
+   virtual/libusb:1
+"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/nlohmann_json
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+PATCHES+=(
+   "${FILESDIR}"/OpenRGB-0.7-plugins.patch
+   "${FILESDIR}"/OpenRGB-0.7-udev.patch
+)
+
+src_prepare() {
+   default
+   rm -r dependencies/{hidapi,libusb,json,mbedtls}* || die
+}
+
+src_configure() {
+   # Some plugins require symbols defined in the main binary.
+   # The official build system bundles OpenRGB as a submodule instead, and
+   # compiles the .cpp file again.
+   append-ldflags -Wl,--export-dynamic
+
+   eqmake5 \
+   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
+   
DEFINES+="GENTOO_PLUGINS_DIR=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
+}
+
+src_install() {
+   emake INSTALL_ROOT="${ED}" install
+
+   dodoc README.md OpenRGB.patch
+
+   # This is for plugins. Upstream doesn't install any headers at all.
+   insinto /usr/include/OpenRGB
+   find . -name '*.h' -exec cp --parents '{}' "${ED}/usr/include/OpenRGB/" 
';' || die
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2022-01-11 Thread Patrick McLean
commit: 257c8ada2bcb432dd034036678e24b83869f5c46
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Jan 11 21:48:11 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jan 11 22:15:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=257c8ada

app-misc/openrgb-plugin-skin: update to openrgb 0.7

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest  |  1 +
 app-misc/openrgb-plugin-skin/metadata.xml  |  2 +-
 .../openrgb-plugin-skin-0_p20211230.ebuild | 44 ++
 3 files changed, 46 insertions(+), 1 deletion(-)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
index 7e97f83b58c1..8e078750a974 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-ebb80f7bd0e1efaa995f60454f3c049a4607bc3b.tar.bz2 22843 
BLAKE2B 
30c88b143b3df829c543744b20424df24bde9dda10f770fb78d653609111801a4d1d3fe16ed3e3c15ad953f41113db5d4da40bc66f7ec57418b2e934cd9a2e32
 SHA512 
a70c0157072b6b638a5a4f3f48f41c73f422d0ac356174479901cd3d088faf6fe96e594b2a39b15de305e0355fd0d252dafc4a30b9216d57058ad2cde7f5a3e3

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 @@
Alexey Sokolov


-   OpenRGBDevelopers/openrgbskinplugin
+   OpenRGBDevelopers/OpenRGBSkinPlugin

 

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/files/, app-misc/openrgb-plugin-effects/

2022-01-11 Thread Patrick McLean
commit: 2b26584a7594b291b3e0e3a51691faa1a720afea
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Jan 11 21:46:46 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jan 11 22:15:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b26584a

app-misc/openrgb-plugin-effects: update to openrgb 0.7

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-effects/Manifest   |  1 +
 .../openrgb-plugin-effects-0_p20220110-dep.patch   | 16 +++
 .../openrgb-plugin-effects-0_p20220110.ebuild  | 49 ++
 3 files changed, 66 insertions(+)

diff --git a/app-misc/openrgb-plugin-effects/Manifest 
b/app-misc/openrgb-plugin-effects/Manifest
index b88ac276fe9e..55c32040a0ed 100644
--- a/app-misc/openrgb-plugin-effects/Manifest
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -1 +1,2 @@
+DIST OpenRGBEffectsPlugin-a7222bdbcd3c52e13d96993a33c5648f1306aeba.tar.bz2 
255129 BLAKE2B 
8fc7ee994d80bd9fe8d8a76e26710ed0fec429aa8df835f6a46a64d4034a4fc2352d722c9aed26032bff33781b1f024a893d685f6883e1816872d91cd937c1d0
 SHA512 
386879a7a1f05cfcbcca792add1b18f2680b4fa7b139f8532e6f32d09a5194c381357d3cbb3883352c2a03280c9b0b0f1e9faef7e140c7535144c0d645832d3e
 DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 
345726 BLAKE2B 
e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5
 SHA512 
134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f

diff --git 
a/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
 
b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
new file mode 100644
index ..7ab0f2ca75f9
--- /dev/null
+++ 
b/app-misc/openrgb-plugin-effects/files/openrgb-plugin-effects-0_p20220110-dep.patch
@@ -0,0 +1,16 @@
+Fix dependency on app-misc/openrgb
+
+--- a/OpenRGBEffectsPlugin.pro
 b/OpenRGBEffectsPlugin.pro
+@@ -64,11 +64,6 @@ HEADERS +=
+ OpenRGB/qt/hsv.h  
  \
+ 
+ 
+-SOURCES +=
  \
+-OpenRGB/RGBController/RGBController.cpp   
  \
+-OpenRGB/dependencies/ColorWheel/ColorWheel.cpp
  \
+-OpenRGB/qt/hsv.cpp
  \
+-
+ 
#---#
+ # QCodeEditor 
  #
+ 
#---#

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
new file mode 100644
index ..0d8ec005a69c
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20220110.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+MY_GIT_COMMIT="a7222bdbcd3c52e13d96993a33c5648f1306aeba"
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2;
+S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+   >=app-misc/openrgb-0.7:=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   media-libs/openal
+"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/nlohmann_json
+"
+
+PATCHES=(
+   "${FILESDIR}/openrgb-plugin-effects-0_p20220110-dep.patch"
+)
+
+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 libOpenRGBEffectsPlugin.so.1.0
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2021-09-21 Thread Patrick McLean
commit: 8236ce5cc2b9a7f00d1342da5d3e2504fa1b5101
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Sep 14 20:14:03 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 22 00:05:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8236ce5c

app-misc/openrgb: update live

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.7-plugins.patch | 24 
 app-misc/openrgb/openrgb-.ebuild |  3 +--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch 
b/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch
new file mode 100644
index 000..b9a6fb2cd16
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.7-plugins.patch
@@ -0,0 +1,24 @@
+Allow installation of plugins not only in ~/.config
+
+Used by app-misc/openrgb-plugin-* packages
+
+--- a/PluginManager.cpp
 b/PluginManager.cpp
+@@ -35,7 +35,8 @@ void PluginManager::ScanAndLoadPlugins()
+ | The plugins directory is a directory named "plugins" in   |
+ | the configuration directory   |
+ \*-*/
+-const QDir plugins_dir = 
QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/";
++for (const QDir plugins_dir : 
{QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/",
++   
QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
+ 
+ /*-*\
+ | Get a list of all files in the plugins directory  |
+@@ -56,6 +57,7 @@ void PluginManager::ScanAndLoadPlugins()
+ 
+ AddPlugin(plugin_path);
+ }
++}
+ }
+ 
+ void PluginManager::AddPlugin(std::string path)

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 9ea0dfa538f..a3d6ddefcc4 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -39,8 +39,7 @@ BDEPEND="
 "
 
 PATCHES+=(
-   "${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
-   "${FILESDIR}"/OpenRGB-0.6-plugins.patch
+   "${FILESDIR}"/OpenRGB-0.7-plugins.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2021-09-21 Thread Patrick McLean
commit: bed361b9aaf3ef583b5362d05f381d819ee72290
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Sep 14 20:14:19 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 22 00:05:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed361b9

app-misc/openrgb: drop 0.6-r0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/openrgb-0.6.ebuild | 57 -
 1 file changed, 57 deletions(-)

diff --git a/app-misc/openrgb/openrgb-0.6.ebuild 
b/app-misc/openrgb/openrgb-0.6.ebuild
deleted file mode 100644
index c356d7aff6f..000
--- a/app-misc/openrgb/openrgb-0.6.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
-   PATCHES=(
-   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
-   )
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="
-   dev-libs/hidapi:=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   virtual/libusb:1
-"
-DEPEND="
-   ${RDEPEND}
-   dev-cpp/nlohmann_json
-"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-PATCHES+=(
-   "${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
-)
-
-src_prepare() {
-   default
-   rm -r dependencies/{hidapi,libusb,json}* || die
-}
-
-src_configure() {
-   eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
-}
-
-src_install() {
-   emake INSTALL_ROOT="${ED}" install
-
-   dodoc README.md OpenRGB.patch
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2021-09-21 Thread Patrick McLean
commit: 9fc797f6d777eed80351c09d1f5e27dab4f2e131
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Sep 14 20:11:40 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 22 00:05:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fc797f6

app-misc/openrgb-plugin-skin: limit to openrgb 0.6

They changed plugin API in the upcoming new version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 ...kin-0_p20210601.ebuild => openrgb-plugin-skin-0_p20210601-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild 
b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601-r1.ebuild
similarity index 97%
rename from app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild
rename to app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601-r1.ebuild
index 82292356f05..84910baffe1 100644
--- a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601-r1.ebuild
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 RDEPEND="
-   >=app-misc/openrgb-0.6-r1:=
+   =app-misc/openrgb-0.6*:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2021-09-21 Thread Patrick McLean
commit: 93cb9b9d2ac4b5ce9cbf045db99923844e3d5011
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Sep 14 20:12:48 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 22 00:05:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93cb9b9d

app-misc/openrgb-plugin-effects: limit to openrgb 0.6

They changed plugin API in the upcoming new version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 ...-0_p20210619.ebuild => openrgb-plugin-effects-0_p20210619-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild
similarity index 97%
rename from 
app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
rename to 
app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild
index 3bf56003dd4..ed7bf2e31ea 100644
--- a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
+++ 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619-r1.ebuild
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 RDEPEND="
-   >=app-misc/openrgb-0.6-r1:=
+   =app-misc/openrgb-0.6*:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2021-09-21 Thread Patrick McLean
commit: a6cf12f05e44060de98387cd3ec43e498d7dc5d1
Author: Alexey Sokolov  asokolov  org>
AuthorDate: Tue Sep 14 20:13:24 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 22 00:05:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6cf12f0

app-misc/openrgb-plugin-visualmap: limit to openrgb 0.6

They changed plugin API in the upcoming new version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/22299
Signed-off-by: Patrick McLean  gentoo.org>

 ..._p20210614.ebuild => openrgb-plugin-visualmap-0_p20210614-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild
similarity index 97%
rename from 
app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild
rename to 
app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild
index c7569869352..ea9e72c46ee 100644
--- 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild
+++ 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614-r1.ebuild
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
 SLOT="0"
 
 RDEPEND="
-   >=app-misc/openrgb-0.6-r1:=
+   =app-misc/openrgb-0.6*:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-effects/

2021-06-22 Thread Patrick McLean
commit: 70a9cf0e2898f8690132155a8bfe34bdef564231
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:17:41 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 23:00:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70a9cf0e

app-misc/openrgb-plugin-effects: new package

https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/21379
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-effects/Manifest   |  1 +
 app-misc/openrgb-plugin-effects/metadata.xml   | 15 +++
 .../openrgb-plugin-effects-0_p20210619.ebuild  | 47 ++
 3 files changed, 63 insertions(+)

diff --git a/app-misc/openrgb-plugin-effects/Manifest 
b/app-misc/openrgb-plugin-effects/Manifest
new file mode 100644
index 000..b88ac276fe9
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/Manifest
@@ -0,0 +1 @@
+DIST OpenRGBEffectsPlugin-a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504.tar.bz2 
345726 BLAKE2B 
e8cf741ba935521c449d3b2a326a44b709c919cb3e3694cbd07939205b8f589dcc00b46cdb1f08684e4e4d3d0a798aade7c051ebc16c3c82368fbeb94ec84fb5
 SHA512 
134b46090386f94fcf77c4a0a1807ac94ecb8323f318e01098a1edf9b3cf555dbc7f1c5abce484dd4aba9cea32ae7aac5abc0f5f1d26e8edee4afe197f5a254f

diff --git a/app-misc/openrgb-plugin-effects/metadata.xml 
b/app-misc/openrgb-plugin-effects/metadata.xml
new file mode 100644
index 000..6a2173ad187
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   chutz...@gentoo.org
+   Patrick McLean
+   
+   
+   alexey+gen...@asokolov.org
+   Alexey Sokolov
+   
+   
+   OpenRGBDevelopers/OpenRGBEffectsPlugin
+   
+

diff --git 
a/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild 
b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
new file mode 100644
index 000..3bf56003dd4
--- /dev/null
+++ b/app-misc/openrgb-plugin-effects/openrgb-plugin-effects-0_p20210619.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+MY_GIT_COMMIT="a8ea7eef586d9dc341fbe67f60cb8cb4d69a9504"
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}.tar.bz2;
+S="${WORKDIR}/OpenRGBEffectsPlugin-${MY_GIT_COMMIT}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across 
devices"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+   >=app-misc/openrgb-0.6-r1:=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   media-libs/openal
+"
+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 libOpenRGBEffectsPlugin.so.1.0
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2021-06-22 Thread Patrick McLean
commit: 896d2c7a06b64854f45511d78088b8b660989b6b
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:19:12 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 23:00:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896d2c7a

app-misc/openrgb: update website

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/openrgb-0.6-r1.ebuild | 2 +-
 app-misc/openrgb/openrgb-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/openrgb/openrgb-0.6-r1.ebuild 
b/app-misc/openrgb/openrgb-0.6-r1.ebuild
index 9384eedb4eb..b53579dca20 100644
--- a/app-misc/openrgb/openrgb-0.6-r1.ebuild
+++ b/app-misc/openrgb/openrgb-0.6-r1.ebuild
@@ -18,7 +18,7 @@ else
 fi
 
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
 SLOT="0/1"
 

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index 853ad8e0414..9ea0dfa538f 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -18,7 +18,7 @@ else
 fi
 
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+HOMEPAGE="https://openrgb.org https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
 SLOT="0/1"
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, profiles/updates/, app-misc/openrgb/, app-misc/OpenRGB/, ...

2021-06-22 Thread Patrick McLean
commit: 216d3f17236a9ea06d9b3f6e8954629315717459
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:06:28 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 22:59:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216d3f17

app-misc/openrgb: rename from OpenRGB

For consistency with multiple other packages. Even the binary itself is
named with small letters now.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/{OpenRGB => openrgb}/Manifest| 0
 app-misc/{OpenRGB => openrgb}/files/OpenRGB-0.5-build-system.patch| 0
 app-misc/{OpenRGB => openrgb}/files/OpenRGB-0.6-pkgconf.patch | 0
 app-misc/{OpenRGB => openrgb}/metadata.xml| 0
 app-misc/{OpenRGB/OpenRGB-0.5.ebuild => openrgb/openrgb-0.5.ebuild}   | 2 +-
 app-misc/{OpenRGB/OpenRGB-0.6.ebuild => openrgb/openrgb-0.6.ebuild}   | 0
 app-misc/{OpenRGB/OpenRGB-.ebuild => openrgb/openrgb-.ebuild} | 0
 profiles/updates/2Q-2021  | 1 +
 8 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/openrgb/Manifest
similarity index 100%
rename from app-misc/OpenRGB/Manifest
rename to app-misc/openrgb/Manifest

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.5-build-system.patch 
b/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
similarity index 100%
rename from app-misc/OpenRGB/files/OpenRGB-0.5-build-system.patch
rename to app-misc/openrgb/files/OpenRGB-0.5-build-system.patch

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch 
b/app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch
similarity index 100%
rename from app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch
rename to app-misc/openrgb/files/OpenRGB-0.6-pkgconf.patch

diff --git a/app-misc/OpenRGB/metadata.xml b/app-misc/openrgb/metadata.xml
similarity index 100%
rename from app-misc/OpenRGB/metadata.xml
rename to app-misc/openrgb/metadata.xml

diff --git a/app-misc/OpenRGB/OpenRGB-0.5.ebuild 
b/app-misc/openrgb/openrgb-0.5.ebuild
similarity index 96%
rename from app-misc/OpenRGB/OpenRGB-0.5.ebuild
rename to app-misc/openrgb/openrgb-0.5.ebuild
index 6c5d8e23cd0..c96e46374ac 100644
--- a/app-misc/OpenRGB/OpenRGB-0.5.ebuild
+++ b/app-misc/openrgb/openrgb-0.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/app-misc/OpenRGB/OpenRGB-0.6.ebuild 
b/app-misc/openrgb/openrgb-0.6.ebuild
similarity index 100%
rename from app-misc/OpenRGB/OpenRGB-0.6.ebuild
rename to app-misc/openrgb/openrgb-0.6.ebuild

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
similarity index 100%
rename from app-misc/OpenRGB/OpenRGB-.ebuild
rename to app-misc/openrgb/openrgb-.ebuild

diff --git a/profiles/updates/2Q-2021 b/profiles/updates/2Q-2021
index a37b7d1d620..d47fc803402 100644
--- a/profiles/updates/2Q-2021
+++ b/profiles/updates/2Q-2021
@@ -5,3 +5,4 @@ move dev-util/robin-hood-hashing dev-cpp/robin-hood-hashing
 move dev-python/awscli app-admin/awscli
 move dev-util/dwarves dev-util/pahole
 move net-irc/oragono net-irc/ergo
+move app-misc/OpenRGB app-misc/openrgb



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-skin/

2021-06-22 Thread Patrick McLean
commit: 8cad25395e919a3905450e081e6c3e0f900c6858
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:16:04 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 23:00:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cad2539

app-misc/openrgb-plugin-skin: new package

https://gitlab.com/OpenRGBDevelopers/openrgbskinplugin

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-skin/Manifest  |  1 +
 app-misc/openrgb-plugin-skin/metadata.xml  | 15 +++
 .../openrgb-plugin-skin-0_p20210601.ebuild | 46 ++
 3 files changed, 62 insertions(+)

diff --git a/app-misc/openrgb-plugin-skin/Manifest 
b/app-misc/openrgb-plugin-skin/Manifest
new file mode 100644
index 000..7e97f83b58c
--- /dev/null
+++ b/app-misc/openrgb-plugin-skin/Manifest
@@ -0,0 +1 @@
+DIST openrgbskinplugin-3d937cf5112a98052f98a106dc0f5de1eafc20ea.tar.bz2 14673 
BLAKE2B 
e9ba7e072882a995d9d37274e612f0ad404c369bafb4e59db379f43242873f08f36adc5521277c2bac4e730c35cde561e535e30e5a37155bfe0fa408d5ba3b45
 SHA512 
1a23b843230da6778079873949e72280efe46c6c015eb27456283bae5d88b539d8a5f69e6f1580400e1cfa746bcd36b6a1ae597f510b0c331d16f56b6ae28670

diff --git a/app-misc/openrgb-plugin-skin/metadata.xml 
b/app-misc/openrgb-plugin-skin/metadata.xml
new file mode 100644
index 000..33a23a62059
--- /dev/null
+++ b/app-misc/openrgb-plugin-skin/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   chutz...@gentoo.org
+   Patrick McLean
+   
+   
+   alexey+gen...@asokolov.org
+   Alexey Sokolov
+   
+   
+   OpenRGBDevelopers/openrgbskinplugin
+   
+

diff --git 
a/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild 
b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild
new file mode 100644
index 000..82292356f05
--- /dev/null
+++ b/app-misc/openrgb-plugin-skin/openrgb-plugin-skin-0_p20210601.ebuild
@@ -0,0 +1,46 @@
+# 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-r1:=
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb-plugin-visualmap/

2021-06-22 Thread Patrick McLean
commit: efce5c2a024c846814fcff506088ef6a43b06ee8
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:17:01 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 23:00:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efce5c2a

app-misc/openrgb-plugin-visualmap: new package

https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb-plugin-visualmap/Manifest |  1 +
 app-misc/openrgb-plugin-visualmap/metadata.xml | 15 +++
 .../openrgb-plugin-visualmap-0_p20210614.ebuild| 47 ++
 3 files changed, 63 insertions(+)

diff --git a/app-misc/openrgb-plugin-visualmap/Manifest 
b/app-misc/openrgb-plugin-visualmap/Manifest
new file mode 100644
index 000..1f301c65ac4
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/Manifest
@@ -0,0 +1 @@
+DIST OpenRGBVisualMapPlugin-b603bb994719c765cc52c116c6f9f3983fc2a7b2.tar.bz2 
45381 BLAKE2B 
e289f952a8f6553ff81a557753cbb94fb56111a6724f3141fc44a2f1abe9fa3d8e8b4eb769b54adfcb8ee6580d26378ca0b15fd83c14eb669e4682dad07729b8
 SHA512 
aab553dff55bc4d6990657ad9f29dbbe5ab78dfb532dba50923b32c2bb86ced8d37fc1190dca1b59f420aba7f0db81fbd0d35d49e499e19b9efa4638269a784d

diff --git a/app-misc/openrgb-plugin-visualmap/metadata.xml 
b/app-misc/openrgb-plugin-visualmap/metadata.xml
new file mode 100644
index 000..6a2173ad187
--- /dev/null
+++ b/app-misc/openrgb-plugin-visualmap/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   chutz...@gentoo.org
+   Patrick McLean
+   
+   
+   alexey+gen...@asokolov.org
+   Alexey Sokolov
+   
+   
+   OpenRGBDevelopers/OpenRGBEffectsPlugin
+   
+

diff --git 
a/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild
new file mode 100644
index 000..c7569869352
--- /dev/null
+++ 
b/app-misc/openrgb-plugin-visualmap/openrgb-plugin-visualmap-0_p20210614.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+MY_GIT_COMMIT="b603bb994719c765cc52c116c6f9f3983fc2a7b2"
+SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/${MY_GIT_COMMIT}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}.tar.bz2;
+S="${WORKDIR}/OpenRGBVisualMapPlugin-${MY_GIT_COMMIT}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real 
ones"
+HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin;
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+   >=app-misc/openrgb-0.6-r1:=
+   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
+   sed -i -e '/RGBController.cpp/d' OpenRGBVisualMapPlugin.pro || 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 libOpenRGBVisualMapPlugin.so.1.0.0
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/

2021-06-22 Thread Patrick McLean
commit: 5a4647ab24f713d205193b5b98daea185623e6d9
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:08:47 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 23:00:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a4647ab

app-misc/openrgb: drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/Manifest   |  1 -
 app-misc/openrgb/openrgb-0.5.ebuild | 53 -
 2 files changed, 54 deletions(-)

diff --git a/app-misc/openrgb/Manifest b/app-misc/openrgb/Manifest
index dc65a0e68b1..319d0a7ed28 100644
--- a/app-misc/openrgb/Manifest
+++ b/app-misc/openrgb/Manifest
@@ -1,2 +1 @@
-DIST OpenRGB-release_0.5.tar.bz2 24183948 BLAKE2B 
c3e6eaab2224f97287a454375486cdacc6814f35fe6752271293d30110d066998d95a901224929cdec7f57a3983fa9d8f5dc488a2ccb6d128df36fac6bc4582a
 SHA512 
d0bd69de94e7e94b9972c07851602d8437b4485d02e83e2fe84f21292acbeef32624ec82d5cb79de85a4dfec35431c469b124b0cc41cf1f741e6e52803dd82eb
 DIST OpenRGB-release_0.6.tar.bz2 24301305 BLAKE2B 
20d8f8f7a3189fd5f94b008b11c869d2a8584dc038322e4ac8649c7b57172637133dd18c05ed8eaa6907ba7c097280727a9e7ce2e676250146044bbc2d66921e
 SHA512 
9eb090e1cab121308f3adea8c50feb819a19cb52feff29e45ec24dfbb37013421f53d2ac614496781af1ef4e612dd41c1abafec509430df7d0715aba59ee5a32

diff --git a/app-misc/openrgb/openrgb-0.5.ebuild 
b/app-misc/openrgb/openrgb-0.5.ebuild
deleted file mode 100644
index c96e46374ac..000
--- a/app-misc/openrgb/openrgb-0.5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-SLOT="0"
-
-RDEPEND="
-   dev-libs/hidapi:=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtwidgets:5
-   virtual/libusb:1
-"
-DEPEND="
-   ${RDEPEND}
-   dev-cpp/nlohmann_json
-"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-   rm -r dependencies/{hidapi,libusb,json}* || die
-   if [[ ${PV} != ** ]]; then
-   eapply "${FILESDIR}/OpenRGB-0.5-build-system.patch"
-   fi
-}
-
-src_configure() {
-   eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
-}
-
-src_install() {
-   emake INSTALL_ROOT="${ED}" install
-
-   dodoc README.md OpenRGB.patch
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/files/, app-misc/openrgb/

2021-06-22 Thread Patrick McLean
commit: 65aef5dafc07f7cadbf8d2a9817b9aa4425c294b
Author: Alexey Sokolov  google  com>
AuthorDate: Tue Jun 22 21:14:47 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun 22 23:00:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65aef5da

app-misc/openrgb: allow installing plugins

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.6-plugins.patch   | 24 +++
 .../{openrgb-.ebuild => openrgb-0.6-r1.ebuild} | 27 ++
 app-misc/openrgb/openrgb-.ebuild   | 24 ---
 3 files changed, 67 insertions(+), 8 deletions(-)

diff --git a/app-misc/openrgb/files/OpenRGB-0.6-plugins.patch 
b/app-misc/openrgb/files/OpenRGB-0.6-plugins.patch
new file mode 100644
index 000..ccc83de27eb
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.6-plugins.patch
@@ -0,0 +1,24 @@
+Allow installation of plugins not only in ~/.config
+
+Used by app-misc/openrgb-plugin-* packages
+
+diff --git a/PluginManager.cpp b/PluginManager.cpp
+index b424b8b..991fb75 100644
+--- a/PluginManager.cpp
 b/PluginManager.cpp
+@@ -15,7 +15,8 @@ void PluginManager::ScanAndLoadPlugins(bool dark_theme)
+ 
\*--*/
+ OpenRGBPluginInterface *OpenRGBPlugin = nullptr;
+ 
+-const QDir pluginsDir = 
QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/";
++for (const QDir pluginsDir : 
{QString().fromStdString(ResourceManager::get()->GetConfigurationDirectory()) + 
"plugins/",
++  
QString().fromStdString(GENTOO_PLUGINS_DIR)}) {
+ 
+ std::vector FileList;
+ 
+@@ -54,4 +56,5 @@ void PluginManager::ScanAndLoadPlugins(bool dark_theme)
+ std::cout << loader.errorString().toStdString() << std::endl;
+ }
+ }
++}
+ }

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-0.6-r1.ebuild
similarity index 55%
copy from app-misc/openrgb/openrgb-.ebuild
copy to app-misc/openrgb/openrgb-0.6-r1.ebuild
index c1f1eb4bbcb..9384eedb4eb 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-0.6-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit qmake-utils
+inherit flag-o-matic qmake-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -20,14 +20,13 @@ fi
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
 HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/1"
 
 RDEPEND="
dev-libs/hidapi:=
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
-   net-libs/mbedtls:=
virtual/libusb:1
 "
 DEPEND="
@@ -40,19 +39,37 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
+   "${FILESDIR}"/OpenRGB-0.6-plugins.patch
 )
 
 src_prepare() {
default
-   rm -r dependencies/{hidapi,libusb,json,mbedtls}* || die
+   rm -r dependencies/{hidapi,libusb,json}* || die
 }
 
 src_configure() {
-   eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+   # Some plugins require symbols defined in the main binary.
+   # The official build system bundles OpenRGB as a submodule instead, and
+   # compiles the .cpp file again.
+   append-ldflags -Wl,--export-dynamic
+
+   eqmake5 \
+   INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann" \
+   
DEFINES+="GENTOO_PLUGINS_DIR=\"\\\"${EPREFIX}/usr/$(get_libdir)/OpenRGB/plugins\"\\\""
 }
 
 src_install() {
emake INSTALL_ROOT="${ED}" install
 
dodoc README.md OpenRGB.patch
+
+   # This is for plugins. Upstream doesn't install any headers at all.
+   insinto /usr/include/OpenRGB
+   doins *.h
+   insinto /usr/include/OpenRGB/RGBController
+   doins RGBController/*.h
+   insinto /usr/include/OpenRGB/i2c_smbus
+   doins i2c_smbus/*.h
+   insinto /usr/include/OpenRGB/net_port
+   doins net_port/*.h
 }

diff --git a/app-misc/openrgb/openrgb-.ebuild 
b/app-misc/openrgb/openrgb-.ebuild
index c1f1eb4bbcb..853ad8e0414 100644
--- a/app-misc/openrgb/openrgb-.ebuild
+++ b/app-misc/openrgb/openrgb-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit qmake-utils
+inherit flag-o-matic qmake-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -20,7 +20,7 @@ fi
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
 HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/1"
 
 RDEPEND="
dev-libs/hidapi:=
@@ -40,6 +40,7 @@ BDEPEND="
 
 PATCHES+=(
"${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
+   "${FILESDIR}"/OpenRGB-0.6-plugins.patch
 )
 
 src_prepare() {
@@ -48,11 +49,28 @@ src_prepare() {
 }
 
 

[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/files/, app-misc/OpenRGB/

2021-06-08 Thread Patrick McLean
commit: e21bdc23df6be5ac3d1f907b815d2d837886172a
Author: Alexey Sokolov  google  com>
AuthorDate: Sun Jun  6 22:01:37 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun  8 23:13:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e21bdc23

app-misc/OpenRGB: version 0.6

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest|  1 +
 app-misc/OpenRGB/OpenRGB-0.6.ebuild  | 57 
 app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch | 11 +
 3 files changed, 69 insertions(+)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index c2ca31416fa..a27eaef18df 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1,2 +1,3 @@
 DIST OpenRGB-release_0.4.tar.bz2 2195819 BLAKE2B 
6416e143707e5ae48d0f26d205e1cc27571299d7d4b8483d18cc03db237d71ebc3574973fc1540dacc24662c536888e575e89db417e52dc9672d412fe41c540b
 SHA512 
9ecdf0a0aec5916b1c705c1ad0bd567f46f9b0a4409211cb195ec7a4bfbc95c80bde13798839d23e867ed613cb34c6e9629da4aac942490f58ca9528f5f0a8bd
 DIST OpenRGB-release_0.5.tar.bz2 24183948 BLAKE2B 
c3e6eaab2224f97287a454375486cdacc6814f35fe6752271293d30110d066998d95a901224929cdec7f57a3983fa9d8f5dc488a2ccb6d128df36fac6bc4582a
 SHA512 
d0bd69de94e7e94b9972c07851602d8437b4485d02e83e2fe84f21292acbeef32624ec82d5cb79de85a4dfec35431c469b124b0cc41cf1f741e6e52803dd82eb
+DIST OpenRGB-release_0.6.tar.bz2 24301305 BLAKE2B 
20d8f8f7a3189fd5f94b008b11c869d2a8584dc038322e4ac8649c7b57172637133dd18c05ed8eaa6907ba7c097280727a9e7ce2e676250146044bbc2d66921e
 SHA512 
9eb090e1cab121308f3adea8c50feb819a19cb52feff29e45ec24dfbb37013421f53d2ac614496781af1ef4e612dd41c1abafec509430df7d0715aba59ee5a32

diff --git a/app-misc/OpenRGB/OpenRGB-0.6.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.6.ebuild
new file mode 100644
index 000..c356d7aff6f
--- /dev/null
+++ b/app-misc/OpenRGB/OpenRGB-0.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
+else
+   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
+   S="${WORKDIR}/OpenRGB-release_${PV}"
+   KEYWORDS="~amd64 ~x86"
+   PATCHES=(
+   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
+   )
+fi
+
+DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
+HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+   dev-libs/hidapi:=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
+   virtual/libusb:1
+"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/nlohmann_json
+"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+PATCHES+=(
+   "${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
+)
+
+src_prepare() {
+   default
+   rm -r dependencies/{hidapi,libusb,json}* || die
+}
+
+src_configure() {
+   eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
+}
+
+src_install() {
+   emake INSTALL_ROOT="${ED}" install
+
+   dodoc README.md OpenRGB.patch
+}

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch
new file mode 100644
index 000..380b1091d22
--- /dev/null
+++ b/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch
@@ -0,0 +1,11 @@
+--- a/OpenRGB.pro  2021-06-06 22:51:12.022561718 +0100
 b/OpenRGB.pro  2021-06-06 22:51:24.466105358 +0100
+@@ -837,7 +837,7 @@ unix:!macx {
+ # hidapi-hidraw >= 0.10.1 supports USAGE/USAGE_PAGE   
  #
+ # Define USE_HID_USAGE if hidapi-hidraw supports it   
  #
+ 
#---#
+-HIDAPI_HIDRAW_VERSION = $$system(pkgconf --modversion hidapi-hidraw)
++HIDAPI_HIDRAW_VERSION = $$system(pkg-config --modversion 
hidapi-hidraw)
+ if(versionAtLeast(HIDAPI_HIDRAW_VERSION, "0.10.1")) {
+ DEFINES += USE_HID_USAGE
+ }



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2021-06-08 Thread Patrick McLean
commit: 2cf450c9306a99618af5dd566bb5966e2eac8bc3
Author: Alexey Sokolov  google  com>
AuthorDate: Sun Jun  6 22:12:08 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun  8 23:13:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf450c9

app-misc/OpenRGB: update 

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/21145
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/OpenRGB-.ebuild | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-.ebuild
index 6c5d8e23cd0..c1f1eb4bbcb 100644
--- a/app-misc/OpenRGB/OpenRGB-.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,6 +12,9 @@ else

SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
S="${WORKDIR}/OpenRGB-release_${PV}"
KEYWORDS="~amd64 ~x86"
+   PATCHES=(
+   "${FILESDIR}"/OpenRGB-0.5-build-system.patch
+   )
 fi
 
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
@@ -24,6 +27,7 @@ RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
+   net-libs/mbedtls:=
virtual/libusb:1
 "
 DEPEND="
@@ -34,12 +38,13 @@ BDEPEND="
virtual/pkgconfig
 "
 
+PATCHES+=(
+   "${FILESDIR}"/OpenRGB-0.6-pkgconf.patch
+)
+
 src_prepare() {
default
-   rm -r dependencies/{hidapi,libusb,json}* || die
-   if [[ ${PV} != ** ]]; then
-   eapply "${FILESDIR}/OpenRGB-0.5-build-system.patch"
-   fi
+   rm -r dependencies/{hidapi,libusb,json,mbedtls}* || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/files/, app-misc/OpenRGB/

2021-06-08 Thread Patrick McLean
commit: 90cb6442d37818758cf71ad7460c3bd6a57da475
Author: Alexey Sokolov  google  com>
AuthorDate: Sun Jun  6 22:02:16 2021 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jun  8 23:13:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90cb6442

app-misc/OpenRGB: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest  |  1 -
 app-misc/OpenRGB/OpenRGB-0.4.ebuild| 55 --
 .../OpenRGB/files/OpenRGB-0.2-build-system.patch   | 14 --
 3 files changed, 70 deletions(-)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index a27eaef18df..dc65a0e68b1 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1,3 +1,2 @@
-DIST OpenRGB-release_0.4.tar.bz2 2195819 BLAKE2B 
6416e143707e5ae48d0f26d205e1cc27571299d7d4b8483d18cc03db237d71ebc3574973fc1540dacc24662c536888e575e89db417e52dc9672d412fe41c540b
 SHA512 
9ecdf0a0aec5916b1c705c1ad0bd567f46f9b0a4409211cb195ec7a4bfbc95c80bde13798839d23e867ed613cb34c6e9629da4aac942490f58ca9528f5f0a8bd
 DIST OpenRGB-release_0.5.tar.bz2 24183948 BLAKE2B 
c3e6eaab2224f97287a454375486cdacc6814f35fe6752271293d30110d066998d95a901224929cdec7f57a3983fa9d8f5dc488a2ccb6d128df36fac6bc4582a
 SHA512 
d0bd69de94e7e94b9972c07851602d8437b4485d02e83e2fe84f21292acbeef32624ec82d5cb79de85a4dfec35431c469b124b0cc41cf1f741e6e52803dd82eb
 DIST OpenRGB-release_0.6.tar.bz2 24301305 BLAKE2B 
20d8f8f7a3189fd5f94b008b11c869d2a8584dc038322e4ac8649c7b57172637133dd18c05ed8eaa6907ba7c097280727a9e7ce2e676250146044bbc2d66921e
 SHA512 
9eb090e1cab121308f3adea8c50feb819a19cb52feff29e45ec24dfbb37013421f53d2ac614496781af1ef4e612dd41c1abafec509430df7d0715aba59ee5a32

diff --git a/app-misc/OpenRGB/OpenRGB-0.4.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.4.ebuild
deleted file mode 100644
index f8119c80c91..000
--- a/app-misc/OpenRGB/OpenRGB-0.4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils udev
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="udev"
-
-DEPEND="
-   dev-libs/hidapi:=
-   dev-qt/qtcore:5=
-   dev-qt/qtgui:5=
-   dev-qt/qtwidgets:5=
-   virtual/libusb:1
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-src_prepare() {
-   default
-   rm -rf dependencies/{hidapi,libusb}* || die
-   if [[ ${PV} != ** ]]; then
-   eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
-   fi
-}
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake INSTALL_ROOT="${ED}" install
-
-   dodoc README.md OpenRGB.patch
-
-   if use udev; then
-   udev_dorules 60-openrgb.rules
-   fi
-}

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-build-system.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.2-build-system.patch
deleted file mode 100644
index b2cd6cbd1d5..000
--- a/app-misc/OpenRGB/files/OpenRGB-0.2-build-system.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index 91e0079..7f279dd 100644
 a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -8,9 +8,6 @@ TEMPLATE = app
- VERSION = 0.2
- win32:BUILDDATE = $$system(date /t)
- unix:BUILDDATE  = $$system(date -R)
--GIT_COMMIT_ID   = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse HEAD)
--GIT_COMMIT_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ show -s --format=%ci HEAD)
--GIT_BRANCH  = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse --abbrev-ref HEAD)
- 
- DEFINES +=  \
- VERSION_STRING=\\"\"\"$$VERSION\\"\"\"  \



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/, app-misc/OpenRGB/files/

2020-12-11 Thread Patrick McLean
commit: b55e4172724289ad70018689f7af10fb0e7d4b6c
Author: Alexey Sokolov  google  com>
AuthorDate: Fri Dec 11 15:04:32 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Dec 11 18:36:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55e4172

app-misc/OpenRGB: version 0.5

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/18609
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest   |  1 +
 .../OpenRGB/{OpenRGB-.ebuild => OpenRGB-0.5.ebuild} |  9 ++---
 app-misc/OpenRGB/OpenRGB-.ebuild|  9 ++---
 app-misc/OpenRGB/files/OpenRGB-0.5-build-system.patch   | 13 +
 4 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index be8a7c45393..c2ca31416fa 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1 +1,2 @@
 DIST OpenRGB-release_0.4.tar.bz2 2195819 BLAKE2B 
6416e143707e5ae48d0f26d205e1cc27571299d7d4b8483d18cc03db237d71ebc3574973fc1540dacc24662c536888e575e89db417e52dc9672d412fe41c540b
 SHA512 
9ecdf0a0aec5916b1c705c1ad0bd567f46f9b0a4409211cb195ec7a4bfbc95c80bde13798839d23e867ed613cb34c6e9629da4aac942490f58ca9528f5f0a8bd
+DIST OpenRGB-release_0.5.tar.bz2 24183948 BLAKE2B 
c3e6eaab2224f97287a454375486cdacc6814f35fe6752271293d30110d066998d95a901224929cdec7f57a3983fa9d8f5dc488a2ccb6d128df36fac6bc4582a
 SHA512 
d0bd69de94e7e94b9972c07851602d8437b4485d02e83e2fe84f21292acbeef32624ec82d5cb79de85a4dfec35431c469b124b0cc41cf1f741e6e52803dd82eb

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.5.ebuild
similarity index 87%
copy from app-misc/OpenRGB/OpenRGB-.ebuild
copy to app-misc/OpenRGB/OpenRGB-0.5.ebuild
index 1499b76f727..6c5d8e23cd0 100644
--- a/app-misc/OpenRGB/OpenRGB-.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-0.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit qmake-utils udev
+inherit qmake-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -18,7 +18,6 @@ DESCRIPTION="Open source RGB lighting control that doesn't 
depend on manufacture
 HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="udev"
 
 RDEPEND="
dev-libs/hidapi:=
@@ -39,7 +38,7 @@ src_prepare() {
default
rm -r dependencies/{hidapi,libusb,json}* || die
if [[ ${PV} != ** ]]; then
-   eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+   eapply "${FILESDIR}/OpenRGB-0.5-build-system.patch"
fi
 }
 
@@ -51,8 +50,4 @@ src_install() {
emake INSTALL_ROOT="${ED}" install
 
dodoc README.md OpenRGB.patch
-
-   if use udev; then
-   udev_dorules 60-openrgb.rules
-   fi
 }

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-.ebuild
index 1499b76f727..6c5d8e23cd0 100644
--- a/app-misc/OpenRGB/OpenRGB-.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit qmake-utils udev
+inherit qmake-utils
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -18,7 +18,6 @@ DESCRIPTION="Open source RGB lighting control that doesn't 
depend on manufacture
 HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="udev"
 
 RDEPEND="
dev-libs/hidapi:=
@@ -39,7 +38,7 @@ src_prepare() {
default
rm -r dependencies/{hidapi,libusb,json}* || die
if [[ ${PV} != ** ]]; then
-   eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+   eapply "${FILESDIR}/OpenRGB-0.5-build-system.patch"
fi
 }
 
@@ -51,8 +50,4 @@ src_install() {
emake INSTALL_ROOT="${ED}" install
 
dodoc README.md OpenRGB.patch
-
-   if use udev; then
-   udev_dorules 60-openrgb.rules
-   fi
 }

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.5-build-system.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.5-build-system.patch
new file mode 100644
index 000..fe805988af5
--- /dev/null
+++ b/app-misc/OpenRGB/files/OpenRGB-0.5-build-system.patch
@@ -0,0 +1,13 @@
+diff --git a/OpenRGB.pro b/OpenRGB.pro
+index 91e0079..7f279dd 100644
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -26,8 +26,5 @@ TEMPLATE = app
+ win32:BUILDDATE = $$system(date /t)
+ unix:BUILDDATE  = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
+-GIT_COMMIT_ID   = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse HEAD)
+-GIT_COMMIT_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ show -s --format=%ci HEAD)
+-GIT_BRANCH  = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse --abbrev-ref HEAD)
+ 
+ DEFINES +=  \
+ VERSION_STRING=\\"\"\"$$VERSION\\"\"\"   

[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-11-19 Thread Patrick McLean
commit: 544bea04a2b05e6802cc4241e941ce474a9be762
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Oct 17 21:12:30 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Nov 19 23:50:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=544bea04

app-misc/OpenRGB: drop 0.3-r3

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest  |  1 -
 app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild | 56 --
 2 files changed, 57 deletions(-)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index b0e97bdac96..be8a7c45393 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1,2 +1 @@
-DIST OpenRGB-release_0.3.tar.bz2 2146596 BLAKE2B 
fc9228d8746770440b7d6bace1a858fed6e2b2db63b84f0e403352e1bd46dd594f24d929da447acdeee22a08a9e2e5394a58107643630c5e38c9780fd02bf2f4
 SHA512 
53924f315fd6f35ed8530798ed5fadd6171a0e896567173e95c9ac258cfc959db6d920730e606f9fceb9d360c9c87709d65e12ba00652f500d6c2f39506c9a44
 DIST OpenRGB-release_0.4.tar.bz2 2195819 BLAKE2B 
6416e143707e5ae48d0f26d205e1cc27571299d7d4b8483d18cc03db237d71ebc3574973fc1540dacc24662c536888e575e89db417e52dc9672d412fe41c540b
 SHA512 
9ecdf0a0aec5916b1c705c1ad0bd567f46f9b0a4409211cb195ec7a4bfbc95c80bde13798839d23e867ed613cb34c6e9629da4aac942490f58ca9528f5f0a8bd

diff --git a/app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild
deleted file mode 100644
index 53974fb6573..000
--- a/app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils udev
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
-else
-   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
-   S="${WORKDIR}/OpenRGB-release_${PV}"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="udev"
-
-DEPEND="
-   dev-libs/hidapi:=
-   dev-qt/qtcore:5=
-   dev-qt/qtgui:5=
-   dev-qt/qtwidgets:5=
-   virtual/libusb:1
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}/OpenRGB-0.2-build-system.patch"
-)
-
-src_prepare() {
-   default
-   rm -rf dependencies/{hidapi,libusb}* || die
-}
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake INSTALL_ROOT="${ED}" install
-
-   dodoc README.md OpenRGB.patch
-
-   if use udev; then
-   udev_dorules 60-openrgb.rules
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-11-19 Thread Patrick McLean
commit: 4ff5a4e5f610593f587bab913ef161528ea4c955
Author: Alexey Sokolov  google  com>
AuthorDate: Sun Nov 15 11:10:48 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Nov 19 23:50:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff5a4e5

app-misc/OpenRGB: : add dep on dev-cpp/nlohmann_json

Qt is used without its private parts, so remove subslot dep

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17960
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/OpenRGB-.ebuild | 17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-.ebuild
index f8119c80c91..1499b76f727 100644
--- a/app-misc/OpenRGB/OpenRGB-.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-.ebuild
@@ -20,28 +20,31 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="udev"
 
-DEPEND="
+RDEPEND="
dev-libs/hidapi:=
-   dev-qt/qtcore:5=
-   dev-qt/qtgui:5=
-   dev-qt/qtwidgets:5=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtwidgets:5
virtual/libusb:1
 "
-RDEPEND="${DEPEND}"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/nlohmann_json
+"
 BDEPEND="
virtual/pkgconfig
 "
 
 src_prepare() {
default
-   rm -rf dependencies/{hidapi,libusb}* || die
+   rm -r dependencies/{hidapi,libusb,json}* || die
if [[ ${PV} != ** ]]; then
eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
fi
 }
 
 src_configure() {
-   eqmake5
+   eqmake5 INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-09-15 Thread Patrick McLean
commit: de12598ec26dc53579faa3f14b669441c738db03
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Aug 29 19:07:40 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 16 02:54:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de12598e

app-misc/OpenRGB: add upstream

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-misc/OpenRGB/metadata.xml b/app-misc/OpenRGB/metadata.xml
index d481584b51e..54b4f43faa0 100644
--- a/app-misc/OpenRGB/metadata.xml
+++ b/app-misc/OpenRGB/metadata.xml
@@ -9,4 +9,7 @@
alexey+gen...@asokolov.org
Alexey Sokolov

+   
+   CalcProgrammer1/OpenRGB
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-09-15 Thread Patrick McLean
commit: b77c9b4b4084f1cfd93441c3b40f06a8cc905862
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Aug 29 19:08:21 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 16 02:54:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b77c9b4b

app-misc/OpenRGB: drop old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest  |  1 -
 app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild | 56 --
 2 files changed, 57 deletions(-)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index 459f45eae2a..54fa4556ab5 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1,2 +1 @@
-DIST OpenRGB-0.3.tar.bz2 2153970 BLAKE2B 
2b913fd867cfd2d856d70d15ec91abd6a6d2822b367bc72f8f4275784793474beab4f442bc1af0ec3c3f33630b2f6b09d490d4f326fa4dbc4dbe11e4944cbc6f
 SHA512 
629eb654636051b18da0f49cccf4e35dbe11a1373941cd355b27492b8382c113637d80039fa7aa749ae3f36bf838ad4da8da00f5abf5a0b8910be0ad1ecd999c
 DIST OpenRGB-release_0.3.tar.bz2 2146596 BLAKE2B 
fc9228d8746770440b7d6bace1a858fed6e2b2db63b84f0e403352e1bd46dd594f24d929da447acdeee22a08a9e2e5394a58107643630c5e38c9780fd02bf2f4
 SHA512 
53924f315fd6f35ed8530798ed5fadd6171a0e896567173e95c9ac258cfc959db6d920730e606f9fceb9d360c9c87709d65e12ba00652f500d6c2f39506c9a44

diff --git a/app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild
deleted file mode 100644
index 9f8cacca569..000
--- a/app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit qmake-utils
-
-MY_P="${PN}-release_${PV}"
-COMMIT_HASH="308bb6f9b8169c8e1c5123f9499373509f140268"
-
-DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
-HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
-SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/${P}.tar.bz2;
-S="${WORKDIR}/${MY_P}-${COMMIT_HASH}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="udev"
-
-DEPEND="
-   dev-libs/hidapi:=
-   dev-libs/libbsd:=
-   dev-qt/qtcore:5=
-   dev-qt/qtgui:5=
-   dev-qt/qtwidgets:5=
-   virtual/libusb:1
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}/OpenRGB-0.2-build-system.patch"
-)
-
-src_prepare() {
-   default
-   rm -rf dependencies/{hidapi,libusb}* || die
-}
-
-src_configure() {
-   eqmake5
-}
-
-src_install() {
-   emake INSTALL_ROOT="${D}" install
-
-   dodoc README.md OpenRGB.patch
-
-   if use udev; then
-   insinto /lib/udev/rules.d
-   doins 60-openrgb.rules
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-09-15 Thread Patrick McLean
commit: 1634183b8e7d5150365a88e7de4cacb8eb50edd7
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Sep 12 21:40:33 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Sep 16 02:54:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1634183b

app-misc/OpenRGB: 0.4

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17515
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest   |  1 +
 app-misc/OpenRGB/OpenRGB-0.4.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index 54fa4556ab5..b0e97bdac96 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1 +1,2 @@
 DIST OpenRGB-release_0.3.tar.bz2 2146596 BLAKE2B 
fc9228d8746770440b7d6bace1a858fed6e2b2db63b84f0e403352e1bd46dd594f24d929da447acdeee22a08a9e2e5394a58107643630c5e38c9780fd02bf2f4
 SHA512 
53924f315fd6f35ed8530798ed5fadd6171a0e896567173e95c9ac258cfc959db6d920730e606f9fceb9d360c9c87709d65e12ba00652f500d6c2f39506c9a44
+DIST OpenRGB-release_0.4.tar.bz2 2195819 BLAKE2B 
6416e143707e5ae48d0f26d205e1cc27571299d7d4b8483d18cc03db237d71ebc3574973fc1540dacc24662c536888e575e89db417e52dc9672d412fe41c540b
 SHA512 
9ecdf0a0aec5916b1c705c1ad0bd567f46f9b0a4409211cb195ec7a4bfbc95c80bde13798839d23e867ed613cb34c6e9629da4aac942490f58ca9528f5f0a8bd

diff --git a/app-misc/OpenRGB/OpenRGB-0.4.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.4.ebuild
new file mode 100644
index 000..f8119c80c91
--- /dev/null
+++ b/app-misc/OpenRGB/OpenRGB-0.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils udev
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
+else
+   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
+   S="${WORKDIR}/OpenRGB-release_${PV}"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
+HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="udev"
+
+DEPEND="
+   dev-libs/hidapi:=
+   dev-qt/qtcore:5=
+   dev-qt/qtgui:5=
+   dev-qt/qtwidgets:5=
+   virtual/libusb:1
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   default
+   rm -rf dependencies/{hidapi,libusb}* || die
+   if [[ ${PV} != ** ]]; then
+   eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+   fi
+}
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake INSTALL_ROOT="${ED}" install
+
+   dodoc README.md OpenRGB.patch
+
+   if use udev; then
+   udev_dorules 60-openrgb.rules
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-08-27 Thread Patrick McLean
commit: aa27207649eb26b5c9eccc85ab85a79a041f1ebf
Author: Alexey Sokolov  google  com>
AuthorDate: Thu Aug 27 22:10:34 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Aug 27 22:17:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa272076

app-misc/OpenRGB: don't remove git commit from 

The hash is shown in the Information/Software tab in UI

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/OpenRGB-.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-.ebuild
index 53974fb6573..f8119c80c91 100644
--- a/app-misc/OpenRGB/OpenRGB-.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-.ebuild
@@ -32,13 +32,12 @@ BDEPEND="
virtual/pkgconfig
 "
 
-PATCHES=(
-   "${FILESDIR}/OpenRGB-0.2-build-system.patch"
-)
-
 src_prepare() {
default
rm -rf dependencies/{hidapi,libusb}* || die
+   if [[ ${PV} != ** ]]; then
+   eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+   fi
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-08-27 Thread Patrick McLean
commit: 7ebb873ea78d8f17b2073e53e0a97d8e95d4c631
Author: Alexey Sokolov  google  com>
AuthorDate: Thu Aug 27 22:07:49 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Aug 27 22:17:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebb873e

app-misc/OpenRGB: drop libbsd dependency

it's unused

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/{OpenRGB-0.3-r2.ebuild => OpenRGB-0.3-r3.ebuild} | 1 -
 app-misc/OpenRGB/OpenRGB-.ebuild  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild
similarity index 98%
rename from app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild
rename to app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild
index c599eb22729..53974fb6573 100644
--- a/app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-0.3-r3.ebuild
@@ -22,7 +22,6 @@ IUSE="udev"
 
 DEPEND="
dev-libs/hidapi:=
-   dev-libs/libbsd:=
dev-qt/qtcore:5=
dev-qt/qtgui:5=
dev-qt/qtwidgets:5=

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-.ebuild
index c599eb22729..53974fb6573 100644
--- a/app-misc/OpenRGB/OpenRGB-.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-.ebuild
@@ -22,7 +22,6 @@ IUSE="udev"
 
 DEPEND="
dev-libs/hidapi:=
-   dev-libs/libbsd:=
dev-qt/qtcore:5=
dev-qt/qtgui:5=
dev-qt/qtwidgets:5=



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-08-27 Thread Patrick McLean
commit: 7335fcf28e95066b57f1c60daefde16354a9c11b
Author: Alexey Sokolov  google  com>
AuthorDate: Thu Aug 27 22:11:29 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Aug 27 22:17:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7335fcf2

app-misc/OpenRGB: Add me to maintainers

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://bugs.gentoo.org/738172
Closes: https://github.com/gentoo/gentoo/pull/17288
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/app-misc/OpenRGB/metadata.xml b/app-misc/OpenRGB/metadata.xml
index cee379b1540..d481584b51e 100644
--- a/app-misc/OpenRGB/metadata.xml
+++ b/app-misc/OpenRGB/metadata.xml
@@ -5,4 +5,8 @@
chutz...@gentoo.org
Patrick McLean

+   
+   alexey+gen...@asokolov.org
+   Alexey Sokolov
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-08-27 Thread Patrick McLean
commit: 1461450a8b3b976c387e93724e249ffad46245c4
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Aug 15 00:07:17 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Thu Aug 27 21:25:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1461450a

app-misc/OpenRGB: add improvements from my overlay

* fix installation on Prefix
* use release tarball instead of snapshot
* use udev eclass
* add live ebuild

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alexey Sokolov  asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17124
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest  |  1 +
 app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild | 57 ++
 app-misc/OpenRGB/OpenRGB-.ebuild   | 57 ++
 3 files changed, 115 insertions(+)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index 436a2c36c15..459f45eae2a 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1 +1,2 @@
 DIST OpenRGB-0.3.tar.bz2 2153970 BLAKE2B 
2b913fd867cfd2d856d70d15ec91abd6a6d2822b367bc72f8f4275784793474beab4f442bc1af0ec3c3f33630b2f6b09d490d4f326fa4dbc4dbe11e4944cbc6f
 SHA512 
629eb654636051b18da0f49cccf4e35dbe11a1373941cd355b27492b8382c113637d80039fa7aa749ae3f36bf838ad4da8da00f5abf5a0b8910be0ad1ecd999c
+DIST OpenRGB-release_0.3.tar.bz2 2146596 BLAKE2B 
fc9228d8746770440b7d6bace1a858fed6e2b2db63b84f0e403352e1bd46dd594f24d929da447acdeee22a08a9e2e5394a58107643630c5e38c9780fd02bf2f4
 SHA512 
53924f315fd6f35ed8530798ed5fadd6171a0e896567173e95c9ac258cfc959db6d920730e606f9fceb9d360c9c87709d65e12ba00652f500d6c2f39506c9a44

diff --git a/app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild
new file mode 100644
index 000..c599eb22729
--- /dev/null
+++ b/app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils udev
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
+else
+   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
+   S="${WORKDIR}/OpenRGB-release_${PV}"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
+HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="udev"
+
+DEPEND="
+   dev-libs/hidapi:=
+   dev-libs/libbsd:=
+   dev-qt/qtcore:5=
+   dev-qt/qtgui:5=
+   dev-qt/qtwidgets:5=
+   virtual/libusb:1
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+)
+
+src_prepare() {
+   default
+   rm -rf dependencies/{hidapi,libusb}* || die
+}
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake INSTALL_ROOT="${ED}" install
+
+   dodoc README.md OpenRGB.patch
+
+   if use udev; then
+   udev_dorules 60-openrgb.rules
+   fi
+}

diff --git a/app-misc/OpenRGB/OpenRGB-.ebuild 
b/app-misc/OpenRGB/OpenRGB-.ebuild
new file mode 100644
index 000..c599eb22729
--- /dev/null
+++ b/app-misc/OpenRGB/OpenRGB-.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit qmake-utils udev
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://gitlab.com/CalcProgrammer1/OpenRGB"}
+else
+   
SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/OpenRGB-release_${PV}.tar.bz2;
+   S="${WORKDIR}/OpenRGB-release_${PV}"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
+HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="udev"
+
+DEPEND="
+   dev-libs/hidapi:=
+   dev-libs/libbsd:=
+   dev-qt/qtcore:5=
+   dev-qt/qtgui:5=
+   dev-qt/qtwidgets:5=
+   virtual/libusb:1
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+)
+
+src_prepare() {
+   default
+   rm -rf dependencies/{hidapi,libusb}* || die
+}
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake INSTALL_ROOT="${ED}" install
+
+   dodoc README.md OpenRGB.patch
+
+   if use udev; then
+   udev_dorules 60-openrgb.rules
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-07-27 Thread Patrick McLean
commit: 2ebe340f1d57fb85b1eb064ef7d81b3e23910aac
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Jul 28 01:42:30 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jul 28 01:42:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebe340f

app-misc/OpenRGB-0.3-r1: Revbump, add udev USE flag to install udev rules

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/{OpenRGB-0.3.ebuild => OpenRGB-0.3-r1.ebuild} | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-misc/OpenRGB/OpenRGB-0.3.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild
similarity index 91%
rename from app-misc/OpenRGB/OpenRGB-0.3.ebuild
rename to app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild
index e4bec3567f5..9f8cacca569 100644
--- a/app-misc/OpenRGB/OpenRGB-0.3.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}-${COMMIT_HASH}"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="udev"
 
 DEPEND="
dev-libs/hidapi:=
@@ -48,4 +48,9 @@ src_install() {
emake INSTALL_ROOT="${D}" install
 
dodoc README.md OpenRGB.patch
+
+   if use udev; then
+   insinto /lib/udev/rules.d
+   doins 60-openrgb.rules
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/

2020-07-27 Thread Patrick McLean
commit: d76c369315931a571ff40ad6e978e85eab47a493
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Jul 28 01:35:02 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jul 28 01:35:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76c3693

app-misc/OpenRGB-0.3: Add kernel patch as part of docs

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/OpenRGB-0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/OpenRGB/OpenRGB-0.3.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3.ebuild
index eb6dc109ba4..e4bec3567f5 100644
--- a/app-misc/OpenRGB/OpenRGB-0.3.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-0.3.ebuild
@@ -47,5 +47,5 @@ src_configure() {
 src_install() {
emake INSTALL_ROOT="${D}" install
 
-   dodoc README.md
+   dodoc README.md OpenRGB.patch
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/, app-misc/OpenRGB/files/

2020-07-27 Thread Patrick McLean
commit: c7de1a67c9ee6cc9645a674b3c7d93eb99167abc
Author: Patrick McLean  gentoo  org>
AuthorDate: Tue Jul 28 01:33:03 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Tue Jul 28 01:33:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7de1a67

app-misc/OpenRGB-0.3: Version bump

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest  |  2 +-
 .../{OpenRGB-0.2.ebuild => OpenRGB-0.3.ebuild} | 10 ++--
 app-misc/OpenRGB/files/OpenRGB-0.2-install.patch   | 23 -
 .../files/OpenRGB-0.2-use-system-hidapi.patch  | 57 --
 4 files changed, 4 insertions(+), 88 deletions(-)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
index 951fffac07a..436a2c36c15 100644
--- a/app-misc/OpenRGB/Manifest
+++ b/app-misc/OpenRGB/Manifest
@@ -1 +1 @@
-DIST OpenRGB-0.2.tar.bz2 2064388 BLAKE2B 
0001a4f66576cd26e04a87abb2f7d36df243c5d45b449f689a51d7523f6f26079622d58aa1f33166f52634326552ba1788344ff5f6034ceb9123dbc1eadb992b
 SHA512 
06b5026c014674097c5f6b9ad54b1232f9aaa192663dd6324a402be8d12169e648b8ed4e748b4aebd970538519a88203621b45d8cb794fc0e6bae562e15c5f2b
+DIST OpenRGB-0.3.tar.bz2 2153970 BLAKE2B 
2b913fd867cfd2d856d70d15ec91abd6a6d2822b367bc72f8f4275784793474beab4f442bc1af0ec3c3f33630b2f6b09d490d4f326fa4dbc4dbe11e4944cbc6f
 SHA512 
629eb654636051b18da0f49cccf4e35dbe11a1373941cd355b27492b8382c113637d80039fa7aa749ae3f36bf838ad4da8da00f5abf5a0b8910be0ad1ecd999c

diff --git a/app-misc/OpenRGB/OpenRGB-0.2.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.3.ebuild
similarity index 75%
rename from app-misc/OpenRGB/OpenRGB-0.2.ebuild
rename to app-misc/OpenRGB/OpenRGB-0.3.ebuild
index c9b8a8b6db1..eb6dc109ba4 100644
--- a/app-misc/OpenRGB/OpenRGB-0.2.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-0.3.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=7
 
-inherit desktop qmake-utils
+inherit qmake-utils
 
 MY_P="${PN}-release_${PV}"
-COMMIT_HASH="13414ec9b84c299631e5100744f2b83923cba3c8"
+COMMIT_HASH="308bb6f9b8169c8e1c5123f9499373509f140268"
 
 DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
 HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
-SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_0.2/${P}.tar.bz2;
+SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${PV}/${P}.tar.bz2;
 S="${WORKDIR}/${MY_P}-${COMMIT_HASH}"
 
 LICENSE="GPL-2"
@@ -33,8 +33,6 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}/OpenRGB-0.2-build-system.patch"
-   "${FILESDIR}/OpenRGB-0.2-use-system-hidapi.patch"
-   "${FILESDIR}/OpenRGB-0.2-install.patch"
 )
 
 src_prepare() {
@@ -50,6 +48,4 @@ src_install() {
emake INSTALL_ROOT="${D}" install
 
dodoc README.md
-
-   make_desktop_entry ${PN} ${PN} ${PN} 'System;Monitor;HardwareSettings;'
 }

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch
deleted file mode 100644
index 745efe57b2c..000
--- a/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index 9553b1f..fb4e4be 100644
 a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -389,3 +389,18 @@ unix:SOURCES +=   
  \
- RGBController/OpenRazerDetect.cpp   \
- RGBController/RGBController_Faustus.cpp \
- RGBController/RGBController_OpenRazer.cpp   \
-+
-+#---#
-+# Set up install paths  #
-+# These install paths are used for AppImage and .deb packaging  #
-+#---#
-+isEmpty(PREFIX) {
-+PREFIX = /usr
-+}
-+
-+target.path=$$PREFIX/bin/
-+desktop.path=$$PREFIX/share/applications/
-+desktop.files+=qt/OpenRGB.desktop
-+pixmap.path=$$PREFIX/share/pixmaps/
-+pixmap.files+=qt/OpenRGB.png
-+INSTALLS += target desktop pixmap

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch
deleted file mode 100644
index 51ca8fca5cc..000
--- a/app-misc/OpenRGB/files/OpenRGB-0.2-use-system-hidapi.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/OpenRGB.pro b/OpenRGB.pro
-index 91e0079..306085b 100644
 a/OpenRGB.pro
-+++ b/OpenRGB.pro
-@@ -23,7 +23,6 @@ RC_ICONS = qt/OpenRGB.ico
- 
- INCLUDEPATH +=  \
- dependencies/ColorWheel \
--dependencies/hidapi \
- dependencies/libe131/src/   \
- i2c_smbus/ 

[gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/, app-misc/OpenRGB/files/

2020-07-19 Thread Patrick McLean
commit: 676d261eac853b090a1fd184fb0b1fb68453a9a2
Author: Patrick McLean  gentoo  org>
AuthorDate: Mon Jul 20 04:30:59 2020 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon Jul 20 04:31:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676d261e

app-misc/OpenRGB: New package

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Patrick McLean  gentoo.org>

 app-misc/OpenRGB/Manifest  |  1 +
 app-misc/OpenRGB/OpenRGB-0.2.ebuild| 55 +
 .../OpenRGB/files/OpenRGB-0.2-build-system.patch   | 14 ++
 app-misc/OpenRGB/files/OpenRGB-0.2-install.patch   | 23 +
 .../files/OpenRGB-0.2-use-system-hidapi.patch  | 57 ++
 app-misc/OpenRGB/metadata.xml  |  8 +++
 6 files changed, 158 insertions(+)

diff --git a/app-misc/OpenRGB/Manifest b/app-misc/OpenRGB/Manifest
new file mode 100644
index 000..951fffac07a
--- /dev/null
+++ b/app-misc/OpenRGB/Manifest
@@ -0,0 +1 @@
+DIST OpenRGB-0.2.tar.bz2 2064388 BLAKE2B 
0001a4f66576cd26e04a87abb2f7d36df243c5d45b449f689a51d7523f6f26079622d58aa1f33166f52634326552ba1788344ff5f6034ceb9123dbc1eadb992b
 SHA512 
06b5026c014674097c5f6b9ad54b1232f9aaa192663dd6324a402be8d12169e648b8ed4e748b4aebd970538519a88203621b45d8cb794fc0e6bae562e15c5f2b

diff --git a/app-misc/OpenRGB/OpenRGB-0.2.ebuild 
b/app-misc/OpenRGB/OpenRGB-0.2.ebuild
new file mode 100644
index 000..c9b8a8b6db1
--- /dev/null
+++ b/app-misc/OpenRGB/OpenRGB-0.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop qmake-utils
+
+MY_P="${PN}-release_${PV}"
+COMMIT_HASH="13414ec9b84c299631e5100744f2b83923cba3c8"
+
+DESCRIPTION="Open source RGB lighting control that doesn't depend on 
manufacturer software"
+HOMEPAGE="https://gitlab.com/CalcProgrammer1/OpenRGB/;
+SRC_URI="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_0.2/${P}.tar.bz2;
+S="${WORKDIR}/${MY_P}-${COMMIT_HASH}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   dev-libs/hidapi:=
+   dev-libs/libbsd:=
+   dev-qt/qtcore:5=
+   dev-qt/qtgui:5=
+   dev-qt/qtwidgets:5=
+   virtual/libusb:1
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+   "${FILESDIR}/OpenRGB-0.2-use-system-hidapi.patch"
+   "${FILESDIR}/OpenRGB-0.2-install.patch"
+)
+
+src_prepare() {
+   default
+   rm -rf dependencies/{hidapi,libusb}* || die
+}
+
+src_configure() {
+   eqmake5
+}
+
+src_install() {
+   emake INSTALL_ROOT="${D}" install
+
+   dodoc README.md
+
+   make_desktop_entry ${PN} ${PN} ${PN} 'System;Monitor;HardwareSettings;'
+}

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-build-system.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.2-build-system.patch
new file mode 100644
index 000..b2cd6cbd1d5
--- /dev/null
+++ b/app-misc/OpenRGB/files/OpenRGB-0.2-build-system.patch
@@ -0,0 +1,14 @@
+diff --git a/OpenRGB.pro b/OpenRGB.pro
+index 91e0079..7f279dd 100644
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -8,9 +8,6 @@ TEMPLATE = app
+ VERSION = 0.2
+ win32:BUILDDATE = $$system(date /t)
+ unix:BUILDDATE  = $$system(date -R)
+-GIT_COMMIT_ID   = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse HEAD)
+-GIT_COMMIT_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ show -s --format=%ci HEAD)
+-GIT_BRANCH  = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree 
$$_PRO_FILE_PWD_ rev-parse --abbrev-ref HEAD)
+ 
+ DEFINES +=  \
+ VERSION_STRING=\\"\"\"$$VERSION\\"\"\"  \

diff --git a/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch 
b/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch
new file mode 100644
index 000..745efe57b2c
--- /dev/null
+++ b/app-misc/OpenRGB/files/OpenRGB-0.2-install.patch
@@ -0,0 +1,23 @@
+diff --git a/OpenRGB.pro b/OpenRGB.pro
+index 9553b1f..fb4e4be 100644
+--- a/OpenRGB.pro
 b/OpenRGB.pro
+@@ -389,3 +389,18 @@ unix:SOURCES +=   
  \
+ RGBController/OpenRazerDetect.cpp   \
+ RGBController/RGBController_Faustus.cpp \
+ RGBController/RGBController_OpenRazer.cpp   \
++
++#---#
++# Set up install paths  #
++# These install paths are used for AppImage and .deb packaging  #
++#---#
++isEmpty(PREFIX) {
++PREFIX = /usr
++}
++
++target.path=$$PREFIX/bin/
++desktop.path=$$PREFIX/share/applications/