[packages/gstreamer0.10-plugins-ugly: 9/46] - updated to 0.10.5 - added amr bcond (off by default, required library is non-distributable)

qboosh qboosh at pld-linux.org
Fri Oct 5 16:51:56 CEST 2012


commit 7cb41cd4d4307e849a91e2a88a7abe0745b2a749
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Dec 21 18:03:14 2006 +0000

    - updated to 0.10.5
    - added amr bcond (off by default, required library is non-distributable)
    
    Changed files:
        gstreamer-plugins-ugly.spec -> 1.8

 gstreamer-plugins-ugly.spec | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/gstreamer-plugins-ugly.spec b/gstreamer-plugins-ugly.spec
index cb1ee39..6905868 100644
--- a/gstreamer-plugins-ugly.spec
+++ b/gstreamer-plugins-ugly.spec
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without	sid		# don't build sid plugin
+%bcond_with	amr		# AMR-NB plugin
 #
 %define		gstname		gst-plugins-ugly
 %define		gst_major_ver	0.10
@@ -9,12 +10,12 @@
 Summary:	Ugly GStreamer Streaming-media framework plugins
 Summary(pl):	Brzydkie wtyczki do �rodowiska obr�bki strumieni GStreamer
 Name:		gstreamer-plugins-ugly
-Version:	0.10.4
+Version:	0.10.5
 Release:	1
 License:	LGPL
 Group:		Libraries
 Source0:	http://gstreamer.freedesktop.org/src/gst-plugins-ugly/%{gstname}-%{version}.tar.bz2
-# Source0-md5:	c10f40e3641d827ca7853b0a3d560257
+# Source0-md5:	2e6bf35ebcb2ab508b43ef3aaee878ad
 Patch0:		%{name}-bashish.patch
 URL:		http://gstreamer.freedesktop.org/
 BuildRequires:	autoconf >= 2.52
@@ -26,11 +27,13 @@ BuildRequires:	gtk-doc >= 1.7
 BuildRequires:	liboil-devel >= 0.3.9
 BuildRequires:	libtool >= 1.4
 BuildRequires:	pkgconfig >= 1:0.9.0
+BuildRequires:	python >= 2.1
+BuildRequires:	python-PyXML
 ##
 ## plugins
 ##
 BuildRequires:	a52dec-libs-devel
-BuildRequires:	amrnb-devel
+%{?with_amr:BuildRequires:	amrnb-devel}
 BuildRequires:	lame-libs-devel
 BuildRequires:	libdvdread-devel
 BuildRequires:	libid3tag-devel >= 0.15
@@ -158,6 +161,7 @@ Wtyczka do odtwarzania plik
 %{__autoheader}
 %{__automake}
 %configure \
+	%{!?with_amr:--disable-amrnb} \
 	%{!?with_sid:--disable-sidplay} \
 	--disable-static \
 	--enable-gtk-doc \
@@ -198,9 +202,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{gstlibdir}/libgsta52dec.so
 
+%if %{with amr}
 %files -n gstreamer-amrnb
 %defattr(644,root,root,755)
 %attr(755,root,root) %{gstlibdir}/libgstamrnb.so
+%endif
 
 %files -n gstreamer-dvdread
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer0.10-plugins-ugly.git/commitdiff/7500845ff8f8f8607350113332e067b8fea74bbe



More information about the pld-cvs-commit mailing list