commit aa83f0f01f274111a90ee2906e88d1d5e5799b35
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Nov 8 13:51:14 2010 +0000

    - system ffmpeg bcond, clarify license
    
    Changed files:
        gstreamer-ffmpeg.spec -> 1.37

 gstreamer-ffmpeg.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/gstreamer-ffmpeg.spec b/gstreamer-ffmpeg.spec
index facb57d..cf46e34 100644
--- a/gstreamer-ffmpeg.spec
+++ b/gstreamer-ffmpeg.spec
@@ -1,18 +1,20 @@
+#
 # Conditional build:
 %bcond_with    vdpau           # build FFmpeg with nvidia VDPAU
-#
+%bcond_without system_ffmpeg   # system FFmpeg. upstream does not accept bugs 
with system ffmpeg
+
 %define                gstname gst-ffmpeg
 %define                gst_major_ver   0.10
 %define                gst_req_ver     0.10.22
-#
+
 %include       /usr/lib/rpm/macros.gstreamer
-#
 Summary:       GStreamer Streaming-media framework plug-in using FFmpeg
 Summary(pl.UTF-8):     Wtyczka do środowiska obróbki strumieni GStreamer 
używająca FFmpeg
 Name:          gstreamer-ffmpeg
 Version:       0.10.11
 Release:       1
-License:       GPL v2+
+# the ffmpeg plugin is LGPL, the postproc plugin is GPL
+License:       GPL v2+ and LGPL v2+
 Group:         Libraries
 Source0:       
http://gstreamer.freedesktop.org/src/gst-ffmpeg/%{gstname}-%{version}.tar.bz2
 # Source0-md5: 0d23197ba7ac06ea34fa66d38469ebe5
@@ -21,6 +23,7 @@ BuildRequires:        autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: gstreamer-devel >= %{gst_req_ver}
 # libavutil,libswscale needed
+%{?with_system_ffmpeg:BuildRequires:   ffmpeg-devel}
 BuildRequires: gstreamer-plugins-base-devel >= %{gst_req_ver}
 BuildRequires: liboil-devel >= 0.3.6
 BuildRequires: libtool
@@ -67,6 +70,7 @@ najpopularniejsze formaty multimedialne.
 
 %configure \
        CPPFLAGS="%{rpmcppflags}" \
+       %{?with_system_ffmpeg:--with-system-ffmpeg} \
        %{?with_vdpau:--with-ffmpeg-extra-configure="--enable-vdpau"} \
        --disable-static
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-ffmpeg.git/commitdiff/4744a193b697bff728371a9ccd96c60bc28bc18e

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

Reply via email to