]> git.pld-linux.org Git - packages/cinelerra.git/blobdiff - cinelerra.spec
- partial fixes; needs more c++ fixes
[packages/cinelerra.git] / cinelerra.spec
index 8331ec1f42c4917893ce9978a728c861557274d0..def255a9cf378765d6697e5ecf03f18b4af87cd5 100644 (file)
@@ -1,29 +1,35 @@
-# TODO: build guicast as separate, shared library to use in
-#       xmovie, mix2005 and cinelerra
+#
+# TODO:
+# - build guicast as separate, shared library to use in xmovie,
+#   mix2005 and cinelerra
+# - get rid of bootstrap stuff:
+#   https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2004-April/001413.html
+#
 Summary:       Cinelerra - capturing, editing and production of audio/video material
 Summary(pl):   Cinelerra - nagrywanie, obróbka i produkcja materia³u audio/video
 Name:          cinelerra
-Version:       2.0
+Version:       2.1
 Release:       1
 License:       GPL
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
-# Source0-md5: 2beb3f1df203cbdc8918f06ea573324c
+# Source0-md5: 0f0523ef1aa94efb5152dcc494009b56
 Patch0:                %{name}-system-libs.patch
 Patch1:                %{name}-strip.patch
 Patch2:                %{name}-fontsdir.patch
 Patch3:                %{name}-locale_h.patch
 Patch4:                %{name}-guicast_bootstrap.patch
+Patch5:                %{name}-fix.patch
 URL:           http://heroinewarrior.com/cinelerra.php3
 BuildRequires: OpenEXR-devel >= 1.2.1
-BuildRequires: XFree86-devel
+#BuildRequires:        OpenGL-devel >= 2.0
 BuildRequires: alsa-lib-devel >= 1.0.8
 BuildRequires: esound-devel
 BuildRequires: freetype-devel >= 2.1.4
 BuildRequires: lame-libs-devel >= 3.93.1
 BuildRequires: libavc1394-devel >= 0.5.1
 BuildRequires: libiec61883-devel >= 1.0.0
-BuildRequires: libmpeg3-devel >= 1.6
+BuildRequires: libmpeg3-devel >= 1.7
 BuildRequires: libraw1394-devel >= 1.2.0
 BuildRequires: libsndfile-devel >= 1.0.11
 BuildRequires: libstdc++-devel >= 5:3.2.2
@@ -33,20 +39,22 @@ BuildRequires:      libuuid-devel
 %ifarch %{ix86}
 BuildRequires: nasm
 %endif
-BuildRequires: quicktime4linux-devel >= 2.1
+BuildRequires: quicktime4linux-devel >= 2.2
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXv-devel
+BuildRequires: xorg-lib-libXxf86vm-devel
 Requires:      OpenEXR-devel >= 1.2.1
 Requires:      alsa-lib >= 1.0.8
 Requires:      freetype >= 2.1.4
 Requires:      libavc1394 >= 0.5.1
 Requires:      libiec61883 >= 1.0.0
-Requires:      libmpeg3 >= 1.6
+Requires:      libmpeg3 >= 1.7
 Requires:      libraw1394 >= 1.2.0
 Requires:      libsndfile >= 1.0.11
 Requires:      libtheora >= 1.0-0.alpha4
-Requires:      quicktime4linux >= 2.1
+Requires:      quicktime4linux >= 2.2
 Obsoletes:     bcast
-# build system seems to be x86-oriented; anybody to fix it ?
-ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautostrip    .*/microtheme.plugin
@@ -82,10 +90,15 @@ Cinelerra by
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
-# assume we have <linux/videodev2.h> (it's in llh)
-echo '#define HAVE_VIDEO4LINUX2' > hvirtual_config.h
-echo '#define PACKAGE_STRING "cinelerra"' >> hvirtual_config.h
+# assume we have <linux/videodev2.h> and <linux/dvb/*> (present in llh)
+# don't define HAVE_GL as Mesa doesn't support OpenGL 2.0 (e.g. glUseProgram()) yet
+cat > hvirtual_config.h <<EOF
+#define HAVE_VIDEO4LINUX2
+#define HAVE_DVB
+#define PACKAGE_STRING "cinelerra"
+EOF
 
 rm -rf OpenEXR-* alsa-lib-* audiofile esound fftw-* freetype-* libavc1394-* libiec61883-* libmpeg3 libraw1394-* libsndfile-* libtheora-* mjpegtools-* quicktime tiff-* uuid
 
This page took 0.080111 seconds and 4 git commands to generate.