]> git.pld-linux.org Git - packages/cinelerra-cv.git/blobdiff - cinelerra-cv.spec
- release 2
[packages/cinelerra-cv.git] / cinelerra-cv.spec
index 80df92cc14ee1b62b96263911dc4ccd2f221d6cc..d90d26b4552765cefa97f850d3bf21126a1a5476 100644 (file)
@@ -1,8 +1,8 @@
 # TODO:
 # - external libraries packages (is there any sense in that?)
 #
-%define                snap    20100109
-%define                rel             2
+%define                snap    20110704
+%define                rel     2
 Summary:       Cinelerra - capturing, editing and production of audio/video material
 Summary(pl.UTF-8):     Cinelerra - nagrywanie, obróbka i produkcja materiału audio/video
 Name:          cinelerra-cv
@@ -12,8 +12,12 @@ License:     GPL
 Group:         X11/Applications
 # git clone git://git.cinelerra.org/j6t/cinelerra.git cinelerra-cv
 Source0:       %{name}-%{snap}.tar.bz2
-# Source0-md5: e130b134a9e691ae36d2bbb117fc530b
+# Source0-md5: 99a1936170a2e5d211bea0fd628b09ae
 Patch0:                %{name}-build.patch
+Patch1:                %{name}-desktop.patch
+# http://bugs.cinelerra.org/raw-attachment/ticket/949/remove-support-v4l-buzz-k2-6-38.diff
+Patch2:                remove-support-v4l-buzz-k2-6-38.diff
+Patch3:                %{name}-ffmpeg.patch
 URL:           http://cinelerra.org/
 BuildRequires: OpenEXR-devel >= 1.2.1
 BuildRequires: OpenGL-GLU-devel
@@ -22,8 +26,7 @@ BuildRequires:        a52dec-libs-devel
 BuildRequires: alsa-lib-devel >= 1.0.8
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: esound-devel
-BuildRequires: ffmpeg-devel
+BuildRequires: ffmpeg-devel >= 0.7.1
 BuildRequires: fftw3-devel
 BuildRequires: freetype-devel >= 2.1.4
 BuildRequires: gettext-devel
@@ -32,7 +35,7 @@ BuildRequires:        libavc1394-devel >= 0.5.1
 BuildRequires: libdv-devel
 BuildRequires: libiec61883-devel >= 1.0.0
 #BuildRequires:        libmpeg3-devel >= 1.7
-BuildRequires: libpng-devel
+BuildRequires: libpng-devel >= 2:1.4.0
 BuildRequires: libraw1394-devel >= 1.2.0
 BuildRequires: libsndfile-devel >= 1.0.11
 BuildRequires: libstdc++-devel >= 5:3.2.2
@@ -97,6 +100,9 @@ Wersja społecznościowa.
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 find -name Makefile.am | xargs %{__sed} -i -e 's#^LIBTOOL =.*##g'
 
@@ -112,6 +118,7 @@ touch config.rpath
 
 %configure \
        CPPFLAGS="%{rpmcppflags} -I/usr/include/freetype2" \
+       CXXFLAGS="%{rpmcxxflags} -D__STDC_CONSTANT_MACROS=1" \
 %ifarch ppc
        --enable-altivec \
 %endif
@@ -119,6 +126,7 @@ touch config.rpath
        --enable-mmx \
        --enable-3dnow \
 %endif
+       --disable-esd \
        --enable-freetype2 \
        --with-external-ffmpeg \
        --with-alsa-prefix=%{_prefix} \
This page took 0.099911 seconds and 4 git commands to generate.