build: Switch to GTK4 and libadwaita

Switch the build system to GTK4 and libadwaita, instead of GTK3
and libhandy.

This commit breaks the build.
This commit is contained in:
Georges Basile Stavracas Neto 2022-07-07 21:20:30 -03:00
parent 52b4b490f3
commit c31640fa12
7 changed files with 19 additions and 14 deletions

View file

@ -27,9 +27,9 @@ malcontent_control = executable('malcontent-control',
dependency('gio-2.0', version: '>= 2.44'),
dependency('glib-2.0', version: '>= 2.54.2'),
dependency('gobject-2.0', version: '>= 2.54'),
dependency('gtk+-3.0'),
dependency('gtk4', version: '>= 4.6'),
dependency('polkit-gobject-1'),
libhandy_dep,
libadwaita_dep,
libmalcontent_dep,
libmalcontent_ui_dep,
],
@ -84,7 +84,7 @@ if xmllint.found()
'validate-ui', xmllint,
args: [
'--nonet', '--noblanks', '--noout',
'--relaxng', join_paths(gtk_prefix, 'share', 'gtk-3.0', 'gtkbuilder.rng'),
'--relaxng', join_paths(gtk_prefix, 'share', 'gtk-4.0', 'gtk4builder.rng'),
files(
'carousel.ui',
'main.ui',