Sync from SUSE:SLFO:Main portaudio revision a062391e113a66e3fbbea79cce837632
This commit is contained in:
commit
5beb1e82b0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libportaudio2
|
BIN
pa_stable_v190700_20210406.tgz
(Stored with Git LFS)
Normal file
BIN
pa_stable_v190700_20210406.tgz
(Stored with Git LFS)
Normal file
Binary file not shown.
264
portaudio.changes
Normal file
264
portaudio.changes
Normal file
@ -0,0 +1,264 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 30 10:37:56 CEST 2021 - tiwai@suse.de
|
||||
|
||||
- Correct download source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 23 01:38:13 UTC 2021 - Aaron Stern <ukbeast89@protonmail.com>
|
||||
|
||||
- Update to version v190700_20210406
|
||||
- removed patch `0001-Merge-branch-ticket_275_pass_void-into-master.patch`
|
||||
as it is included in this release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 14:39:46 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||
|
||||
- The portaudio C library uses pthread_cleanup* macros, a sane but
|
||||
compiler/os specific implementation of them requires using
|
||||
-fexceptions flag. see pthread.h for details.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 9 11:14:56 UTC 2018 - tom.mbrt@googlemail.com
|
||||
|
||||
- Add upstream patch 0001-Merge-branch-ticket_275_pass_void-into-master.patch
|
||||
adding a missing void argument to Pa_GetVersionInfo() to fix no-prototype
|
||||
warning when compiling against ANSI C projects
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 2 09:53:40 UTC 2017 - olaf@aepfle.de
|
||||
|
||||
- Add pkg-config and add alsa to dependencies of devel pkg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 11 15:48:13 UTC 2017 - tuukka.pasanen@ilmi.fi
|
||||
|
||||
- Update to latest version v190600_20161030
|
||||
|
||||
- Changes to portaudio.h (There were no changes to existing `portaudio.h` API/ABI in this release)
|
||||
|
||||
- The API was extended as follows:
|
||||
- Prior to March 3, 2015, `Pa_GetVersion()` always returned 1899 in the `V19` version of PortAudio.
|
||||
|
||||
- On March 3, 2015, enhanced version retrieval APIs were added to `portaudio.h`:
|
||||
* `Pa_GetVersion()` now returns a useful number, e.g. 0×00130501 for 19.5.1
|
||||
* added `paMakeVersionNumber` macro for comparing to `int` version returned by `Pa_GetVersion()`
|
||||
* added `PaVersionInfo` struct with version major, minor, subminor, versionControlRevision, versionText
|
||||
* added `Pa_GetVersionInfo()` gets `PaVersionInfo` struct
|
||||
* `Pa_GetVersionText()` is deprecated; use `Pa_GetVersionInfo()→versionText`
|
||||
|
||||
- On March 3, 2015, the version number was set to 19.5.0. (5 was chosen to reflect that there were 4 prior V19 stable snapshots.)
|
||||
* This new release has version number 19.6.0.
|
||||
* The Host-API-specific structures for WDM/KS and WASAPI were altered in this release. This is an ABI change.
|
||||
Client code depending on these particular host-API-specific APIs will need to be recompiled and linked against
|
||||
a compatible PortAudio version. See below. Changes to WDM/KS Host-API-specific Struct in pa_win_wdmks.h
|
||||
* Added `flags` and `channelMask` fields to `PaWinWDMKSInfo`. 4aa340a57e
|
||||
|
||||
- These changes were made on April 9, 2014. At that time `Pa_GetVersion()` returned 1899. The changes are present when the version number is 19.5.0 or greater.
|
||||
* Forward/backward compatibility: The implementation checks the `size` field of `PaWinWDMKSInfo`.
|
||||
The old version will reject new structs, and the new version will reject old structs.
|
||||
In both cases `paIncompatibleHostApiSpecificStreamInfo` is the error returned.
|
||||
* Changes to WASAPI Host-API-specific Struct pa_win_wasapi.h
|
||||
* Added `streamCategory` and `streamOption` to `PaWasapiStreamInfo` 4e194eaecf
|
||||
|
||||
- These changes were made on October 19, 2015. At that time `Pa_GetVersion()` returned 19.5.0. The changes are present when the version number is 19.6.0 or greater.
|
||||
* Forward/backward compatibility: The implementation checks the `size` field of `PaWasapiStreamInfo`.
|
||||
The old version will reject new structs, and the new version will reject old structs. In both cases
|
||||
`paIncompatibleHostApiSpecificStreamInfo` is the error returned.
|
||||
|
||||
- Full Changelog: https://app.assembla.com/wiki/show/portaudio/pa_stable_v190600_20161030
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 29 09:55:10 UTC 2015 - olaf@aepfle.de
|
||||
|
||||
- Enable libportaudiocpp
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 05:38:09 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
- disable timestamps in doxygen too, make build-compare happy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 9 12:51:09 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 20140130
|
||||
+ No changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 12:08:06 UTC 2013 - cfarrell@suse.com
|
||||
|
||||
- license update: MIT
|
||||
The correct license for the package is MIT
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 11:44:11 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
- run spec_cleaner
|
||||
- use full URL in Source tag
|
||||
- add missing provides/obsoletes from previous rename
|
||||
- use date in version number: makes more sense and otherwise the
|
||||
obsoletes of the package rename would not work
|
||||
- patch __DATE__ and __TIME__ references to help build-compare
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 11:40:10 UTC 2012 - danielzucchetto@yahoo.it
|
||||
|
||||
- updated to the latest stable version
|
||||
* Improvements to latency calculations: Improved defaults, allow
|
||||
very low buffer sizes, report actual latencies in PaStreamInfo
|
||||
(CoreAudio r1703 #95 #175, WMME r1717 #178, also changes to
|
||||
DirectSound and WMME)
|
||||
* ALSA: Fixed issue define SND_PCM_TSTAMP_ENABLE as
|
||||
SND_PCM_TSTAMP_MMAP if the former is undefined #153 r1691
|
||||
* AudioScience HPI: Updated support to V4.08. #197, r1760, r1761
|
||||
* ASIO: Fixed bug where host buffer size wasn’t matched to client
|
||||
framesPerBuffer when it should have been. Resolves ticket #93
|
||||
r1175
|
||||
* ASIO: PaAsio_GetAvailableLatencyValues deprecated, use
|
||||
PaAsio_GetAvailableBufferSizes. See ticket #111
|
||||
* Changed default host API selection logic: use first
|
||||
successfully initialized host api with a defined default input
|
||||
or output device. Resolves ticket #49
|
||||
* Added support for Float32 to UInt8 conversion. r1748
|
||||
* Made ring buffer params const-correct r1694
|
||||
* Changes to ring buffer memory barrier placement (needs further
|
||||
review). See r1734, r1735, r1736, r1738 for details.
|
||||
* Separated test programs into “test”, “examples”, and “qa”
|
||||
folders. #191
|
||||
* Harmonised use of #if with PA_USE_*HOSTAPI* configuration
|
||||
variables accross all host APIs r1740, #164
|
||||
* Improvements to QA tests including paqa_latency, paqa loopback
|
||||
test
|
||||
* Improvements and cleanups to doxygen documentation. Added
|
||||
Doxyfile.developer for generating internal docs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 05 19:50:00 CET 2011 - danielzucchetto@yahoo.it
|
||||
|
||||
- updated to the latest stable version (20110326)
|
||||
* Fixed a lot of bugs on all platforms
|
||||
* Fixed a lot of build system issues on all platforms (autotools,
|
||||
msvc, scons)
|
||||
* Added more support for V19 API features on many platforms
|
||||
* Added WASAPI implementation
|
||||
* Ring buffer code was generalised into pa_ringbuffer.c with
|
||||
correct memory barriers. this is now used by many host api
|
||||
implementations
|
||||
* Implemented blocking i/o for ASIO
|
||||
* Made ALSA default host API on Linux
|
||||
* Fixed stream info inputLatency and outputLatency calculations
|
||||
in a number of host APIs (r1598, r1599, r1600)
|
||||
* WMME added support for ac3+wma spdif passthrough
|
||||
* DirectSound? added support for driver-level full duplex via DX8
|
||||
DirectSoundFullDuplexCreate?
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 09:30:12 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 17:17:49 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Use %_smp_mflags for parallel building
|
||||
- Do shlib policy packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 24 12:59:34 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
- Add 32bit compatibility libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 19:52:50 UTC 2010 - coolo@novell.com
|
||||
|
||||
- use libjack-devel (tiwai)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 16:52:39 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- remove static libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 16:57:34 CEST 2008 - schwab@suse.de
|
||||
|
||||
- Remove useless SHARED_FLAGS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 15 12:17:22 CET 2008 - tiwai@suse.de
|
||||
|
||||
- updated to the latet stable version (20071207)
|
||||
* added debugging message to JACK back-end
|
||||
* fixed issue with reopening full duplex streams
|
||||
* ALSA: Pick device "default" for default input device as well
|
||||
* added PA JACK extensions for getting and setting JACK client
|
||||
name
|
||||
* do not automatically start jackd server
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 12:46:55 CEST 2007 - tiwai@suse.de
|
||||
|
||||
- removed unnecessary requires
|
||||
- use bz2
|
||||
- move documents to devel packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 13:21:19 CET 2007 - anschneider@suse.de
|
||||
|
||||
- updated to the latest stable:
|
||||
* fixed alsa support
|
||||
* fixed dmix support
|
||||
* fixed Pa_OpenDefaultStream crash
|
||||
* fixed memory bug in pa_jack.c
|
||||
* fixed ph_audio_play_cbk to be called too often
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 21 18:15:11 CEST 2006 - tiwai@suse.de
|
||||
|
||||
- updated to the latest snapshot:
|
||||
* versioned so files
|
||||
* pkgconfig support
|
||||
* reorganized src structures
|
||||
* many bugfixes
|
||||
- generate devel documents using doxygen
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 24 18:23:53 CET 2006 - tiwai@suse.de
|
||||
|
||||
- fixed bogus assert (#159993)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:40:29 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 20:09:29 CEST 2005 - tiwai@suse.de
|
||||
|
||||
- removed glib* from neededforbuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 16 16:05:25 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 16:12:18 CET 2005 - tiwai@suse.de
|
||||
|
||||
- updated to snapshot-20050124.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 9 12:10:11 CET 2004 - tiwai@suse.de
|
||||
|
||||
- updated to snapshot-20041109.
|
||||
- fixed the lib path for jack (bug #47590).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 5 18:08:28 CET 2004 - tiwai@suse.de
|
||||
|
||||
- updated to snapshot-20040305.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 14 13:00:34 CET 2004 - tiwai@suse.de
|
||||
|
||||
- initial version: v19 snapshot-20040114.
|
||||
|
127
portaudio.spec
Normal file
127
portaudio.spec
Normal file
@ -0,0 +1,127 @@
|
||||
#
|
||||
# spec file for package portaudio
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define soname_c 2
|
||||
%define soname_p 0
|
||||
|
||||
Name: portaudio
|
||||
Version: 190700_20210406
|
||||
Release: 0
|
||||
Summary: Portable Real-Time Audio Library
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://www.portaudio.com/
|
||||
Source: http://files.portaudio.com/archives/pa_stable_v%{version}.tgz
|
||||
Source1: baselibs.conf
|
||||
%define lname_c libportaudio%{soname_c}
|
||||
%define lname_p libportaudiocpp%{soname_p}
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(jack)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
PortAudio is a portable audio I/O library designed for cross-platform
|
||||
support of audio. It uses a callback mechanism to request audio
|
||||
processing. Audio can be generated in various formats, including 32 bit
|
||||
floating point, and will be converted to the native format internally.
|
||||
|
||||
%package -n %lname_c
|
||||
Summary: Portable Real-Time Audio Library
|
||||
# portaudio was last used in openSUSE 12.1
|
||||
Group: System/Libraries
|
||||
Provides: portaudio = %{version}
|
||||
Obsoletes: portaudio < %{version}
|
||||
|
||||
%description -n %lname_c
|
||||
PortAudio is a portable audio I/O library designed for cross-platform
|
||||
support of audio. It uses a callback mechanism to request audio
|
||||
processing. Audio can be generated in various formats, including 32 bit
|
||||
floating point, and will be converted to the native format internally.
|
||||
%package -n %lname_p
|
||||
Summary: Portable Real-Time Audio Library
|
||||
# packman used to provide this
|
||||
Group: System/Libraries
|
||||
Obsoletes: libportaudiocpp
|
||||
|
||||
%description -n %lname_p
|
||||
PortAudio is a portable audio I/O library designed for cross-platform
|
||||
support of audio. It uses a callback mechanism to request audio
|
||||
processing. Audio can be generated in various formats, including 32 bit
|
||||
floating point, and will be converted to the native format internally.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for the portaudio library
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %lname_c = %{version}
|
||||
Requires: %lname_p = %{version}
|
||||
Obsoletes: libportaudiocpp-devel
|
||||
|
||||
%description devel
|
||||
This package contains the files needed to compile programs that use the
|
||||
portaudio library.
|
||||
|
||||
%prep
|
||||
%setup -q -n portaudio
|
||||
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
||||
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" qa/loopback/src/paqa.c src/common/pa_front.c
|
||||
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
||||
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" qa/loopback/src/paqa.c src/common/pa_front.c
|
||||
echo 'HTML_TIMESTAMP=NO' >> Doxyfile
|
||||
echo 'Requires: alsa' >> portaudio-2.0.pc.in
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags -D_GNU_SOURCE -fexceptions"
|
||||
%configure --disable-static \
|
||||
--enable-cxx=yes \
|
||||
--with-alsa=yes \
|
||||
--with-jack=yes \
|
||||
--with-oss=yes
|
||||
make lib/libportaudio.la %{?_smp_mflags}
|
||||
make %{?_smp_mflags}
|
||||
doxygen
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{?buildroot}
|
||||
rm -f %{buildroot}/%{_libdir}/*.la
|
||||
|
||||
%post -n %lname_c -p /sbin/ldconfig
|
||||
%post -n %lname_p -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname_c -p /sbin/ldconfig
|
||||
%postun -n %lname_p -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname_c
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libportaudio.so.%{soname_c}*
|
||||
%files -n %lname_p
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libportaudiocpp.so.%{soname_p}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc doc/html/*
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user