summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2022-10-01 13:32:28 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-10-14 16:00:53 +0300
commit1f8cbdcf148dd74e3240c7a2444985eac3e4ede3 (patch)
tree6e28fa1e0a602c5ef7de323dfff1b39d69b65d01 /net-misc/icaclient
parentnet-misc/icaclient: drop RESTRICT="userpriv" (diff)
downloadgentoo-1f8cbdcf148dd74e3240c7a2444985eac3e4ede3.tar.gz
gentoo-1f8cbdcf148dd74e3240c7a2444985eac3e4ede3.tar.bz2
gentoo-1f8cbdcf148dd74e3240c7a2444985eac3e4ede3.zip
net-misc/icaclient: install mime type file
The tarball does contain a mime type info file, deploy that in our ebuilds. Closes: https://bugs.gentoo.org/844022 Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/27554 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r--net-misc/icaclient/icaclient-22.5.0.16-r1.ebuild (renamed from net-misc/icaclient/icaclient-22.5.0.16.ebuild)5
-rw-r--r--net-misc/icaclient/icaclient-22.9.0.21-r1.ebuild (renamed from net-misc/icaclient/icaclient-22.9.0.21.ebuild)5
2 files changed, 10 insertions, 0 deletions
diff --git a/net-misc/icaclient/icaclient-22.5.0.16.ebuild b/net-misc/icaclient/icaclient-22.5.0.16-r1.ebuild
index 61c40f510c71..922d1db82318 100644
--- a/net-misc/icaclient/icaclient-22.5.0.16.ebuild
+++ b/net-misc/icaclient/icaclient-22.5.0.16-r1.ebuild
@@ -248,10 +248,14 @@ src_install() {
# 651926
domenu "${FILESDIR}"/*.desktop
+
+ insinto /usr/share/mime/packages
+ doins desktop/Citrix-mime_types.xml
}
pkg_postinst() {
xdg_desktop_database_update
+ xdg_mimeinfo_database_update
local inidest="${ROOT}${ICAROOT}/config"
if [[ ! -e "${inidest}"/module.ini ]] ; then
@@ -262,4 +266,5 @@ pkg_postinst() {
pkg_postrm() {
xdg_desktop_database_update
+ xdg_mimeinfo_database_update
}
diff --git a/net-misc/icaclient/icaclient-22.9.0.21.ebuild b/net-misc/icaclient/icaclient-22.9.0.21-r1.ebuild
index 424b1bb64086..879d1c6225c3 100644
--- a/net-misc/icaclient/icaclient-22.9.0.21.ebuild
+++ b/net-misc/icaclient/icaclient-22.9.0.21-r1.ebuild
@@ -239,10 +239,14 @@ src_install() {
# 651926
domenu "${FILESDIR}"/*.desktop
+
+ insinto /usr/share/mime/packages
+ doins desktop/Citrix-mime_types.xml
}
pkg_postinst() {
xdg_desktop_database_update
+ xdg_mimeinfo_database_update
local inidest="${ROOT}${ICAROOT}/config"
if [[ ! -e "${inidest}"/module.ini ]] ; then
@@ -253,4 +257,5 @@ pkg_postinst() {
pkg_postrm() {
xdg_desktop_database_update
+ xdg_mimeinfo_database_update
}