29 lines
808 B
Plaintext
29 lines
808 B
Plaintext
# Description: Display graphical dialog boxes from shell scripts.
|
|
# URL: https://gitlab.gnome.org/GNOME/zenity
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: libadwaita
|
|
# Optional: help2man libnotify webkitgtk
|
|
|
|
name=zenity
|
|
version=4.0.1
|
|
release=1
|
|
source=(https://download.gnome.org/sources/$name/${version:0:3}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst help2man || PKGMK_ZENITY+=' -D manpage=false'
|
|
# disabled for now as it requires webkitgtk4.1
|
|
prt-get isinst webkitgtk && PKGMK_ZENITY+=' -D webkitgtk=false'
|
|
|
|
meson setup $name-$version build $PKGMK_ZENITY \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/{locale,help}
|
|
}
|