From f1aa825b8483db57bf28d0772acfa10aeebe83c3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 27 Aug 2022 02:53:16 +0100 Subject: gentoo auto-resync : 27:08:2022 - 02:53:16 --- app-misc/openrgb/openrgb-9999.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'app-misc/openrgb/openrgb-9999.ebuild') diff --git a/app-misc/openrgb/openrgb-9999.ebuild b/app-misc/openrgb/openrgb-9999.ebuild index f9e079015112..44c450e3c857 100644 --- a/app-misc/openrgb/openrgb-9999.ebuild +++ b/app-misc/openrgb/openrgb-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit flag-o-matic qmake-utils +inherit flag-o-matic qmake-utils udev if [[ ${PV} == *9999* ]]; 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 +} -- cgit v1.2.3