27 lines
726 B
Plaintext
27 lines
726 B
Plaintext
# Description: Building blocks for modern GNOME applications
|
|
# URL: https://gitlab.gnome.org/GNOME/libadwaita
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: appstream gtk4 wayland-protocols
|
|
|
|
name=libadwaita
|
|
version=1.5.0
|
|
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'
|
|
|
|
meson setup $name-$version build $PKGMK_LIBADWAITA \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D examples=false \
|
|
-D tests=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|