Author: qboosh                       Date: Fri Jan 27 15:18:52 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated install time orc dependencies
- added opengl bcond (not working atm. because of missing files)

---- Files affected:
packages/schroedinger:
   schroedinger.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/schroedinger/schroedinger.spec
diff -u packages/schroedinger/schroedinger.spec:1.10 
packages/schroedinger/schroedinger.spec:1.11
--- packages/schroedinger/schroedinger.spec:1.10        Fri Jan 27 10:40:00 2012
+++ packages/schroedinger/schroedinger.spec     Fri Jan 27 16:18:47 2012
@@ -1,4 +1,9 @@
 # $Revision$, $Date$
+# TODO: CUDA (as bcond)
+#
+# Conditional build:
+%bcond_with    opengl  # OpenGL rendering backend (disabled by default) 
[missing files as of 1.0.11]
+#
 Summary:       Library for decoding and encoding video in the Dirac format
 Summary(pl.UTF-8):     Biblioteka do dekodowania i kodowania obrazu w formacie 
Dirac
 Name:          schroedinger
@@ -10,15 +15,18 @@
 # Source0-md5: da6af08e564ca1157348fb8d92efc891
 Patch0:                %{name}-opt.patch
 URL:           http://www.diracvideo.org/
+%{?with_opengl:BuildRequires:  OpenGL-devel}
 BuildRequires: autoconf >= 2.58
 BuildRequires: automake >= 1.6
+%{?with_opengl:BuildRequires:  glew-devel >= 1.5}
 BuildRequires: gtk-doc >= 1.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
 BuildRequires: orc-devel >= 0.4.16
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.98
-Requires:      orc >= 0.4.10
+%{?with_opengl:Requires:       glew >= 1.5}
+Requires:      orc >= 0.4.16
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,8 +46,9 @@
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Schroedinger
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+%{?with_opengl:Requires:       glew-devel >= 1.5}
 Requires:      libstdc++-devel
-Requires:      orc-devel >= 0.4.10
+Requires:      orc-devel >= 0.4.16
 
 %description devel
 Header files for Schroedinger library.
@@ -72,7 +81,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
-       --with-html-dir=%{_gtkdocdir}
+       --with-html-dir=%{_gtkdocdir} \
+       %{?with_opengl:--with-opengl}
 %{__make}
 
 %install
@@ -111,6 +121,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2012/01/27 15:18:47  qboosh
+- updated install time orc dependencies
+- added opengl bcond (not working atm. because of missing files)
+
 Revision 1.10  2012/01/27 09:40:00  zbyniu
 - up to 1.0.11
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/schroedinger/schroedinger.spec?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to