aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/designer/designer-5.10.9999.ebuild')
-rw-r--r--dev-qt/designer/designer-5.10.9999.ebuild19
1 files changed, 18 insertions, 1 deletions
diff --git a/dev-qt/designer/designer-5.10.9999.ebuild b/dev-qt/designer/designer-5.10.9999.ebuild
index d59ecd69..a3f30858 100644
--- a/dev-qt/designer/designer-5.10.9999.ebuild
+++ b/dev-qt/designer/designer-5.10.9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
QT5_MODULE="qttools"
-inherit qt5-build
+inherit desktop gnome2-utils qt5-build
DESCRIPTION="WYSIWYG tool for designing and building Qt-based GUIs"
@@ -38,3 +38,20 @@ src_prepare() {
qt5-build_src_prepare
}
+
+src_install() {
+ qt5-build_src_install
+
+ doicon -s 128 src/designer/src/designer/images/designer.png
+ make_desktop_entry "${QT5_BINDIR}"/designer 'Qt 5 Designer' designer 'Qt;Development;GUIDesigner'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ gnome2_icon_cache_update
+}