summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-12-11 10:11:19 +0100
committerMichael Weber <xmw@gentoo.org>2017-12-11 10:11:19 +0100
commit7028b5d536379431e77f6875858178818b32e24f (patch)
tree42534ec0ddbde82891f45b8a7b94393a3af7bfdf /dev-db/sqlitebrowser
parentdev-db/sqlitebrowser: Version bump, thanks @jok-ts, @a17r et al. (diff)
downloadgentoo-7028b5d536379431e77f6875858178818b32e24f.tar.gz
gentoo-7028b5d536379431e77f6875858178818b32e24f.tar.bz2
gentoo-7028b5d536379431e77f6875858178818b32e24f.zip
dev-db/sqlitebrowser: Fix QA issues regarding .desktop and icon files.
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'dev-db/sqlitebrowser')
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-3.10.1.ebuild12
-rw-r--r--dev-db/sqlitebrowser/sqlitebrowser-3.9.1-r1.ebuild11
2 files changed, 22 insertions, 1 deletions
diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.10.1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.10.1.ebuild
index 9de05f943b1..c661e29a9f2 100644
--- a/dev-db/sqlitebrowser/sqlitebrowser-3.10.1.ebuild
+++ b/dev-db/sqlitebrowser/sqlitebrowser-3.10.1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit cmake-utils eutils
+inherit cmake-utils eutils gnome2-utils xdg-utils
DESCRIPTION="SQLite Database Browser"
HOMEPAGE="http://sqlitebrowser.org"
@@ -57,3 +57,13 @@ src_install() {
cmake-utils_src_install
doicon images/sqlitebrowser.svg
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.9.1-r1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.9.1-r1.ebuild
index 48a7c45c0e0..9e91c60df05 100644
--- a/dev-db/sqlitebrowser/sqlitebrowser-3.9.1-r1.ebuild
+++ b/dev-db/sqlitebrowser/sqlitebrowser-3.9.1-r1.ebuild
@@ -18,6 +18,7 @@ RDEPEND="
dev-cpp/antlr-cpp:2
dev-db/sqlite:3
dev-libs/qcustomplot[qt5(+)]
+ dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
@@ -58,3 +59,13 @@ src_install() {
cmake-utils_src_install
doicon images/sqlitebrowser.svg
}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}