[gnome-clocks/bilelmoussaoui/adaptive-headerbar: 1/5] Build: add libhandy as a dependency
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/bilelmoussaoui/adaptive-headerbar: 1/5] Build: add libhandy as a dependency
- Date: Thu, 26 Sep 2019 12:57:45 +0000 (UTC)
commit 2609474920f4f0662026a37b9438059256593d5e
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Sep 26 14:09:56 2019 +0200
Build: add libhandy as a dependency
build-aux/flatpak/org.gnome.clocks.json | 18 +++++++++++++++++-
meson.build | 1 +
src/meson.build | 4 +++-
3 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.clocks.json b/build-aux/flatpak/org.gnome.clocks.json
index 7bf3e0c..4925fa8 100644
--- a/build-aux/flatpak/org.gnome.clocks.json
+++ b/build-aux/flatpak/org.gnome.clocks.json
@@ -78,6 +78,22 @@
}
]
},
+ {
+ "name": "libhandy",
+ "buildsystem": "meson",
+ "config-opts": [
+ "-Dtests=false",
+ "-Dexamples=false",
+ "-Dglade_catalog=disabled"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://source.puri.sm/Librem5/libhandy.git",
+ "tag": "v0.0.11"
+ }
+ ]
+ },
{
"name": "gnome-clocks",
"buildsystem": "meson",
@@ -92,4 +108,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/meson.build b/meson.build
index 22035a7..5961d52 100644
--- a/meson.build
+++ b/meson.build
@@ -19,6 +19,7 @@ gweather = dependency('gweather-3.0', version: '>=3.27.2')
gnomedesktop = dependency('gnome-desktop-3.0', version: '>=3.8')
geocodeglib = dependency('geocode-glib-1.0', version: '>=1.0')
libgeoclue = dependency('libgeoclue-2.0', version: '>=2.4')
+libhandy = dependency ('libhandy-0.0', version: '>= 0.0.10')
cc = meson.get_compiler('c')
math = cc.find_library('m', required: false)
diff --git a/src/meson.build b/src/meson.build
index 42e59e5..eec6ce9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -37,7 +37,8 @@ clocks_vala_args = [
clocks_c_args = [
'-include', 'config.h',
'-DGWEATHER_I_KNOW_THIS_IS_UNSTABLE',
- '-DGNOME_DESKTOP_USE_UNSTABLE_API'
+ '-DGNOME_DESKTOP_USE_UNSTABLE_API',
+ '-DHANDY_USE_UNSTABLE_API',
]
clocks_dependencies = [
@@ -50,6 +51,7 @@ clocks_dependencies = [
gnomedesktop,
geocodeglib,
libgeoclue,
+ libhandy,
math
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]