SPECS: xvidcap.spec - add system-ffmpeg bcond
glen
glen at pld-linux.org
Thu Feb 21 18:21:15 CET 2008
Author: glen Date: Thu Feb 21 17:21:15 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add system-ffmpeg bcond
---- Files affected:
SPECS:
xvidcap.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: SPECS/xvidcap.spec
diff -u SPECS/xvidcap.spec:1.29 SPECS/xvidcap.spec:1.30
--- SPECS/xvidcap.spec:1.29 Wed Feb 13 01:26:28 2008
+++ SPECS/xvidcap.spec Thu Feb 21 18:21:10 2008
@@ -1,6 +1,9 @@
# $Revision$, $Date$
+# TODO
+# - gnome docs
#
-# TODO: gnome docs
+# Conditional build:
+%bcond_without system_ffmpeg # use system ffmpeg
#
Summary: XVidCap - Video Capture for X
Summary(pl.UTF-8): XVidCap - przechwytywanie obrazu dla X
@@ -16,10 +19,10 @@
URL: http://xvidcap.sourceforge.net/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
-BuildRequires: ffmpeg-devel >= 0.4.9-3.20050806
+%{?with_system_ffmpeg:BuildRequires: ffmpeg-devel >= 0.4.9-3.20050806}
BuildRequires: gtk+2-devel >= 2.0.0
-BuildRequires: libjpeg-devel
BuildRequires: libglade2-devel
+BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: pkgconfig
BuildRequires: scrollkeeper
@@ -57,7 +60,7 @@
%{__autoheader}
%{__automake}
%configure \
- --without-forced-embedded-ffmpeg
+ %{?with_system_ffmpeg:--without-forced-embedded-ffmpeg}
%{__make}
%install
@@ -74,7 +77,7 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc ChangeLog README TODO.tasks
+%doc ChangeLog README TODO.tasks
%attr(755,root,root) %{_bindir}/*
%dir %{_datadir}/%{name}
%attr(755,root,root) %{_datadir}/%{name}/ppm2mpeg.sh
@@ -94,6 +97,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2008-02-21 17:21:10 glen
+- add system-ffmpeg bcond
+
Revision 1.29 2008-02-13 00:26:28 wolvverine
- rel.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xvidcap.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list