summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2020-07-27 18:42:30 -0700
committerPatrick McLean <chutzpah@gentoo.org>2020-07-27 18:42:30 -0700
commit2ebe340f1d57fb85b1eb064ef7d81b3e23910aac (patch)
tree75d4255a433b42d5b8ae9445ced670a5595bf2a1 /app-misc
parentapp-misc/OpenRGB-0.3: Add kernel patch as part of docs (diff)
downloadgentoo-2ebe340f1d57fb85b1eb064ef7d81b3e23910aac.tar.gz
gentoo-2ebe340f1d57fb85b1eb064ef7d81b3e23910aac.tar.bz2
gentoo-2ebe340f1d57fb85b1eb064ef7d81b3e23910aac.zip
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 <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild (renamed from app-misc/OpenRGB/OpenRGB-0.3.ebuild)7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-misc/OpenRGB/OpenRGB-0.3.ebuild b/app-misc/OpenRGB/OpenRGB-0.3-r1.ebuild
index e4bec3567f54..9f8cacca569a 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
}