From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/
Date: Thu, 27 Aug 2020 21:25:42 +0000 (UTC) [thread overview]
Message-ID: <1598563536.1461450a8b3b976c387e93724e249ffad46245c4.chutzpah@gentoo> (raw)
commit: 1461450a8b3b976c387e93724e249ffad46245c4
Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Sat Aug 15 00:07:17 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 21:25:36 2020 +0000
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 <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/17124
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
app-misc/OpenRGB/Manifest | 1 +
app-misc/OpenRGB/OpenRGB-0.3-r2.ebuild | 57 ++++++++++++++++++++++++++++++++++
app-misc/OpenRGB/OpenRGB-9999.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 00000000000..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} == *9999* ]]; 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-9999.ebuild b/app-misc/OpenRGB/OpenRGB-9999.ebuild
new file mode 100644
index 00000000000..c599eb22729
--- /dev/null
+++ b/app-misc/OpenRGB/OpenRGB-9999.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} == *9999* ]]; 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
+}
next reply other threads:[~2020-08-27 21:25 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 21:25 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-09 21:22 [gentoo-commits] repo/gentoo:master commit in: app-misc/openrgb/ Maciej Barć
2025-01-09 21:22 Maciej Barć
2025-01-06 22:18 Maciej Barć
2024-09-10 22:43 Maciej Barć
2024-06-20 14:05 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-08-22 14:32 Maciej Barć
2023-08-20 17:37 Arthur Zamarin
2023-07-17 12:33 Maciej Barć
2023-04-20 10:36 WANG Xuerui
2023-04-20 10:36 WANG Xuerui
2023-02-27 9:04 Joonas Niilola
2023-02-07 23:06 Sam James
2023-01-24 23:55 Sam James
2023-01-06 14:10 Maciej Barć
2023-01-05 14:31 Maciej Barć
2022-08-04 8:03 Agostino Sarubbo
2022-01-11 22:15 Patrick McLean
2021-09-22 0:05 Patrick McLean
2021-06-22 23:00 Patrick McLean
2021-06-22 23:00 Patrick McLean
2021-06-08 23:13 [gentoo-commits] repo/gentoo:master commit in: app-misc/OpenRGB/ Patrick McLean
2020-11-19 23:50 Patrick McLean
2020-11-19 23:50 Patrick McLean
2020-09-16 2:54 Patrick McLean
2020-09-16 2:54 Patrick McLean
2020-09-16 2:54 Patrick McLean
2020-08-27 22:17 Patrick McLean
2020-08-27 22:17 Patrick McLean
2020-08-27 22:17 Patrick McLean
2020-07-28 1:47 Patrick McLean
2020-07-28 1:35 Patrick McLean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1598563536.1461450a8b3b976c387e93724e249ffad46245c4.chutzpah@gentoo \
--to=chutzpah@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox