[gnome-build-meta/alatiera/hide-gtk4-demso: 2/2] sdk/gtk: hide desktop files of demos
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/alatiera/hide-gtk4-demso: 2/2] sdk/gtk: hide desktop files of demos
- Date: Fri, 25 Dec 2020 22:33:43 +0000 (UTC)
commit dc1813cbbbc7123b9eb18eb32b30966aa48508ea
Author: Jordan Petridis <jpetridis gnome org>
Date: Sat Dec 26 00:33:09 2020 +0200
sdk/gtk: hide desktop files of demos
elements/sdk/gtk.bst | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 360d1798..427eaed5 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -41,3 +41,11 @@ public:
devel:
(>):
- '%{libdir}/libgtk-4.so'
+
+config:
+ install-commands:
+ (>):
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/org.gtk.Demo4.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/org.gtk.IconBrowser4.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/org.gtk.PrintEditor4.desktop"
+ - echo "NoDisplay=true" >> "%{install-root}%{datadir}/applications/org.gtk.WidgetFactory4.desktop"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]