SPECS (AC-branch): audacious-plugins.spec - bcond for build aosd p...

arvenil arvenil at pld-linux.org
Sat May 19 00:49:21 CEST 2007


Author: arvenil                      Date: Fri May 18 22:49:21 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- bcond for build aosd plugin
  (because it requires pango >= 1.14.7 but in AC is only 1.12.4)

---- Files affected:
SPECS:
   audacious-plugins.spec (1.21 -> 1.21.2.1) 

---- Diffs:

================================================================
Index: SPECS/audacious-plugins.spec
diff -u SPECS/audacious-plugins.spec:1.21 SPECS/audacious-plugins.spec:1.21.2.1
--- SPECS/audacious-plugins.spec:1.21	Wed May  9 21:38:14 2007
+++ SPECS/audacious-plugins.spec	Sat May 19 00:49:14 2007
@@ -1,7 +1,11 @@
 # $Revision$, $Date$
-# TODO: build plugin dependent on libprojectM
+# TODO:
+# - build plugin dependent on libprojectM
+# - build aosd plugin by default, now there is a bcond because
+#   aosd plugin requires pango >= 1.14.7 but in AC is 1.12.4
 #
 # Conditional build:
+%bcond_with	aosd		# build with aosd plugin
 %bcond_with	gconf		# build with gconf support
 %bcond_with	gnomevfs	# build with GNOME VFS support
 #
@@ -39,7 +43,7 @@
 BuildRequires:	libsndfile-devel >= 0.19
 BuildRequires:	libvorbis-devel >= 1:1.0
 BuildRequires:	lirc-devel
-BuildRequires:	pango-devel >= 1.14.7
+%{?with_aosd:BuildRequires:	pango-devel >= 1.14.7}
 BuildRequires:	pkgconfig
 BuildRequires:	pulseaudio-devel >= 0.9.3
 BuildRequires:	taglib-devel >= 1.4
@@ -56,7 +60,7 @@
 Requires:	audacious-effect-stereo = %{version}-%{release}
 Requires:	audacious-effect-voice_removal = %{version}-%{release}
 Requires:	audacious-general-alarm = %{version}-%{release}
-Requires:	audacious-general-aosd = %{version}-%{release}
+%{?with_aosd:Requires:	audacious-general-aosd = %{version}-%{release}}
 Requires:	audacious-general-audioscrobbler = %{version}-%{release}
 Requires:	audacious-general-curl = %{version}-%{release}
 Requires:	audacious-general-evdev = %{version}-%{release}
@@ -251,6 +255,7 @@
 %description -n audacious-general-alarm -l pl.UTF-8
 Wtyczka alarm dla odtwarzacza multimedialnego Audacious.
 
+%if %{with aosd}
 %package -n audacious-general-aosd
 Summary:	Audacious media player - aosd plugin
 Summary(pl.UTF-8):	Wtyczka aosd odtwarzacza multimedialnego Audacious
@@ -262,6 +267,7 @@
 
 %description -n audacious-general-aosd -l pl.UTF-8
 Wtyczka aosd dla odtwarzacza multimedialnego Audacious.
+%endif
 
 %package -n audacious-general-audioscrobbler
 Summary:	Audacious media player - audioscrobbler.com plugin
@@ -885,9 +891,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/audacious/General/libalarm.so
 
+%if %{with aosd}
 %files -n audacious-general-aosd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/audacious/General/libaosd.so
+%endif
 
 %files -n audacious-general-audioscrobbler
 %defattr(644,root,root,755)
@@ -1070,6 +1078,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21.2.1  2007/05/18 22:49:14  arvenil
+- bcond for build aosd plugin
+  (because it requires pango >= 1.14.7 but in AC is only 1.12.4)
+
 Revision 1.21  2007/05/09 19:38:14  qboosh
 - -devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/audacious-plugins.spec?r1=1.21&r2=1.21.2.1&f=u



More information about the pld-cvs-commit mailing list