253.6. libadwaita-1.10.0
GNOME's building blocks for GTK 4 applications — adaptive widgets and styles
1.10.0-1 · LGPL-2.1-or-later · 2.8 SBU · 5.2 MiB, 101 files · 43_toolkits, 163 of 344 · ports/core/gtk/libadwaita
Homepage: https://gnome.pages.gitlab.gnome.org/libadwaita/
libadwaita is GNOME’s library of building blocks for gtk4 applications: the Adwaita stylesheet, adaptive widgets that rearrange for a narrow window (split views, navigation views, view switchers), preference windows, toasts and dialogs, and AdwStyleManager, which follows the desktop’s light or dark preference. Many of the tree’s GTK 4 applications are built on it.
Depends on: meson, glib, gtk4, fribidi, gobject-introspection, glib-introspection, vala.
Required by (11): celluloid, deja-dup, dino, gnome-mahjongg, gnome-mines, gnome-sudoku, gthumb, impression, lxi-tools, resources, zenity.
Sources: libadwaita-1.10.0.tar.xz (2.8 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libadwaita'
build.sh:
meson setup build \
--prefix=/usr --sysconfdir=/etc --libdir=lib \
--buildtype=release \
--wrap-mode=nodownload \
-Dintrospection=enabled \
-Dvapi=true \
-Ddocumentation=false \
-Dtests=false \
-Dexamples=false \
-Dprofiling=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build
--wrap-mode=nodownload— Never download a meson subproject. The source carries wrap files for GTK, sassc and gi-docgen, and a copy of ministream undersubprojects/, which is built from that copy. With downloads forbidden, a missing gtk4 stops the configure instead of being answered by a GTK cloned and built inside the port.-Dintrospection=enabled— GenerateAdw-1.girand its typelib. Upstream’s default isauto; namedenabled, a missing gobject-introspection is an error instead of a library without the data. A Python or JavaScript application uses libadwaita through the typelib.-Dvapi=true— Generate the Vala bindings, for which vala is independs.-Dexamples=false— Build neither the demo application,adwaita-1-demo, which upstream installs, nor thehelloexample, which it builds without installing. Both are on by default.-Dprofiling=false— No-pgprofiling instrumentation, upstream’s default.
Libraries: libadwaita-1.so.
Directories: /usr/include/libadwaita-1, /usr/share/licenses/libadwaita.