Date: Saturday, March 18, 2023 @ 01:18:02
  Author: heftig
Revision: 471425

3.44.0-3: FS#77883 reenable libnotify support

Modified:
  zenity/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-18 01:17:30 UTC (rev 471424)
+++ PKGBUILD    2023-03-18 01:18:02 UTC (rev 471425)
@@ -3,13 +3,20 @@
 
 pkgname=zenity
 pkgver=3.44.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Display graphical dialog boxes from shell scripts"
 url="https://gitlab.gnome.org/GNOME/zenity";
 arch=(x86_64)
 license=(LGPL)
-depends=(gtk3)
-makedepends=(yelp-tools meson git)
+depends=(
+  gtk3
+  libnotify
+)
+makedepends=(
+  git
+  meson
+  yelp-tools
+)
 optdepends=('perl: gdialog wrapper')
 _commit=7bf8c8910d34bfb2b883b32118b93b68d44dd77b  # tags/3.44.0^0
 source=("git+https://gitlab.gnome.org/GNOME/zenity.git#commit=$_commit";)
@@ -25,7 +32,11 @@
 }
 
 build() {
-  arch-meson zenity build
+  local meson_options=(
+    -D libnotify=true
+  )
+
+  arch-meson zenity build "${meson_options[@]}"
   meson compile -C build
 }
 

Reply via email to