From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qdbusviewer/
Date: Mon, 25 Dec 2017 08:57:47 +0000 (UTC) [thread overview]
Message-ID: <1514192248.cc686d55819a11d01b755e79dc1dc07a57b308d2.kensington@gentoo> (raw)
commit: cc686d55819a11d01b755e79dc1dc07a57b308d2
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 08:05:44 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 08:57:28 2017 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=cc686d55
dev-qt/qdbusviewer: install desktop file
Bug: https://bugs.gentoo.org/577680
Package-Manager: Portage-2.3.14, Repoman-2.3.6
dev-qt/qdbusviewer/qdbusviewer-5.10.0.ebuild | 20 +++++++++++++++++++-
dev-qt/qdbusviewer/qdbusviewer-5.10.9999.ebuild | 20 +++++++++++++++++++-
dev-qt/qdbusviewer/qdbusviewer-5.9.9999.ebuild | 20 +++++++++++++++++++-
dev-qt/qdbusviewer/qdbusviewer-5.9999.ebuild | 20 +++++++++++++++++++-
4 files changed, 76 insertions(+), 4 deletions(-)
diff --git a/dev-qt/qdbusviewer/qdbusviewer-5.10.0.ebuild b/dev-qt/qdbusviewer/qdbusviewer-5.10.0.ebuild
index d1f5a5ed..16b7e4de 100644
--- a/dev-qt/qdbusviewer/qdbusviewer-5.10.0.ebuild
+++ b/dev-qt/qdbusviewer/qdbusviewer-5.10.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
QT5_MODULE="qttools"
-inherit qt5-build
+inherit desktop gnome2-utils qt5-build
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
@@ -25,3 +25,21 @@ RDEPEND="${DEPEND}"
QT5_TARGET_SUBDIRS=(
src/qdbus/qdbusviewer
)
+
+src_install() {
+ qt5-build_src_install
+
+ doicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png
+ newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
+ make_desktop_entry "${QT5_BINDIR}"/qdbusviewer 'Qt 5 QDBusViewer' qdbusviewer 'Qt;Development'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ gnome2_icon_cache_update
+}
diff --git a/dev-qt/qdbusviewer/qdbusviewer-5.10.9999.ebuild b/dev-qt/qdbusviewer/qdbusviewer-5.10.9999.ebuild
index d1f5a5ed..16b7e4de 100644
--- a/dev-qt/qdbusviewer/qdbusviewer-5.10.9999.ebuild
+++ b/dev-qt/qdbusviewer/qdbusviewer-5.10.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
QT5_MODULE="qttools"
-inherit qt5-build
+inherit desktop gnome2-utils qt5-build
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
@@ -25,3 +25,21 @@ RDEPEND="${DEPEND}"
QT5_TARGET_SUBDIRS=(
src/qdbus/qdbusviewer
)
+
+src_install() {
+ qt5-build_src_install
+
+ doicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png
+ newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
+ make_desktop_entry "${QT5_BINDIR}"/qdbusviewer 'Qt 5 QDBusViewer' qdbusviewer 'Qt;Development'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ gnome2_icon_cache_update
+}
diff --git a/dev-qt/qdbusviewer/qdbusviewer-5.9.9999.ebuild b/dev-qt/qdbusviewer/qdbusviewer-5.9.9999.ebuild
index d1f5a5ed..16b7e4de 100644
--- a/dev-qt/qdbusviewer/qdbusviewer-5.9.9999.ebuild
+++ b/dev-qt/qdbusviewer/qdbusviewer-5.9.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
QT5_MODULE="qttools"
-inherit qt5-build
+inherit desktop gnome2-utils qt5-build
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
@@ -25,3 +25,21 @@ RDEPEND="${DEPEND}"
QT5_TARGET_SUBDIRS=(
src/qdbus/qdbusviewer
)
+
+src_install() {
+ qt5-build_src_install
+
+ doicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png
+ newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
+ make_desktop_entry "${QT5_BINDIR}"/qdbusviewer 'Qt 5 QDBusViewer' qdbusviewer 'Qt;Development'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ gnome2_icon_cache_update
+}
diff --git a/dev-qt/qdbusviewer/qdbusviewer-5.9999.ebuild b/dev-qt/qdbusviewer/qdbusviewer-5.9999.ebuild
index d1f5a5ed..16b7e4de 100644
--- a/dev-qt/qdbusviewer/qdbusviewer-5.9999.ebuild
+++ b/dev-qt/qdbusviewer/qdbusviewer-5.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
QT5_MODULE="qttools"
-inherit qt5-build
+inherit desktop gnome2-utils qt5-build
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
@@ -25,3 +25,21 @@ RDEPEND="${DEPEND}"
QT5_TARGET_SUBDIRS=(
src/qdbus/qdbusviewer
)
+
+src_install() {
+ qt5-build_src_install
+
+ doicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png
+ newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
+ make_desktop_entry "${QT5_BINDIR}"/qdbusviewer 'Qt 5 QDBusViewer' qdbusviewer 'Qt;Development'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ gnome2_icon_cache_update
+}
next reply other threads:[~2017-12-25 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-25 8:57 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-21 10:06 [gentoo-commits] proj/qt:master commit in: dev-qt/qdbusviewer/ Andreas Sturmlechner
2021-08-20 12:36 Andreas Sturmlechner
2013-12-22 3:21 Davide Pesavento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1514192248.cc686d55819a11d01b755e79dc1dc07a57b308d2.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox