zenity: adopted port

This commit is contained in:
Tim Biermann 2023-08-06 19:31:25 +02:00
parent d5acd6c6ac
commit 29a60453e5
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 14 additions and 13 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF305zYZHeuaftAICCUnQCVWcK9hx10AC4rvATXlJgzOLatiuIOGyLeAkNx4oY/0zRoR8nIM8lSyXehCa7poHKkgQ=
SHA256 (Pkgfile) = 2a6e4c5d16e2fec9f545de20f6998ec7f1024ddcaf1a0ec16074f9f1106b6e44
RWSagIOpLGJF3/WdP/my7nNIsjhz4njdvd2CPfr3qgPuvcgv7iFksL/gHhBHb1kr2FEXetiZy59DcmvK2qvfvwmZRFomS8qU1AY=
SHA256 (Pkgfile) = 2bcffbdac4b1edad795f5f6f3b8a7e6cf3f38796aa786c07bd6260908d8f4f7c
SHA256 (.footprint) = ae74dc3a614ffe5bf32e604a967bc07980270b6fdd40376131797fdef9bd280d
SHA256 (zenity-3.44.1.tar.xz) = d65400aec965411f4c0b3d8e0e0dac54be55d807a29279697537da2dfee93eaa

View File

@ -1,7 +1,7 @@
# Description: Display graphical dialog boxes from shell scripts.
# URL: https://gitlab.gnome.org/GNOME/zenity
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gtk3 itstool
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gtk3
# Optional: libnotify webkitgtk
name=zenity
@ -10,15 +10,16 @@ release=1
source=(https://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
prt-get isinst webkitgtk && PKGMK_ZENITY+=' -D webkitgtk=true'
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
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/{locale,help}
rm -r $PKG/usr/share/{locale,help}
}