Hello community,
here is the log from the commit of package libpt2 for openSUSE:Factory checked in at 2012-06-06 10:28:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpt2 (Old)
and /work/SRC/openSUSE:Factory/.libpt2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpt2", Maintainer is "DLiang@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes 2012-03-29 14:01:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpt2.new/libpt2.changes 2012-06-06 10:28:56.000000000 +0200
@@ -1,0 +2,19 @@
+Fri May 18 19:06:25 UTC 2012 - zaitor@opensuse.org
+
+- Update to 2.10.5:
+ + Numours changes, please see changelogfile.
+- Add new subpackage: libpt-plugins-pulse. Brings PulseAudio
+ support to libpt. New BuildRequires added pkgconfig(libpulse) due
+ to this.
+- Enable build of avc plugin.
+
+-------------------------------------------------------------------
+Thu Apr 19 03:00:40 CEST 2012 - jeffm@suse.de
+
+- Update to 2.10.4:
+ + Numours changes, please see changelogfile.
+- Drop libpt2-2.6.7-missing_links.patch, libpt2-gcc47.patch,
+ ptlib-pkg_config.patch, fixed upstream.
+- Add libpt2-fix-avc-plugin
+
+-------------------------------------------------------------------
Old:
----
libpt2-2.6.7-missing_links.patch
libpt2-gcc47.patch
ptlib-2.6.7.tar.bz2
ptlib-pkg_config.patch
New:
----
libpt2-fix-avc-plugin.patch
ptlib-2.10.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libpt2.spec ++++++
--- /var/tmp/diff_new_pack.ODC1qQ/_old 2012-06-06 10:29:00.000000000 +0200
+++ /var/tmp/diff_new_pack.ODC1qQ/_new 2012-06-06 10:29:00.000000000 +0200
@@ -16,29 +16,25 @@
#
-%define build_avc 0
+%define build_avc 1
%define build_dc 0
# Video4Linux is obsolete on Kernel 3.0, which we have after openSUSE 11.4
%define build_v4l 0%{?suse_version} <= 1140
Name: libpt2
%define _name ptlib
-Version: 2.6.7
+Version: 2.10.5
Release: 0
# FIXME: when upgrading, check if the dc plugin builds with the current version of libdc1394
-%define _version 2_6_7
+%define _version 2_10_5
Summary: Portable Windows Library from Equivalence Pty. Ltd. version 2
License: MPL-1.0
Group: System/Libraries
Url: http://www.opalvoip.org/
# https://sourceforge.net/projects/opalvoip
Source: %{_name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM %{_name}-pkg_config.patch sf#3041093 reddwarf@opensuse.org -- Put extra libraries in Libs.private and remove unneeded cflags
-Patch0: %{_name}-pkg_config.patch
-# PATCH-FIX-UPSTREAM %{_name}-missing_links.patch sf#3082616 reddwarf@opensuse.org -- Link plugins against main library
-Patch1: %{name}-2.6.7-missing_links.patch
-# PATCH-FIX-UPSTREAM libpt2-gcc47.patch sf#3505516 dimstar@opensuse.org -- Fix build with gcc 4.7
-Patch2: libpt2-gcc47.patch
+# PATCH-MISSING-TAG libpt2-fix-avc-plugin.patch jeffm@suse.com -- Fix build for avc-plugin.
+Patch1: libpt2-fix-avc-plugin.patch
BuildRequires: SDL-devel
BuildRequires: bison
BuildRequires: esound-devel
@@ -58,6 +54,7 @@
%endif
BuildRequires: openldap2-devel
BuildRequires: pkg-config
+BuildRequires: pkgconfig(libpulse)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -161,20 +158,35 @@
cameras) for %{name}.
%endif
+%package -n libpt%{_version}-plugins-pulse
+
+Summary: Pulseaudio support for %{name}
+Group: System/Libraries
+Requires: libpt%{_version} = %{version}
+# No idea about why this provides is here. Feel free to remove it if you think
+# is the best thing to do... or to add an explanation about why it is useful.
+Provides: libpt2-audio-plugin
+Supplements: libpt2
+Supplements: packageand(libpt2:pulseaudio)
+
+%description -n libpt%{_version}-plugins-pulse
+This plugin enables pulseaudio support for %{name}.
+
%prep
%setup -q -n %{_name}-%{version}
-%patch0
-%patch1
-%patch2 -p1
+%patch1 -p1
%build
%configure \
--enable-esd \
--enable-oss \
+ --enable-pulse \
%if %{build_v4l}
--enable-v4l \
%endif
+%if %{build_avc}
--enable-avc
+%endif
make %{?_smp_mflags} V=1
%install
@@ -237,4 +249,8 @@
%{_libdir}/%{_name}-%{version}/devices/videoinput/v4l_pwplugin.so
%endif
+%files -n libpt%{_version}-plugins-pulse
+%defattr(-,root,root)
+%{_libdir}/%{_name}-%{version}/devices/sound/pulse_pwplugin.so
+
%changelog
++++++ libpt2-fix-avc-plugin.patch ++++++
From: Jeff Mahoney