]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- up to 2.5, run tests (fail currently here)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 4 Dec 2014 08:19:55 +0000 (09:19 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 4 Dec 2014 08:22:27 +0000 (09:22 +0100)
ffmpeg.spec

index b0a81a7c45c1453b6d36cf33924db438642b6d18..b1174398d1b09b4bc251598acf47ad170878539d 100644 (file)
@@ -39,6 +39,7 @@
 %bcond_without zmq             # 0MQ message passing
 %bcond_without zvbi            # teletext via libzvbi
 %bcond_without doc             # don't build docs
+%bcond_without tests
 
 %ifnarch %{ix86} %{x8664} arm
 %undefine      with_x265
@@ -49,7 +50,7 @@
 Summary:       FFmpeg - a very fast video and audio converter
 Summary(pl.UTF-8):     FFmpeg - szybki konwerter audio/wideo
 Name:          ffmpeg
-Version:       2.4.4
+Version:       2.5
 Release:       1
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 # (postprocessing, some filters, x264, x265, xavs, xvid, x11grab)
@@ -57,11 +58,10 @@ Release:    1
 License:       GPL v3+ with LGPL v3+ parts
 Group:         Applications/Multimedia
 Source0:       http://ffmpeg.org/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 7e2819c71484ffba1ba1a91dd5285643
+# Source0-md5: 4346fe710cc6bdd981f6534d2420d1ab
 Source1:       ffserver.init
 Source2:       ffserver.sysconfig
 Source3:       ffserver.conf
-Patch0:                %{name}-opencv24.patch
 URL:           http://www.ffmpeg.org/
 %{?with_decklink:BuildRequires:        Blackmagic_DeckLink_SDK}
 %{?with_openal:BuildRequires:  OpenAL-devel >= 1.1}
@@ -350,7 +350,6 @@ Dokumentacja pakietu FFmpeg w formacie HTML.
 
 %prep
 %setup -q
-%patch0 -p1
 
 # package the grep result for mplayer, the result formatted as ./mplayer/configure
 cat <<EOF > ffmpeg-avconfig
@@ -517,6 +516,8 @@ EOF
 # CC_O to add -c to commandline. makefile should be patched
 %{__make} tools/qt-faststart V=1 CC_O='-c -o $@'
 
+%{?with_tests:%{__make} check V=1}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},/etc/{sysconfig,rc.d/init.d}} \
This page took 0.043824 seconds and 4 git commands to generate.