SPECS: swfdec.spec - gimp bcond

freetz freetz at pld-linux.org
Mon Sep 5 17:31:47 CEST 2005


Author: freetz                       Date: Mon Sep  5 15:31:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gimp bcond

---- Files affected:
SPECS:
   swfdec.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/swfdec.spec
diff -u SPECS/swfdec.spec:1.36 SPECS/swfdec.spec:1.37
--- SPECS/swfdec.spec:1.36	Sun Jul  3 09:48:20 2005
+++ SPECS/swfdec.spec	Mon Sep  5 17:31:40 2005
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 # Conditional build:
 %bcond_without	gstreamer	# build without gstreamer/mozilla plugin
-#				  (for bootstrap)
+				# (for bootstrap)
+%bcond_without	gimp		# don't build gimp plugin
 #
 Summary:	Flash animations redering library
 Summary(pl):	Biblioteka renderująca animacje flash
@@ -17,7 +18,7 @@
 BuildRequires:	SDL-devel >= 1.2.5
 BuildRequires:	autoconf >= 2.58
 BuildRequires:	automake >= 1.6
-BuildRequires:	gimp-devel >= 1:2.0.0
+%{?with_gimp:BuildRequires:	gimp-devel >= 1:2.0.0}
 %if %{with gstreamer}
 BuildRequires:	gstreamer-devel >= 0.8.0
 BuildRequires:	gstreamer-GConf-devel >= 0.8.0
@@ -35,7 +36,8 @@
 Obsoletes:	libswfdec0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		gimpplugindir	%(gimptool --gimpplugindir)/plug-ins
+
+%{?with_gimp:%define		gimpplugindir	%(gimptool --gimpplugindir)/plug-ins}
 
 %description
 Libswfdec is a library for rendering Flash animations. Currently it
@@ -152,9 +154,11 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libswfdec-*.a
 
+%if %{with gimp}
 %files -n gimp-plugin-%{name}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{gimpplugindir}/swf
+%endif
 
 %if %{with gstreamer}
 %files -n mozilla-plugin-%{name}
@@ -168,6 +172,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2005/09/05 15:31:40  freetz
+- gimp bcond
+
 Revision 1.36  2005/07/03 07:48:20  freetz
 - crash circular build dependency (gstreamer bcond for bootstrap)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/swfdec.spec?r1=1.36&r2=1.37&f=u




More information about the pld-cvs-commit mailing list