]> git.pld-linux.org Git - packages/opencv.git/commitdiff
- ffmpeg fixes, xine fixes, python fixes auto/th/opencv-1_1-0_pre1_2 auto/ti/opencv-1_1-0_pre1_2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 18 Mar 2009 22:25:14 +0000 (22:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opencv.spec -> 1.3

opencv.spec

index 5d52be35e89d19fc40f6fe3e98bb76a4f7d5ae98..bd14a4063adb0898c90d9e5aea4879f2ea8fac59 100644 (file)
@@ -3,12 +3,13 @@
 Summary:       A library of programming functions mainly aimed at real time computer vision
 Name:          opencv
 Version:       1.1
-Release:       0.%{snap}.1
+Release:       0.%{snap}.2
 Epoch:         1
 License:       BSD
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/opencvlibrary/%{name}-%{version}%{snap}.tar.gz
 # Source0-md5: b147b7cd3c059831c415c5a2bcecdf95
+Patch0:                %{name}-ffmpeg.patch
 URL:           http://opencv.willowgarage.com
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
@@ -19,6 +20,7 @@ BuildRequires:        libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: libraw1394-devel
 BuildRequires: libtiff-devel
+BuildRequires: libtool
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: swig-python
@@ -64,8 +66,17 @@ OpenCV Python bindings.
 
 %prep
 %setup -q -n %{name}-%{version}.0
+%patch0 -p0
+
+sed -i -e 's#ACLOCAL_AMFLAGS.*##g' Makefile.am
+sed -i -e 's#pkgpython#pkgpyexec#g' interfaces/swig/python/Makefile.am
+sed -i -e 's#-L$(SWIG_PYTHON_LIBS)#$(NOTING_NOT_EMPTY_LINE)#g' interfaces/swig/python/Makefile.am
 
 %build
+%{__libtoolize}
+%{__aclocal} -I autotools/aclocal
+%{__autoconf}
+%{__automake}
 %configure \
 %ifarch i686 pentium4 athlon %{x8664}
        --enable-sse2 \
@@ -73,7 +84,7 @@ OpenCV Python bindings.
        --disable-sse2 \
 %endif
        --with-python \
-       --with%{!?with_xine:-out}-xine \
+       --with%{!?with_xine:out}-xine \
        --with-ffmpeg \
        --with-1394libs \
        --with-v4l \
This page took 0.040199 seconds and 4 git commands to generate.