for some reason they are not called automagically
so calling them manually
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
EAPI=7
-inherit qmake-utils autotools xdg subversion
+inherit qmake-utils xdg autotools subversion
DESCRIPTION="Graphical frontend to the LinuxSampler engine"
HOMEPAGE="https://qsampler.sourceforge.io/ https://www.linuxsampler.org/"
cd src || die
eqmake5 src.pro -o Makefile
}
+
+pkg_postinst() {
+ # these are not run automagically in live ebuild for some reason so running them manually
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ # these are not run automagically in live ebuild for some reason so running them manually
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}
+