From 5452ce7d4e86b822a3ff53f1156af5ddaeeb7655 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 12 Oct 2018 15:17:34 +0200 Subject: [PATCH] zenity: add webkit build_option --- srcpkgs/zenity/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/zenity/template b/srcpkgs/zenity/template index f3cbc5b6a9d..ff0ae410627 100644 --- a/srcpkgs/zenity/template +++ b/srcpkgs/zenity/template @@ -3,11 +3,17 @@ pkgname=zenity version=3.30.0 revision=1 build_style=gnu-configure +configure_args="$(vopt_enable webkit webkitgtk)" hostmakedepends="gettext-devel itstool perl pkg-config" -makedepends="gtk+3-devel libglib-devel libnotify-devel webkit2gtk-devel" +makedepends="gtk+3-devel libglib-devel libnotify-devel $(vopt_if webkit webkit2gtk-devel)" short_desc="Display GNOME dialogs from the command line" maintainer="Rasmus Thomsen " license="LGPL-2.0-or-later" homepage="https://help.gnome.org/users/zenity/" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=995ef696616492c40be6da99919851d41faed6643a97c9d24743b46bc8b537f2 + +build_options="webkit" +build_options_default="webkit" + +desc_option_webkit="Enable support for webkit"