packages: gtk-webkit/gtk-webkit.spec - introspection bcond
glen
glen at pld-linux.org
Tue Jul 13 16:24:17 CEST 2010
Author: glen Date: Tue Jul 13 14:24:17 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- introspection bcond
---- Files affected:
packages/gtk-webkit:
gtk-webkit.spec (1.93 -> 1.94)
---- Diffs:
================================================================
Index: packages/gtk-webkit/gtk-webkit.spec
diff -u packages/gtk-webkit/gtk-webkit.spec:1.93 packages/gtk-webkit/gtk-webkit.spec:1.94
--- packages/gtk-webkit/gtk-webkit.spec:1.93 Tue Jul 13 11:50:54 2010
+++ packages/gtk-webkit/gtk-webkit.spec Tue Jul 13 16:24:12 2010
@@ -1,5 +1,9 @@
# $Revision$, $Date$
# TODO: optflags
+#
+# Conditional build:
+%bcond_without introspection # disable introspection
+
Summary: Port of WebKit embeddable web component to GTK+
Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+
Name: gtk-webkit
@@ -19,10 +23,10 @@
BuildRequires: fontconfig-devel >= 2.4.0
BuildRequires: geoclue-devel
BuildRequires: gettext-devel
-BuildRequires: gir-repository-devel
+%{?with_introspection:BuildRequires: gir-repository-devel}
BuildRequires: glib2-devel >= 1:2.22.0
BuildRequires: glibc-misc
-BuildRequires: gobject-introspection-devel >= 0.6.2
+%{?with_introspection:BuildRequires: gobject-introspection-devel >= 0.6.2}
BuildRequires: gperf
BuildRequires: gstreamer-devel >= 0.10
BuildRequires: gstreamer-plugins-base-devel >= 0.10.25
@@ -42,7 +46,7 @@
BuildRequires: xorg-lib-libXt-devel
Requires: gtk+2 >= 2:2.20.0
Requires: libsoup >= 2.30.0
-Conflicts: gir-repository < 0.6.5-7
+%{?with_introspection:Conflicts: gir-repository < 0.6.5-7}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -87,7 +91,7 @@
--enable-dom-storage \
--enable-geolocation \
--enable-icon-database \
- --enable-introspection \
+ --%{!?with_introspection:dis}%{?with_introspection:en}able-introspection \
--enable-video
%{__make}
@@ -111,8 +115,10 @@
%attr(755,root,root) %{_bindir}/jsc
%attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2
+%if %{with introspection}
%{_libdir}/girepository-1.0/JSCore-1.0.typelib
%{_libdir}/girepository-1.0/WebKit-1.0.typelib
+%endif
%dir %{_datadir}/webkit-1.0
%{_datadir}/webkit-1.0/images
%{_datadir}/webkit-1.0/resources
@@ -122,8 +128,10 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libwebkit-1.0.so
%{_libdir}/libwebkit-1.0.la
+%if %{with introspection}
%{_datadir}/gir-1.0/JSCore-1.0.gir
%{_datadir}/gir-1.0/WebKit-1.0.gir
+%endif
%{_includedir}/webkit-1.0
%{_pkgconfigdir}/webkit-1.0.pc
@@ -133,6 +141,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.94 2010/07/13 14:24:12 glen
+- introspection bcond
+
Revision 1.93 2010/07/13 09:50:54 pawelz
- up to 1.2.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtk-webkit/gtk-webkit.spec?r1=1.93&r2=1.94&f=u
More information about the pld-cvs-commit
mailing list