SPECS: LiVES.spec - added bconds: sdl, mjpeg, libvisual, jack, dvg...

sls sls at pld-linux.org
Mon Nov 26 12:53:41 CET 2007


Author: sls                          Date: Mon Nov 26 11:53:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bconds: sdl, mjpeg, libvisual, jack, dvgrab
- BR: liboil-devel
- added witout_sdl.patch
- more verbose files

---- Files affected:
SPECS:
   LiVES.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/LiVES.spec
diff -u SPECS/LiVES.spec:1.39 SPECS/LiVES.spec:1.40
--- SPECS/LiVES.spec:1.39	Mon Nov 26 10:35:29 2007
+++ SPECS/LiVES.spec	Mon Nov 26 12:53:35 2007
@@ -4,6 +4,13 @@
 # - some platform-independent left in %{_libdir}
 # - LiVES req LiVES-plugins which req LiVES; it sucks
 
+# Conditional build:
+%bcond_without	sdl		# build without SDL plugin
+%bcond_without	mjpeg		# build without mjpegtools plugin
+%bcond_without	libvisual	# disable libvisual support
+%bcond_without	jack		# without JACKD support
+%bcond_without	dvgrab		# build without dv grabbing support
+
 %define		_sname		lives
 
 Summary:	LiVES - the Linux Video Editing System
@@ -18,16 +25,21 @@
 Source1:	%{name}.desktop
 Patch0:		%{name}-FHS.patch
 Patch1:		%{name}-automake.patch
+Patch2:		%{name}-without_sdl.patch
 URL:		http://www.xs4all.nl/~salsaman/lives/
-BuildRequires:	SDL-devel
+%{?with_sdl:BuildRequires:	SDL-devel}
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	gettext-devel >= 0.14.1
 BuildRequires:	gtk+2-devel >= 2.0.0
+%{?with_jack:BuildRequires:	jack-audio-connection-kit-devel}
+%{?with_dvgrab:BuildRequires:	libavc1394-devel}
+BuildRequires:	liboil-devel
+%{?with_dvgrab:BuildRequires:	libraw1394-devel}
 BuildRequires:	libtheora-devel
 BuildRequires:	libtool
-BuildRequires:	libvisual-devel
-BuildRequires:	mjpegtools-devel
+%{?with_libvisual:BuildRequires:	libvisual-devel}
+%{?with_mjpeg:BuildRequires:	mjpegtools-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	sed >= 4.0
 BuildRequires:	xorg-util-imake
@@ -90,6 +102,7 @@
 %setup -qn %{_sname}-%{version}
 %patch0 -p1
 %patch1 -p1
+%{!?with_sdl:%patch2 -p1}
 
 # wrrr
 sed -i -e 's,/share/,/%{_lib}/,' po/pxgettext po/make_rfx_builtin_list.pl
@@ -100,6 +113,8 @@
 %{__automake}
 # hack: DATADIRNAME defined too late in configure
 %configure \
+	%{!?with_dvgrab:--disable-dvgrab} \
+	%{!?with_sdl:--disable-sdl} \
 	DATADIRNAME=share
 %{__make} \
 	CFLAGS="%{rpmcflags} -fPIC"
@@ -174,15 +189,47 @@
 %attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/RFXscripts/*.script
 %dir %{_datadir}/%{_sname}/plugins/effects/realtime
 %dir %{_datadir}/%{_sname}/plugins/effects/realtime/weed
-%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/*wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/alien_overlay.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/audio_volume.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/blurzoom.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/bump2d.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/ccorrect.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/colorkey.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/compositor.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/deinterlace.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/edge.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/fg_bg_removal.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/fireTV.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/gdk_fast_resize.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/haip.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/layout_blends.wo
+%{?with_libvisual:%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/libvis.wo}
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/lifeTV.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/mirrors.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/multi_blends.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/negate.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/noise.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/onedTV.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/plasma.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/posterise.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/rippleTV.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/rotozoom.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/simple_blend.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/slide_over.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/targeted_zoom.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/textfun.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/vertigo.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/videowall.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/warpTV.wo
+%attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/realtime/weed/xeffect.wo
 %dir %{_datadir}/%{_sname}/plugins/effects/rendered
 %attr(755,root,root) %{_datadir}/%{_sname}/plugins/effects/rendered/*
 %dir %{_datadir}/%{_sname}/plugins/encoders
 %attr(755,root,root) %{_datadir}/%{_sname}/plugins/encoders/*
 %dir %{_datadir}/%{_sname}/plugins/playback
 %dir %{_datadir}/%{_sname}/plugins/playback/video
-%attr(755,root,root) %{_datadir}/%{_sname}/plugins/playback/video/SDLp
-%attr(755,root,root) %{_datadir}/%{_sname}/plugins/playback/video/yuv4mpeg_stream
+%{?with_sdl:%attr(755,root,root) %{_datadir}/%{_sname}/plugins/playback/video/SDLp}
+%{?with_mjpeg:%attr(755,root,root) %{_datadir}/%{_sname}/plugins/playback/video/yuv4mpeg_stream}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -190,6 +237,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2007-11-26 11:53:35  sls
+- added bconds: sdl, mjpeg, libvisual, jack, dvgrab
+- BR: liboil-devel
+- added witout_sdl.patch
+- more verbose files
+
 Revision 1.39  2007-11-26 09:35:29  sls
 - license GPL v3
 - more verbose files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/LiVES.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list