*/*: don't explicitly call xdg-utils functions

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2020-11-26 10:57:08 +13:00
parent a2ed67bb95
commit b6f8d947e3
13 changed files with 15 additions and 88 deletions

View File

@@ -53,21 +53,17 @@ src_test() {
pkg_preinst() {
gnome2_schemas_savelist
xdg_environment_reset
xdg_pkg_preinst
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_pkg_postrm
}

View File

@@ -53,21 +53,17 @@ src_test() {
pkg_preinst() {
gnome2_schemas_savelist
xdg_environment_reset
xdg_pkg_preinst
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_pkg_postrm
}

View File

@@ -36,8 +36,8 @@ RDEPEND="
"
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_pkg_postinst
elog "You need the following files in order to run melonDS:"
elog "- bios7.bin"
elog "- bios9.bin"
@@ -47,8 +47,3 @@ pkg_postinst() {
elog "The romlist.bin file can be found in the /usr/share/melonDS directory"
elog "The rest of those files can be found somewhere in the internet ;-)"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -41,8 +41,7 @@ RDEPEND="
"
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_pkg_postinst
elog "You need the following files in order to run melonDS:"
elog "- bios7.bin"
@@ -52,8 +51,3 @@ pkg_postinst() {
elog "Place them in ~/.config/melonDS"
elog "Those files can be found somewhere on the Internet ;-)"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -41,8 +41,7 @@ RDEPEND="
"
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_pkg_postinst
elog "You need the following files in order to run melonDS:"
elog "- bios7.bin"
@@ -52,8 +51,3 @@ pkg_postinst() {
elog "Place them in ~/.config/melonDS"
elog "Those files can be found somewhere on the Internet ;-)"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -34,7 +34,7 @@ BDEPEND="dev-qt/linguist-tools:5"
src_prepare() {
cmake_src_prepare
xdg_environment_reset
xdg_src_prepare
# TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
}

View File

@@ -34,7 +34,7 @@ BDEPEND="dev-qt/linguist-tools:5"
src_prepare() {
cmake_src_prepare
xdg_environment_reset
xdg_src_prepare
# TODO: Unbundle SingleApplication, blurhash and cpp-httplib.
}

View File

@@ -46,13 +46,7 @@ python_install_all() {
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_pkg_postinst
elog "For updating over system TOR install net-vpn/tor and dev-python/txsocksx"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -46,13 +46,7 @@ python_install_all() {
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_pkg_postinst
elog "For updating over system TOR install net-vpn/tor and dev-python/txsocksx"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -46,13 +46,7 @@ python_install_all() {
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_pkg_postinst
elog "For updating over system TOR install net-vpn/tor and dev-python/txsocksx"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -50,13 +50,3 @@ src_install() {
make_desktop_entry "${PN}" "${PN^}" "${PN}" "Graphics;Settings"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -50,13 +50,3 @@ src_install() {
make_desktop_entry "${PN}" "${PN^}" "${PN}" "Graphics;Settings"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@@ -50,13 +50,3 @@ src_install() {
make_desktop_entry "${PN}" "${PN^}" "${PN}" "Graphics;Settings"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}