summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-01-29 21:04:24 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-02-15 03:45:59 +1100
commit9ae3ab41ae0eb1dec69b28e034ac731828c07e18 (patch)
tree03194f7f87b713756f70209144acaa5136bb9b52 /eclass
parentkde5.eclass: sort eclass inherits (diff)
downloadgentoo-9ae3ab41ae0eb1dec69b28e034ac731828c07e18.tar.gz
gentoo-9ae3ab41ae0eb1dec69b28e034ac731828c07e18.tar.bz2
gentoo-9ae3ab41ae0eb1dec69b28e034ac731828c07e18.zip
kde5.eclass: port from fdo-mime to xdg
This will ensure that both the desktop database and the mime database will always be updated, with the added benefit that the update will only be triggered if the relevant files are installed.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 2f60d449ba20..1caeb38e1692 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -19,7 +19,7 @@ _KDE5_ECLASS=1
# for tests you should proceed with setting VIRTUALX_REQUIRED=test.
: ${VIRTUALX_REQUIRED:=manual}
-inherit cmake-utils eutils flag-o-matic gnome2-utils kde5-functions versionator virtualx
+inherit cmake-utils eutils flag-o-matic gnome2-utils kde5-functions versionator virtualx xdg
if [[ ${KDE_BUILD_TYPE} = live ]]; then
case ${KDE_SCM} in
@@ -574,6 +574,7 @@ kde5_pkg_preinst() {
debug-print-function ${FUNCNAME} "$@"
gnome2_icon_savelist
+ xdg_pkg_preinst
}
# @FUNCTION: kde5_pkg_postinst
@@ -583,7 +584,7 @@ kde5_pkg_postinst() {
debug-print-function ${FUNCNAME} "$@"
gnome2_icon_cache_update
- fdo-mime_desktop_database_update
+ xdg_pkg_postinst
}
# @FUNCTION: kde5_pkg_postrm
@@ -593,7 +594,7 @@ kde5_pkg_postrm() {
debug-print-function ${FUNCNAME} "$@"
gnome2_icon_cache_update
- fdo-mime_desktop_database_update
+ xdg_pkg_postrm
}
fi