summaryrefslogtreecommitdiff
path: root/core/src/meson.build
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-08-23 10:52:40 +0200
committerkotontrion <[email protected]>2024-09-02 09:36:06 +0200
commitd248645888c88eaf28ef334264bf4e41a06f6b4d (patch)
treeebb52cea020114d067b5e99f1f3ef5323492a057 /core/src/meson.build
parent8da6a2174296bc1b78c6dde13f6bca46e67e156a (diff)
fixes circular progress widgets
Diffstat (limited to 'core/src/meson.build')
-rw-r--r--core/src/meson.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/src/meson.build b/core/src/meson.build
index 3e28d16..ade182e 100644
--- a/core/src/meson.build
+++ b/core/src/meson.build
@@ -14,7 +14,7 @@ config = configure_file(
},
)
-deps = [
+pkgconfig_deps = [
dependency('glib-2.0'),
dependency('gio-unix-2.0'),
dependency('gobject-2.0'),
@@ -24,12 +24,14 @@ deps = [
dependency('gtk-layer-shell-0'),
]
+deps = pkgconfig_deps + meson.get_compiler('c').find_library('m')
+
sources = [
config,
'widget/box.vala',
'widget/button.vala',
'widget/centerbox.vala',
- # 'widget/circularprogress.vala', # TODO: math lib -X -lm
+ 'widget/circularprogress.vala',
'widget/eventbox.vala',
'widget/icon.vala',
'widget/label.vala',
@@ -65,7 +67,7 @@ if get_option('lib')
filebase: meson.project_name() + '-' + api_version,
version: meson.project_version(),
subdirs: meson.project_name(),
- requires: deps,
+ requires: pkgconfig_deps,
install_dir: libdir / 'pkgconfig',
variables: {
'gjs': pkgdatadir / 'gjs',