packages: webrtc-audio-processing/link.patch (NEW), webrtc-audio-processing...
glen
glen at pld-linux.org
Wed May 16 07:53:58 CEST 2012
Author: glen Date: Wed May 16 05:53:58 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new, based on altlinux package
- NOTE: This is basically a fork of AudioProcessing module from the WebRTC project
---- Files affected:
packages/webrtc-audio-processing:
link.patch (NONE -> 1.1) (NEW), webrtc-audio-processing.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/webrtc-audio-processing/link.patch
diff -u /dev/null packages/webrtc-audio-processing/link.patch:1.1
--- /dev/null Wed May 16 07:53:58 2012
+++ packages/webrtc-audio-processing/link.patch Wed May 16 07:53:53 2012
@@ -0,0 +1,10 @@
+--- webrtc-audio-processing-0.1/src/modules/audio_processing/Makefile.am.alt 2011-10-21 08:28:24.000000000 +0400
++++ webrtc-audio-processing-0.1/src/modules/audio_processing/Makefile.am 2012-05-13 11:22:23.817618847 +0400
+@@ -55,5 +55,6 @@ libwebrtc_audio_processing_la_LIBADD = $
+ $(top_builddir)/src/modules/audio_processing/ns/$(NS_LIB).la \
+ $(top_builddir)/src/modules/audio_processing/aec/libaec.la \
+ $(top_builddir)/src/modules/audio_processing/aecm/libaecm.la \
+- $(top_builddir)/src/modules/audio_processing/agc/libagc.la
++ $(top_builddir)/src/modules/audio_processing/agc/libagc.la \
++ -lpthread
+ libwebrtc_audio_processing_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBWEBRTC_AUDIO_PROCESSING_VERSION_INFO)
================================================================
Index: packages/webrtc-audio-processing/webrtc-audio-processing.spec
diff -u /dev/null packages/webrtc-audio-processing/webrtc-audio-processing.spec:1.1
--- /dev/null Wed May 16 07:53:58 2012
+++ packages/webrtc-audio-processing/webrtc-audio-processing.spec Wed May 16 07:53:53 2012
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+# NOTE:
+# f.d.o source is meant to be a more Linux packaging friendly copy of the
+# AudioProcessing module from the WebRTC[1] project. The ideal case is that we
+# make no changes to the code to make tracking upstream code easy.
+# [1] http://code.google.com/p/webrtc/
+Summary: WebRTC Audio Processing library
+Name: webrtc-audio-processing
+Version: 0.1
+Release: 1
+License: BSD
+Group: Libraries
+URL: http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
+Source0: http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/%{name}-%{version}.tar.xz
+# Source0-md5: da25bb27812c8404060d4cc0dc712f04
+Patch0: link.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+WebRTC is an open source project that enables web browsers with
+Real-Time Communications (RTC) capabilities via simple Javascript
+APIs. The WebRTC components have been optimized to best serve this
+purpose. WebRTC implements the W3C's proposal for video conferencing
+on the web.
+
+%package devel
+Summary: WebRTC Audio Processing library and header files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This contains the libraries and header files needed to develop
+programs which make use of webrtc-audio-processing.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ --disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING NEWS PATENTS README
+%attr(755,root,root) %{_libdir}/libwebrtc_audio_processing.so.*.*.*
+%{_libdir}/libwebrtc_audio_processing.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/webrtc_audio_processing
+%{_libdir}/libwebrtc_audio_processing.so
+%{_pkgconfigdir}/webrtc-audio-processing.pc
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/05/16 05:53:53 glen
+- new, based on altlinux package
+- NOTE: This is basically a fork of AudioProcessing module from the WebRTC project
================================================================
More information about the pld-cvs-commit
mailing list