debian: Enable sysprof support under linux
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 19 Jul 2021 16:02:41 +0000 (18:02 +0200)
committerMarco Trevisan (Treviño) <marco@ubuntu.com>
Mon, 19 Jul 2021 17:21:44 +0000 (19:21 +0200)
We need to manually add sysprof dev dependencies as these are only
suggestions.

debian/control
debian/control.in
debian/rules

index 0c2b65221cd0a5daf2029314c6bcd73d9bc99127..67704bbea0a940dd58d84979609221efc6928219 100644 (file)
@@ -38,6 +38,7 @@ Build-Depends: adwaita-icon-theme <!nocheck>,
                libharfbuzz-dev (>= 0.9),
                libjson-glib-dev,
                libpango1.0-dev (>= 1.47.0),
+               libpolkit-gobject-1-dev (>= 0.105) [linux-any],
                librest-dev,
                librsvg2-common <!nocheck>,
                librsvg2-dev,
@@ -61,6 +62,7 @@ Build-Depends: adwaita-icon-theme <!nocheck>,
                pkg-config,
                python3-gi (>= 3.40) <!nocheck>,
                sassc,
+               sysprof (>= 3.38.0) [linux-any],
                ttf-bitstream-vera <!nocheck>,
                wayland-protocols (>= 1.21) [linux-any],
                weston [linux-any] <!nocheck>,
index c16c70f98f6a6d25df2b76319f44bf8a9169505f..ff367234d1885ede68ac67d1d5a125b982c047cf 100644 (file)
@@ -38,6 +38,7 @@ Build-Depends: adwaita-icon-theme <!nocheck>,
                libharfbuzz-dev (>= 0.9),
                libjson-glib-dev,
                libpango1.0-dev (>= 1.47.0),
+               libpolkit-gobject-1-dev (>= 0.105) [linux-any],
                librest-dev,
                librsvg2-common <!nocheck>,
                librsvg2-dev,
@@ -61,6 +62,7 @@ Build-Depends: adwaita-icon-theme <!nocheck>,
                pkg-config,
                python3-gi (>= 3.40) <!nocheck>,
                sassc,
+               sysprof (>= 3.38.0) [linux-any],
                ttf-bitstream-vera <!nocheck>,
                wayland-protocols (>= 1.21) [linux-any],
                weston [linux-any] <!nocheck>,
index 8c57f7146ef7af833940a0a4686f0ad8ae92032d..b6a9c1ee44a960e34e724668622a6e63c10f07e4 100755 (executable)
@@ -94,6 +94,7 @@ endif
 ifeq (linux,$(DEB_HOST_ARCH_OS))
 configure_flags_deb += -Dwayland-backend=true
 else
+configure_flags_deb += -Dsysprof=disabled
 configure_flags_deb += -Dvulkan=disabled
 configure_flags_deb += -Dwayland-backend=false
 endif