summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-03-16 21:17:07 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-03-16 21:17:07 +0100
commit13bd5b6ecc9ff8645e51f1839d41385e714c2bf9 (patch)
treecf58a0adf74363df48904b44ee9728e4c23b94bc /app-misc/kryoflux-dtc
parentgui-apps/wayvnc: add 0.8.0 (diff)
downloadgentoo-13bd5b6ecc9ff8645e51f1839d41385e714c2bf9.tar.gz
gentoo-13bd5b6ecc9ff8645e51f1839d41385e714c2bf9.tar.bz2
gentoo-13bd5b6ecc9ff8645e51f1839d41385e714c2bf9.zip
app-misc/kryoflux-dtc: call udev_reload
Closes: https://bugs.gentoo.org/924874 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/kryoflux-dtc')
-rw-r--r--app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild15
-rw-r--r--app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild4
2 files changed, 15 insertions, 4 deletions
diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
index 59dfb7d11bf7..206c1cc0e6dc 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,9 +16,9 @@ SRC_URI="
"
S="${WORKDIR}/${MY_P}"
-KEYWORDS="-* amd64 x86"
LICENSE="SPS"
SLOT="0"
+KEYWORDS="-* amd64 x86"
IUSE="demos doc fast-firmware gui static"
RDEPEND="
@@ -94,6 +94,8 @@ pkg_postinst() {
elog "If you want to access your Kryoflux without root access,"
elog "please add yourself to the floppy group."
+ udev_reload
+
if use fast-firmware; then
elog ""
elog "You have enabled the fast firmware. Please keep in mind,"
@@ -105,3 +107,12 @@ pkg_postinst() {
xdg_mimeinfo_database_update
fi
}
+
+pkg_postrm() {
+ udev_reload
+
+ if use gui; then
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
index 4f0411445ae3..48383872ffef 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,9 +15,9 @@ HOMEPAGE="https://www.kryoflux.com"
SRC_URI="https://www.kryoflux.com/download/${MY_P}.tgz"
S="${WORKDIR}/${MY_P}"
-KEYWORDS="-* amd64 ~arm64"
LICENSE="SPS"
SLOT="0"
+KEYWORDS="-* amd64 ~arm64"
IUSE="demos doc gui"
RDEPEND="