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}