[gnome-build-meta/abderrahim/sysprof: 3/4] sdk-deps/sysprof-minimal.bst: add an element to build only libsysprof-capture
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/sysprof: 3/4] sdk-deps/sysprof-minimal.bst: add an element to build only libsysprof-capture
- Date: Tue, 13 Jul 2021 06:51:28 +0000 (UTC)
commit 7db9309417b609dab4d86d5c63d434d53d912340
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sat Aug 1 09:18:44 2020 +0100
sdk-deps/sysprof-minimal.bst: add an element to build only libsysprof-capture
This is all that is needed for libraries/apps that want to log to sysprof
elements/core/gnome-software.bst | 2 +-
elements/core/mutter.bst | 2 +-
elements/core/sysprof.bst | 5 +----
elements/core/sysprof.inc | 4 ++++
elements/sdk-deps/sysprof-minimal.bst | 19 +++++++++++++++++++
elements/sdk/gjs.bst | 1 +
6 files changed, 27 insertions(+), 6 deletions(-)
---
diff --git a/elements/core/gnome-software.bst b/elements/core/gnome-software.bst
index 01157758..9cdb291f 100644
--- a/elements/core/gnome-software.bst
+++ b/elements/core/gnome-software.bst
@@ -4,8 +4,8 @@ sources:
url: gitlab_gnome_org:GNOME/gnome-software.git
track: master
build-depends:
-- core/sysprof.bst
- sdk/gtk-doc.bst
+- sdk-deps/sysprof-minimal.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
depends:
- core-deps/appstream.bst
diff --git a/elements/core/mutter.bst b/elements/core/mutter.bst
index b5826433..67170b01 100644
--- a/elements/core/mutter.bst
+++ b/elements/core/mutter.bst
@@ -6,7 +6,7 @@ sources:
track: master
build-depends:
-- core/sysprof.bst
+- sdk-deps/sysprof-minimal.bst
- sdk/gtk-doc.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
diff --git a/elements/core/sysprof.bst b/elements/core/sysprof.bst
index 47198457..de1f7436 100644
--- a/elements/core/sysprof.bst
+++ b/elements/core/sysprof.bst
@@ -1,9 +1,6 @@
kind: meson
-sources:
-- kind: git_tag
- url: gitlab_gnome_org:GNOME/sysprof.git
- track: master
+(@): elements/core/sysprof.inc
build-depends:
- freedesktop-sdk.bst:components/itstool.bst
diff --git a/elements/core/sysprof.inc b/elements/core/sysprof.inc
new file mode 100644
index 00000000..4d313773
--- /dev/null
+++ b/elements/core/sysprof.inc
@@ -0,0 +1,4 @@
+sources:
+- kind: git_tag
+ url: gitlab_gnome_org:GNOME/sysprof.git
+ track: master
diff --git a/elements/sdk-deps/sysprof-minimal.bst b/elements/sdk-deps/sysprof-minimal.bst
new file mode 100644
index 00000000..47aebc93
--- /dev/null
+++ b/elements/sdk-deps/sysprof-minimal.bst
@@ -0,0 +1,19 @@
+kind: meson
+
+(@): elements/core/sysprof.inc
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+ meson-local: >-
+ -Denable_examples=false
+ -Denable_gtk=false
+ -Denable_tests=false
+ -Denable_tools=false
+ -Dlibsysprof=false
+ -Dwith_sysprofd=none
+ -Dhelp=false
diff --git a/elements/sdk/gjs.bst b/elements/sdk/gjs.bst
index b355a351..28c1a977 100644
--- a/elements/sdk/gjs.bst
+++ b/elements/sdk/gjs.bst
@@ -4,6 +4,7 @@ sources:
url: gitlab_gnome_org:GNOME/gjs.git
track: master
build-depends:
+- sdk-deps/sysprof-minimal.bst
- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
depends:
- sdk/gobject-introspection.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]