SHA256
1
0
forked from pool/libsidplayfp
libsidplayfp/libsidplayfp.spec

112 lines
3.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libsidplayfp
#
# Copyright (c) 2024 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.
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
%define soname 6
%define stilview_soname 0
Name: libsidplayfp
Version: 2.6.0
Release: 0
Summary: A library to play Commodore 64 music
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
License: GPL-2.0-or-later
Group: System/Libraries
#Git-Clone: https://github.com/libsidplayfp/libsidplayfp.git
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
URL: https://sourceforge.net/projects/sidplay-residfp/
Source0: https://sourceforge.net/projects/sidplay-residfp/files/libsidplayfp/2.6/libsidplayfp-%{version}.tar.gz
BuildRequires: gcc-c++
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
BuildRequires: libgcrypt-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libftdi1)
%description
A library to play Commodore 64 music based on libsidplay2.
%package -n libsidplayfp%{soname}
Summary: A library to play Commodore 64 music
Group: System/Libraries
%description -n libsidplayfp%{soname}
A library to play Commodore 64 music based on libsidplay2.
%package devel
Summary: Development files for libsidplayfp
Group: Development/Libraries/C and C++
Requires: libsidplayfp%{soname} = %{version}
%description devel
This package contains headers and libraries required to build applications that
use libsidplayfp.
%package -n libstilview%{stilview_soname}
Summary: A library to play Commodore 64 music
Group: System/Libraries
%description -n libstilview%{stilview_soname}
A library to play Commodore 64 music based on libsidplay2.
%package -n libstilview-devel
Summary: Development files for libstilview
Group: Development/Libraries/C and C++
Requires: libstilview%{stilview_soname} = %{version}
%description -n libstilview-devel
This package contains headers and libraries required to build applications that
use libstilview.
%prep
%autosetup -p1
%build
Accepting request 953834 from home:dirkmueller:Factory - update to 2.3.1: * VIC II: check badline enabled condition on raster Y increment. Fixes CPU/shxy/shx-test * Disable digiboost for residfp when not required (issue #37) * residfp: fixed some PVS-Studio warnings. (issues #20 #21 #23 #28) * residfp: share dac tables between voices, saves a few Kb and some initialization time (issues #34 #26) * CIA: rework interrupt implementation based on Denise emu code, fixes CIA/dd0dtest/dd0dtest (issue #29) * c64: return pseudo random numbers when reading from the I/O Area as the VIC fetches are not emulated. Fixes C64/openio/gauntlet test * VIC-II: fix lightpen X coordinate calculation. Makes VICII/split-tests/lightpen/lightpen test pass * songlengthdb: fix possible corrupted data (issue #32) * VIC-II: fix NTSC badline timing and improve cycle skipping * CIA: minor refactoring * Fixed a few minor PVS-Studio flagged issues * reSIDfp: added NEON (by Christopher Snowhill) and SSE2 version of convolution function the configure option has been changed to --with-simd=<sse2/mmx/neon/none> * Exposed last values written to the SID registers. Based on patch by Stian Skjelstad * API additions: - Splitted ROM functions - Added CIA 6526 4485 model setting, mostly for testing - Added function for loading database from unicode path on Windows - Added function for loading tunes using a custom loader callback - enable SIMD on aarch64/x86_64 OBS-URL: https://build.opensuse.org/request/show/953834 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=10
2022-02-13 10:26:14 +01:00
%ifarch x86_64
EXTRA="--with-simd=sse2"
%endif
%ifarch aarch64
EXTRA="--with-simd=neon"
%endif
%configure --disable-static $EXTRA
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
%make_build
%install
%make_install
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets -n libsidplayfp%{soname}
%ldconfig_scriptlets -n libstilview%{stilview_soname}
%files -n libsidplayfp%{soname}
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
%license COPYING
%{_libdir}/libsidplayfp.so.%{soname}*
%files -n libstilview%{stilview_soname}
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
%license COPYING
%{_libdir}/libstilview.so.%{stilview_soname}*
%files devel
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
%doc AUTHORS NEWS README TODO
%{_libdir}/libsidplayfp.so
%{_includedir}/sidplayfp/
%{_libdir}/pkgconfig/libsidplayfp.pc
%files -n libstilview-devel
Accepting request 888481 from home:susnux:branches:multimedia:libs - Update to version 2.1.2: * songlength DB: fix parsing of milliseconds with leading zeroes * Fixed building hardsid support * reSIDfp: shift register regression fixes * Updated RAM init pattern similar to how it's done in VICE * Do not use smart pointers in public headers (Warning! breaks ABI compatibility) * resid/residfp: Use soft instead of hard clipping rough implementation of bitfade * residfp: better bandpass frequency calculation, updated 8580 resistor ratios based on schematics and adjusted voltage range, updated TTL values, assume a high impedance audio amplifier yielding an 1.6Hz high-pass - Update to version 2.0.5: * Fixed CIA SDR handling, code borrowed from Denise emulator * Fixed external filter coefficients calculation in resid/residfp * Update osc3 on waveform zero in resid/residfp * Further improved CPU/CIA/VICII emulation based on VICE testprogs * Fixed an envelope generator regression in resid/residfp * Improved noise+pulse interaction in resid/residfp * Avoid saturation of residfp 8580 filter * Adjusted residfp 6581 filter parameter range * Recalculate noise output when actually changed in residfp * Fix loading stereo mus tunes * Fix residfp envelope * Make digiboost work with resid * Make MUS loading more robust to malformed files * Reworked SidDatabase API * Fix hang on exit * CIA model is now configurable * Added digiboost support * Added support for milliseconds in SLDB * Improved 8580 filter * CIA and SID fixes ported from VICE * Added MOS 6573 (PAL-M) emulation * Other minor fixes and code cleanup * Do not use kernal calls in psid driver OBS-URL: https://build.opensuse.org/request/show/888481 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsidplayfp?expand=0&rev=8
2021-04-29 14:30:11 +02:00
%doc AUTHORS NEWS README TODO
%{_libdir}/libstilview.so
%{_includedir}/stilview/
%{_libdir}/pkgconfig/libstilview.pc
%changelog