]> git.pld-linux.org Git - packages/gg2.git/commitdiff
- xosd bcond
authorfreetz <freetz@pld-linux.org>
Mon, 16 May 2005 09:56:48 +0000 (09:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gg2.spec -> 1.141

gg2.spec

index b1ffa9b0f994c3512b9273359234a2f9d85340c5..bb791b99c6f7e6983fff8ef0165c5c6944b9101b 100644 (file)
--- a/gg2.spec
+++ b/gg2.spec
@@ -4,6 +4,7 @@
 %bcond_without esd             # without EsounD sound support
 %bcond_without dbus            # without DBUS support
 %bcond_without gtkspell        # without gtkspell support
+%bcond_without xosd            # without xosd support
 %bcond_with    perl            # with perl support
 #
 Summary:       GNU Gadu 2 - free talking
@@ -34,7 +35,7 @@ BuildRequires:        libtool
 BuildRequires: loudmouth-devel >= 0.17.1
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pkgconfig
-BuildRequires: xosd-devel >= 2.0.0
+%{?with_xosd:BuildRequires:    xosd-devel >= 2.0.0}
 %if %{with perl}
 BuildRequires: perl-devel
 Requires:      perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
@@ -440,7 +441,7 @@ Motywy graficzne dla GUI GNU Gadu 2.
        --with-gadu \
        --with-tlen \
        --with-jabber \
-       --with-xosd \
+       --with%{!?with_xosd:out}-xosd \
        --with-sms \
        --with-docklet_system_tray \
        --with-docklet_dockapp \
@@ -541,9 +542,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/gg2/libsound_arts_plugin.so
 %endif
 
+%if %{with xosd}
 %files plugin-xosd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
+%endif
 
 %files plugin-docklet-system-tray
 %defattr(644,root,root,755)
This page took 0.090408 seconds and 4 git commands to generate.