From 695c2bfd0656baea3cdf463f8fbc0d1d7681e5ce Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 11 Jan 2016 17:54:33 +0100 Subject: [PATCH] buildrequire libXinerama --- conky.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conky.spec b/conky.spec index 87e299c..edd5f5a 100644 --- a/conky.spec +++ b/conky.spec @@ -17,6 +17,7 @@ %bcond_without weather_xoap %bcond_without wlan %bcond_without xdbe +%bcond_without xinerama Name: conky Version: 1.10.1 @@ -44,6 +45,7 @@ BuildRequires: lua-devel %{?with_weather:BuildRequires: curl-devel} %{?with_weather_xoap:BuildRequires: libxml2-devel} %{?with_wlan:BuildRequires: wireless-tools-devel} +%{?with_xinerama:BuildRequires: libXinerama-devel} # needed to generate documentation in the git snapshot BuildRequires: docbook2X docbook-style-xsl man BuildRequires: cmake git @@ -85,6 +87,7 @@ done %{?with_weather_xoap: -DBUILD_WEATHER_XOAP=ON} \ %{?with_wlan: -DBUILD_WLAN=ON} \ %{?with_xdbe: -DBUILD_XDBE=ON} \ + %{?!with_xinerama: -DBUILD_XINERAMA=OFF} \ . make %{?_smp_mflags}