summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-01-07 18:04:57 -0800
committerZac Medico <zmedico@gentoo.org>2018-01-07 18:16:37 -0800
commitca867bcc34fa438c48e0632de7fe07db7c986fb8 (patch)
tree3ef04d627f5db50665a9dff07f50974e56d1bbe3 /app-text/calibre
parentmedia-radio/cqrlog: remove incorrect mysql[embedded] dependency (diff)
downloadgentoo-ca867bcc34fa438c48e0632de7fe07db7c986fb8.tar.gz
gentoo-ca867bcc34fa438c48e0632de7fe07db7c986fb8.tar.bz2
gentoo-ca867bcc34fa438c48e0632de7fe07db7c986fb8.zip
app-text/calibre: call gnome2_icon_cache_update
Closes: https://bugs.gentoo.org/643832 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/calibre-2.78.0.ebuild10
-rw-r--r--app-text/calibre/calibre-3.15.0.ebuild5
-rw-r--r--app-text/calibre/calibre-3.3.0.ebuild7
-rw-r--r--app-text/calibre/calibre-3.8.0.ebuild7
4 files changed, 22 insertions, 7 deletions
diff --git a/app-text/calibre/calibre-2.78.0.ebuild b/app-text/calibre/calibre-2.78.0.ebuild
index b2d45db79e7c..1e03a38661bf 100644
--- a/app-text/calibre/calibre-2.78.0.ebuild
+++ b/app-text/calibre/calibre-2.78.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,ssl"
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1
+inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1
DESCRIPTION="Ebook management application"
HOMEPAGE="http://calibre-ebook.com/"
@@ -240,12 +240,18 @@ src_install() {
}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
diff --git a/app-text/calibre/calibre-3.15.0.ebuild b/app-text/calibre/calibre-3.15.0.ebuild
index ec7d26d14536..87d9fc995915 100644
--- a/app-text/calibre/calibre-3.15.0.ebuild
+++ b/app-text/calibre/calibre-3.15.0.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,ssl"
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1
+inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1
DESCRIPTION="Ebook management application"
HOMEPAGE="http://calibre-ebook.com/"
@@ -253,6 +253,7 @@ src_install() {
}
pkg_preinst() {
+ gnome2_icon_savelist
# Indentify stray directories from upstream's "Binary install"
# method (see bug 622728).
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
@@ -271,9 +272,11 @@ pkg_postinst() {
done
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
diff --git a/app-text/calibre/calibre-3.3.0.ebuild b/app-text/calibre/calibre-3.3.0.ebuild
index 46710a8a8454..8cf137759698 100644
--- a/app-text/calibre/calibre-3.3.0.ebuild
+++ b/app-text/calibre/calibre-3.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,ssl"
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1
+inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1
DESCRIPTION="Ebook management application"
HOMEPAGE="http://calibre-ebook.com/"
@@ -250,6 +250,7 @@ src_install() {
}
pkg_preinst() {
+ gnome2_icon_savelist
# Indentify stray directories from upstream's "Binary install"
# method (see bug 622728).
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
@@ -268,9 +269,11 @@ pkg_postinst() {
done
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
diff --git a/app-text/calibre/calibre-3.8.0.ebuild b/app-text/calibre/calibre-3.8.0.ebuild
index e18eb11846bc..f57de91b6003 100644
--- a/app-text/calibre/calibre-3.8.0.ebuild
+++ b/app-text/calibre/calibre-3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,ssl"
-inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs python-single-r1
+inherit eutils fdo-mime bash-completion-r1 gnome2-utils multilib toolchain-funcs python-single-r1
DESCRIPTION="Ebook management application"
HOMEPAGE="http://calibre-ebook.com/"
@@ -251,6 +251,7 @@ src_install() {
}
pkg_preinst() {
+ gnome2_icon_savelist
# Indentify stray directories from upstream's "Binary install"
# method (see bug 622728).
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
@@ -269,9 +270,11 @@ pkg_postinst() {
done
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}