diff --git a/apulse-0.1.7.tar.gz b/apulse-0.1.7.tar.gz deleted file mode 100644 index 034bbf4..0000000 --- a/apulse-0.1.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc0e4853684ca5145950690405b0d4f89bf3a5aef7a86addec451561fb5f3e1b -size 103311 diff --git a/apulse-0.1.8.tar.gz b/apulse-0.1.8.tar.gz new file mode 100644 index 0000000..249b4a1 --- /dev/null +++ b/apulse-0.1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d47b962f4873f011883477e9eec7c232cbb3cab8189a1029f41b14a235e449d +size 105297 diff --git a/apulse-link-math.patch b/apulse-link-math.patch new file mode 100644 index 0000000..06c5638 --- /dev/null +++ b/apulse-link-math.patch @@ -0,0 +1,13 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -60,8 +60,8 @@ set_target_properties(pulse-simple PROPE + + set(SYMBOLMAP "-Wl,-version-script=\"${CMAKE_SOURCE_DIR}/src/symbolmap\"") + +-target_link_libraries(pulse ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES}) +-target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES}) ++target_link_libraries(pulse ${SYMBOLMAP} trace-helper m ${REQ_LIBRARIES}) ++target_link_libraries(pulse-simple ${SYMBOLMAP} trace-helper m ${REQ_LIBRARIES}) + target_link_libraries(pulsecommon-5.0 ${SYMBOLMAP} trace-helper ${REQ_LIBRARIES}) + + add_subdirectory(tests) diff --git a/apulse.changes b/apulse.changes index b854d6c..f594bb6 100644 --- a/apulse.changes +++ b/apulse.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Mar 8 19:13:26 UTC 2017 - sor.alexei@meowr.ru + +- Update to version 0.1.8: + * Make playback in Firefox working, including volume changing + (boo#1028547). + * Reimplement snd_pcm_avail(), which is missing in older versions + of alsa-lib. + * Make reported buffer sizes to be multiple of frame sizes. + * Stop crashing in pa_stream_disconnect() if initialisation has + failed. +- Add apulse-link-math.patch: Link with -lm to fix building. + ------------------------------------------------------------------- Sat Dec 26 21:14:56 UTC 2015 - mpluskal@suse.com diff --git a/apulse.spec b/apulse.spec index 94e94a0..79e68de 100644 --- a/apulse.spec +++ b/apulse.spec @@ -1,7 +1,7 @@ # # spec file for package apulse # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$ Name: apulse -Version: 0.1.7 +Version: 0.1.8 Release: 0 Summary: PulseAudio emulation for ALSA License: MIT @@ -26,9 +26,11 @@ Group: System/Libraries Url: https://github.com/i-rinat/apulse Source: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf +# PATCH-FIX-OPENSUSE apulse-link-math.patch sor.alexei@meowr.ru -- Link with -lm to fix building. +Patch0: apulse-link-math.patch BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libpulse) >= 5.0 @@ -37,20 +39,21 @@ Recommends: %{name}-32bit = %{version} %endif %description -PulseAudio emulation intended to be used with Skype. +PulseAudio emulation intended to be used with Mozilla Firefox. %prep %setup -q +%patch0 -p1 %build %cmake \ - -DUSE_BUNDLED_PULSEAUDIO_HEADERS=0 \ + -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF \ -DAPULSEPATH=%{_libdir}/%{name}/ -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install %cmake_install -rm -f %{buildroot}%{_libdir}/%{name}/*.so +rm %{buildroot}%{_libdir}/%{name}/*.so %post -p /sbin/ldconfig