meson: Require libadwaita 1.6 for new spinner
This commit is contained in:
parent
cd68778890
commit
895babbe82
2 changed files with 20 additions and 13 deletions
|
|
@ -13,7 +13,7 @@ codegen-units = 1
|
||||||
x11 = ["ashpd/gtk4_x11"]
|
x11 = ["ashpd/gtk4_x11"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
adw = { package = "libadwaita", version = "0.7.0", features = ["v1_5"] }
|
adw = { package = "libadwaita", version = "0.7.0", features = ["v1_6"] }
|
||||||
anyhow = { version = "1.0.66", features = ["backtrace"] }
|
anyhow = { version = "1.0.66", features = ["backtrace"] }
|
||||||
arc-swap = "1.6.0"
|
arc-swap = "1.6.0"
|
||||||
ashpd = { version = "0.9.1", features = ["gtk4_wayland"] }
|
ashpd = { version = "0.9.1", features = ["gtk4_wayland"] }
|
||||||
|
|
|
||||||
19
meson.build
19
meson.build
|
|
@ -1,7 +1,10 @@
|
||||||
project('loupe', 'rust',
|
project(
|
||||||
|
'loupe',
|
||||||
|
'rust',
|
||||||
version: '47.alpha',
|
version: '47.alpha',
|
||||||
meson_version: '>= 0.59.0',
|
meson_version: '>= 0.59.0',
|
||||||
default_options: [ 'warning_level=2',
|
default_options: [
|
||||||
|
'warning_level=2',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -9,7 +12,7 @@ i18n = import('i18n')
|
||||||
gnome = import('gnome')
|
gnome = import('gnome')
|
||||||
|
|
||||||
dependency('gtk4', version: '>=4.13.6')
|
dependency('gtk4', version: '>=4.13.6')
|
||||||
dependency('libadwaita-1', version: '>=1.5.beta')
|
dependency('libadwaita-1', version: '>=1.6.alpha')
|
||||||
dependency('gweather4', version: '>=4.0.0')
|
dependency('gweather4', version: '>=4.0.0')
|
||||||
# Required by glycin crate
|
# Required by glycin crate
|
||||||
dependency('lcms2', version: '>=2.12.0')
|
dependency('lcms2', version: '>=2.12.0')
|
||||||
|
|
@ -45,8 +48,8 @@ app_id = 'org.gnome.Loupe@0@'.format(profile)
|
||||||
iv_version = meson.project_version() + version_suffix
|
iv_version = meson.project_version() + version_suffix
|
||||||
|
|
||||||
cargo_sources = files(
|
cargo_sources = files(
|
||||||
'Cargo.toml',
|
|
||||||
'Cargo.lock',
|
'Cargo.lock',
|
||||||
|
'Cargo.toml',
|
||||||
)
|
)
|
||||||
|
|
||||||
conf = configuration_data()
|
conf = configuration_data()
|
||||||
|
|
@ -77,6 +80,10 @@ gnome.post_install(
|
||||||
|
|
||||||
meson.add_dist_script(
|
meson.add_dist_script(
|
||||||
'build-aux/meson/dist-vendor.sh',
|
'build-aux/meson/dist-vendor.sh',
|
||||||
join_paths(meson.project_build_root(), 'meson-dist', meson.project_name() + '-' + meson.project_version()),
|
join_paths(
|
||||||
meson.project_source_root()
|
meson.project_build_root(),
|
||||||
|
'meson-dist',
|
||||||
|
meson.project_name() + '-' + meson.project_version(),
|
||||||
|
),
|
||||||
|
meson.project_source_root(),
|
||||||
)
|
)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue