[gnome-build-meta/abderrahim/sysprof: 490/492] sdk/{gjs, glib, gtk+-3, gtk, libsoup}.bst: build with sysprof support




commit 46a2b3c7f7568eeac79e6006e32e4b81d34ef4a9
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sat Aug 1 10:10:51 2020 +0100

    sdk/{gjs,glib,gtk+-3,gtk,libsoup}.bst: build with sysprof support
    
    Fixes #294

 elements/sdk/gjs.bst     | 8 +++++---
 elements/sdk/glib.bst    | 2 ++
 elements/sdk/gtk+-3.bst  | 2 ++
 elements/sdk/gtk.bst     | 2 ++
 elements/sdk/libsoup.bst | 3 ++-
 5 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/elements/sdk/gjs.bst b/elements/sdk/gjs.bst
index b355a351..31ddebfa 100644
--- a/elements/sdk/gjs.bst
+++ b/elements/sdk/gjs.bst
@@ -1,10 +1,14 @@
 kind: meson
+
 sources:
 - kind: git_tag
   url: gitlab_gnome_org:GNOME/gjs.git
   track: master
+
 build-depends:
+- sdk-deps/sysprof-capture.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
 depends:
 - sdk/gobject-introspection.bst
 - sdk/gtk+-3.bst
@@ -12,9 +16,7 @@ depends:
 - freedesktop-sdk.bst:components/dbus.bst
 - freedesktop-sdk.bst:components/mozjs.bst
 - freedesktop-sdk.bst:bootstrap-import.bst
-variables:
-  meson-local: >-
-    -Dprofiler=disabled
+
 public:
   bst:
     split-rules:
diff --git a/elements/sdk/glib.bst b/elements/sdk/glib.bst
index 2c149a37..db7a2202 100644
--- a/elements/sdk/glib.bst
+++ b/elements/sdk/glib.bst
@@ -6,6 +6,7 @@ sources:
   track: main
 
 build-depends:
+- sdk-deps/sysprof-minimal.bst
 - sdk/gtk-doc.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
 
@@ -25,6 +26,7 @@ variables:
     -Dgtk_doc=false
     -Dinstalled-tests=true
     -Dselinux=disabled
+    -Dsysprof=enabled
 
 public:
   bst:
diff --git a/elements/sdk/gtk+-3.bst b/elements/sdk/gtk+-3.bst
index e0dddebd..8aa59318 100644
--- a/elements/sdk/gtk+-3.bst
+++ b/elements/sdk/gtk+-3.bst
@@ -6,6 +6,7 @@ sources:
   track: gtk-3-24
 
 build-depends:
+- sdk-deps/sysprof-minimal.bst
 - sdk/gobject-introspection.bst
 - sdk/gtk-doc.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
@@ -46,6 +47,7 @@ variables:
     -Dman=true
     -Dintrospection=true
     -Dtracker3=true
+    -Dprofiler=true
 
 public:
   bst:
diff --git a/elements/sdk/gtk.bst b/elements/sdk/gtk.bst
index d2533b72..746246f9 100644
--- a/elements/sdk/gtk.bst
+++ b/elements/sdk/gtk.bst
@@ -7,6 +7,7 @@ sources:
 
 build-depends:
 - sdk-deps/sassc.bst
+- sdk-deps/sysprof-minimal.bst
 - sdk/gobject-introspection.bst
 - sdk/gtk-doc.bst
 - freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
@@ -34,6 +35,7 @@ variables:
     -Dbroadway-backend=true
     -Dmedia-ffmpeg=disabled
     -Dprint-cloudprint=disabled
+    -Dprofiler=true
 
 public:
   bst:
diff --git a/elements/sdk/libsoup.bst b/elements/sdk/libsoup.bst
index 1b79aaa9..e5f6c214 100644
--- a/elements/sdk/libsoup.bst
+++ b/elements/sdk/libsoup.bst
@@ -6,6 +6,7 @@ sources:
   track: master
 
 build-depends:
+- sdk-deps/sysprof-minimal.bst
 - sdk/gobject-introspection.bst
 - sdk/gtk-doc.bst
 - sdk/vala.bst
@@ -33,7 +34,7 @@ variables:
     -Dhttp2_tests=disabled
     -Dinstalled_tests=true
     -Dntlm=disabled
-    -Dsysprof=disabled
+    -Dsysprof=enabled
     -Dtls_check=false
 
 public:


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