[packages/zenity] add webkit bcond
atler
atler at pld-linux.org
Sat May 2 19:37:26 CEST 2020
commit bb2330bff66340016e70568ddf53e9cfe9a2a4b3
Author: Jan Palus <atler at pld-linux.org>
Date: Sat May 2 19:36:05 2020 +0200
add webkit bcond
zenity.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/zenity.spec b/zenity.spec
index 558d34e..02ab5be 100644
--- a/zenity.spec
+++ b/zenity.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without webkit # build without webkit
+
Summary: The GNOME port of dialog
Summary(pl.UTF-8): Port programu dialog dla GNOME
Name: zenity
@@ -14,7 +18,7 @@ BuildRequires: gettext-tools >= 0.19.4
BuildRequires: glib2-devel >= 1:2.14.0
BuildRequires: gnome-common >= 2.20.0
BuildRequires: gtk+3-devel >= 3.0.0
-BuildRequires: gtk-webkit4-devel >= 2.8.1
+%{?with_webkit:BuildRequires: gtk-webkit4-devel >= 2.8.1}
BuildRequires: libnotify-devel >= 0.6.1
BuildRequires: perl-base
BuildRequires: pkgconfig
@@ -24,7 +28,7 @@ BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRequires: yelp-tools
Requires: gtk+3 >= 3.0.0
-Requires: gtk-webkit4 >= 2.8.1
+%{?with_webkit:Requires: gtk-webkit4 >= 2.8.1}
Requires: libnotify >= 0.6.1
# sr at Latn vs. sr at latin
Conflicts: glibc-misc < 6:2.7
@@ -48,7 +52,8 @@ ze skryptów powłoki.
%{__autoconf}
%{__automake}
%configure \
- --disable-silent-rules
+ --disable-silent-rules \
+ %{__enable_disable webkit webkitgtk}
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zenity.git/commitdiff/bb2330bff66340016e70568ddf53e9cfe9a2a4b3
More information about the pld-cvs-commit
mailing list