packages: moc/moc.spec - added ffmpeg bcond
sls
sls at pld-linux.org
Sun Sep 18 22:00:32 CEST 2011
Author: sls Date: Sun Sep 18 20:00:32 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- added ffmpeg bcond
---- Files affected:
packages/moc:
moc.spec (1.56 -> 1.57)
---- Diffs:
================================================================
Index: packages/moc/moc.spec
diff -u packages/moc/moc.spec:1.56 packages/moc/moc.spec:1.57
--- packages/moc/moc.spec:1.56 Fri Sep 9 21:10:22 2011
+++ packages/moc/moc.spec Sun Sep 18 22:00:27 2011
@@ -2,6 +2,7 @@
#
# bconds:
%bcond_without home_etc # disable HOME_ETC support
+%bcond_without ffmpeg # disable ffmpeg
#
Summary: Console audio player with simple ncurses interface
Summary(hu.UTF-8): Konzolos audiólejátszó egyszerű ncurses felülettel
@@ -21,7 +22,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: curl-devel
-BuildRequires: ffmpeg-devel >= 0.4.9-4.20080822.1
+%{?with_ffmpeg:BuildRequires: ffmpeg-devel >= 0.4.9-4.20080822.1}
BuildRequires: flac-devel >= 1.1.3
BuildRequires: libao-devel
BuildRequires: libid3tag-devel
@@ -228,6 +229,7 @@
%{__autoconf}
%{__automake}
%configure \
+ %{!?with_ffmpeg:--without-ffmpeg} \
--disable-debug
%{__make} \
@@ -263,9 +265,11 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_decoder_plugins}/libflac_decoder.so*
+%if %{with ffmpeg}
%files ffmpeg
%defattr(644,root,root,755)
%attr(755,root,root) %{_decoder_plugins}/libffmpeg_decoder.so
+%endif
%files mp3
%defattr(644,root,root,755)
@@ -289,6 +293,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.57 2011/09/18 20:00:27 sls
+- added ffmpeg bcond
+
Revision 1.56 2011/09/09 19:10:22 arekm
- release 8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/moc/moc.spec?r1=1.56&r2=1.57&f=u
More information about the pld-cvs-commit
mailing list