dev-util/rust-analyzer: bump version to 20220704
[gentoo-zh.git] / dev-qt / qdbusviewer / qdbusviewer-5.15.2-r10.ebuild
blobdeaa0160ddc0232681c1527d245e654c4769861b
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 KDE_ORG_COMMIT=33693a928986006d79c1ee743733cde5966ac402
7 QT5_MODULE="qttools"
8 inherit desktop qt5-build xdg-utils
10 DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
12 if [[ ${QT5_BUILD_TYPE} == release ]]; then
13 KEYWORDS="amd64 ~arm arm64 ~hppa ppc64 ~riscv ~sparc x86"
16 IUSE=""
18 DEPEND="
19 =dev-qt/qtcore-${QT5_PV}*
20 =dev-qt/qtdbus-${QT5_PV}*
21 =dev-qt/qtgui-${QT5_PV}*
22 =dev-qt/qtwidgets-${QT5_PV}*
23 =dev-qt/qtxml-${QT5_PV}*
25 RDEPEND="${DEPEND}"
27 QT5_TARGET_SUBDIRS=(
28 src/qdbus/qdbusviewer
31 src_install() {
32 qt5-build_src_install
34 doicon -s 32 src/qdbus/qdbusviewer/images/qdbusviewer.png
35 newicon -s 128 src/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
36 make_desktop_entry "${QT5_BINDIR}"/qdbusviewer 'Qt 5 QDBusViewer' qdbusviewer 'Qt;Development'
39 pkg_postinst() {
40 qt5-build_pkg_postinst
41 xdg_icon_cache_update
44 pkg_postrm() {
45 qt5-build_pkg_postrm
46 xdg_icon_cache_update