[gnome-build-meta/alatiera/desktop-files: 4/5] sdk/gtk, core-deps/librest: Split demos to the devel image



commit 08d56ab33173651f94c5bb3947f9181f87407930
Author: Jordan Petridis <jordan centricular com>
Date:   Tue Jul 19 19:53:53 2022 +0300

    sdk/gtk, core-deps/librest: Split demos to the devel image
    
    Close #520 #521
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1671>

 elements/core-deps/librest.bst |  9 +++++++++
 elements/sdk/gtk.bst           | 14 +++++++++++++-
 2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/elements/core-deps/librest.bst b/elements/core-deps/librest.bst
index 15d8da62a..7606efab7 100644
--- a/elements/core-deps/librest.bst
+++ b/elements/core-deps/librest.bst
@@ -18,3 +18,12 @@ depends:
 variables:
   meson-local: >-
     -Dsoup2=false
+
+public:
+  bst:
+    split-rules:
+      devel:
+        (>):
+        - '%{bindir}/librest-demo'
+        - '%{datadir}/applications/org.gnome.RestDemo.desktop'
+        - '%{libdir}/librest-1.0.so'
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index 0c45304aa..33924d649 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -46,8 +46,20 @@ public:
     split-rules:
       devel:
         (>):
-        - '%{libdir}/libgtk-4.so'
+        - '%{bindir}/gtk4-demo'
+        - '%{bindir}/gtk4-demo'
+        - '%{bindir}/gtk4-demo-application'
+        - '%{bindir}/gtk4-node-editor'
+        - '%{bindir}/gtk4-print-editor'
+        - '%{bindir}/gtk4-widget-factory'
         - '%{datadir}/applications/org.gtk.Demo4.desktop'
         - '%{datadir}/applications/org.gtk.IconBrowser4.desktop'
         - '%{datadir}/applications/org.gtk.PrintEditor4.desktop'
         - '%{datadir}/applications/org.gtk.WidgetFactory4.desktop'
+        - '%{datadir}/applications/org.gtk.gtk4.NodeEditor.desktop'
+        - '%{datadir}/metainfo/org.gtk.Demo4.appdata.xml'
+        - '%{datadir}/metainfo/org.gtk.IconBrowser4.appdata.xml'
+        - '%{datadir}/metainfo/org.gtk.PrintEditor4.appdata.xml'
+        - '%{datadir}/metainfo/org.gtk.WidgetFactory4.appdata.xml'
+        - '%{datadir}/metainfo/org.gtk.gtk4.NodeEditor.appdata.xml'
+        - '%{libdir}/libgtk-4.so'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]