commit e49195e34e302962623aef2dc4dcd58a440394c0
Author: Jan RÄ™korajski <[email protected]>
Date:   Sat Apr 2 21:48:24 2016 +0900

    - disable ffmpeg support (code uses functions deprecated years ago)
    - rel 2

 libvideogfx.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libvideogfx.spec b/libvideogfx.spec
index 89d9126..b7096e7 100644
--- a/libvideogfx.spec
+++ b/libvideogfx.spec
@@ -1,12 +1,13 @@
 #
 # Conditional build:
+%bcond_with    ffmpeg          # enable ffmpeg support
 %bcond_without static_libs     # don't build static libraries
 #
 Summary:       LibVideoGfx - video processing library
 Summary(pl.UTF-8):     LibVideoGfx - biblioteka do przetwarzania obrazu
 Name:          libvideogfx
 Version:       1.0.9
-Release:       1
+Release:       2
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       
https://github.com/farindk/libvideogfx/releases/download/v%{version}/%{name}-%{version}.tar.gz
@@ -21,7 +22,7 @@ Patch6:               %{name}-cpp.patch
 URL:           http://dirk-farin.net/software/libvideogfx/index.html
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: ffmpeg-devel
+%{?with_ffmpeg:BuildRequires:  ffmpeg-devel}
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel >= 6:4.5
@@ -104,6 +105,7 @@ Statyczna biblioteka LibVideoGfx.
 %{__autoheader}
 %{__automake}
 %configure \
+       %{__with_without ffmpeg} \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvideogfx.git/commitdiff/e49195e34e302962623aef2dc4dcd58a440394c0

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

Reply via email to