[uzbl] Add conditional support for webkitgtk3

Ben Boeckel mathstuf at fedoraproject.org
Tue Oct 25 16:07:16 UTC 2011


commit e3dccf87c797cced6067a8b44d120bb5b27c9185
Author: Ben Boeckel <MathStuf at gmail.com>
Date:   Tue Oct 25 12:04:27 2011 -0400

    Add conditional support for webkitgtk3

 uzbl.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/uzbl.spec b/uzbl.spec
index 3ecb0cc..d7280bf 100644
--- a/uzbl.spec
+++ b/uzbl.spec
@@ -1,5 +1,6 @@
 %global		uzblcommit	9576f59f05
 %global		vim_version	73
+%global		use_webkitgtk3	1
 
 Name:		uzbl
 Summary:	Lightweight WebKit browser following the UNIX philosophy
@@ -20,7 +21,11 @@ Source1:	%{name}.desktop
 Patch0:		%{name}-makefile.patch
 Patch1:		0001-Fedora-specific-error-messages-on-no-configs.patch
 
+%if %{use_webkitgtk3}
+BuildRequires:	webkitgtk3-devel
+%else
 BuildRequires:	webkitgtk-devel
+%endif
 BuildRequires:	desktop-file-utils
 BuildRequires:	pkgconfig
 
@@ -173,6 +178,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %changelog
 * Tue Oct 25 2011 Ben Boeckel <mathstuf at gmail.com> - 0-0.26.20111001git9576f59f05
 - New upstream snapshot
+- Add conditional support for webkitgtk3
 
 * Mon Apr  4 2011 Daiki Ueno <dueno at redhat.com> - 0-0.25.20110402gite7578e27c
 - New upstream snapshot


More information about the scm-commits mailing list