2022-01-07 12:53:21 +01:00
|
|
|
# Description: Building blocks for modern GNOME applications
|
|
|
|
# URL: https://gitlab.gnome.org/GNOME/libadwaita
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-09-16 10:04:02 +02:00
|
|
|
# Depends on: appstream gtk4 wayland-protocols
|
2022-01-07 12:53:21 +01:00
|
|
|
|
|
|
|
name=libadwaita
|
2024-05-24 23:53:57 +02:00
|
|
|
version=1.5.1
|
2022-01-07 12:53:21 +01:00
|
|
|
release=1
|
|
|
|
source=(https://gitlab.gnome.org/GNOME/libadwaita/-/archive/$version/libadwaita-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
prt-get isinst vala || PKGMK_LIBADWAITA+=' -D vapi=false'
|
2022-04-23 12:06:33 +02:00
|
|
|
|
2022-01-07 12:53:21 +01:00
|
|
|
meson setup $name-$version build $PKGMK_LIBADWAITA \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
2023-02-12 13:20:32 +01:00
|
|
|
-D b_lto=true \
|
2022-01-07 12:53:21 +01:00
|
|
|
-D b_pie=true \
|
|
|
|
-D examples=false \
|
|
|
|
-D tests=false
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2022-04-23 12:06:33 +02:00
|
|
|
|
2022-01-07 12:53:21 +01:00
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
}
|