summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 19:25:02 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 19:36:12 +0100
commit3ca0fe096c5cc35b2e120279ac93ae8c1ea0e634 (patch)
tree66c8ebc3d7bf2d1558c943c624564f3f9c73ca1b
parentmedia-sound/clementine: Switch from gnome2-utils to xdg, EAPI-7 bump (diff)
downloadgentoo-3ca0fe096c5cc35b2e120279ac93ae8c1ea0e634.tar.gz
gentoo-3ca0fe096c5cc35b2e120279ac93ae8c1ea0e634.tar.bz2
gentoo-3ca0fe096c5cc35b2e120279ac93ae8c1ea0e634.zip
app-office/scribus: Switch from gnome2-utils to xdg
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--app-office/scribus/scribus-1.5.5_pre20190124.ebuild14
-rw-r--r--app-office/scribus/scribus-9999.ebuild14
2 files changed, 2 insertions, 26 deletions
diff --git a/app-office/scribus/scribus-1.5.5_pre20190124.ebuild b/app-office/scribus/scribus-1.5.5_pre20190124.ebuild
index 011a8953706..04d23a89ff5 100644
--- a/app-office/scribus/scribus-1.5.5_pre20190124.ebuild
+++ b/app-office/scribus/scribus-1.5.5_pre20190124.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="tk?"
CMAKE_MAKEFILE_GENERATOR=ninja
COMMIT=1ed85778dd55bcbcfad2bbc276fd4c97f43ad965
-inherit cmake-utils desktop flag-o-matic gnome2-utils python-single-r1 xdg-utils
+inherit cmake-utils desktop flag-o-matic python-single-r1 xdg
DESCRIPTION="Desktop publishing (DTP) and layout program"
HOMEPAGE="https://www.scribus.net/"
@@ -212,18 +212,6 @@ src_install() {
domenu scribus.desktop
}
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
safe_delete () {
local x
for x in ${@}; do
diff --git a/app-office/scribus/scribus-9999.ebuild b/app-office/scribus/scribus-9999.ebuild
index 372e9412ba4..89fb20f8034 100644
--- a/app-office/scribus/scribus-9999.ebuild
+++ b/app-office/scribus/scribus-9999.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="tk?"
CMAKE_MAKEFILE_GENERATOR=ninja
-inherit cmake-utils desktop flag-o-matic gnome2-utils python-single-r1 subversion xdg-utils
+inherit cmake-utils desktop flag-o-matic python-single-r1 subversion xdg
DESCRIPTION="Desktop publishing (DTP) and layout program"
HOMEPAGE="https://www.scribus.net/"
@@ -212,18 +212,6 @@ src_install() {
domenu scribus.desktop
}
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
safe_delete () {
local x
for x in ${@}; do