[packages/synapse] add zeitgeist bcond disabled by default
atler
atler at pld-linux.org
Sun Sep 2 14:47:44 CEST 2018
commit c00b93263aae4713744c7077df5606bf3d774ead
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Sep 2 14:41:45 2018 +0200
add zeitgeist bcond disabled by default
synapse.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/synapse.spec b/synapse.spec
index 001a3d0..79c9d8d 100644
--- a/synapse.spec
+++ b/synapse.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with zeitgeist # build with zeitgeist support (causes stability issues)
+
Summary: Application launcher
Name: synapse
Version: 0.2.99.3
@@ -24,8 +28,10 @@ BuildRequires: rest-devel >= 0.7
BuildRequires: vala >= 0.16.0
BuildRequires: vala-libappindicator-gtk3
BuildRequires: vala-libgee >= 0.6.4
+%if %{with zeitgeist}
BuildRequires: vala-zeitgeist >= 0.9.14
BuildRequires: zeitgeist-devel >= 0.9.14
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -47,7 +53,7 @@ files by making use of the Zeitgeist engine.
%configure \
--disable-silent-rules \
--enable-librest=yes \
- --enable-zeitgeist=yes
+ %{__enable_disable zeitgeist}
%{__make}
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/synapse.git/commitdiff/1182eafc90abcb9bd17984857bb16ea9c927dd92
More information about the pld-cvs-commit
mailing list