rebuilt with debug package and aarch64 build fix [release 1.36.59-4mamba;Mon Dec 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:46:24 +01:00
parent 6e133eaeb6
commit 455c6fdc3c
3 changed files with 45 additions and 21 deletions

View File

@ -1,10 +1,5 @@
# libsidplay # libsidplay
This library provides the Sound Interface Device (SID) chip emulator This library provides the Sound Interface Device (SID) chip emulator engine that is used by music player programs like SIDPLAY.
engine that is used by music player programs like SIDPLAY.
With it you can play musics from Commodore 64 (or compatible) programs. With it you can play musics from Commodore 64 (or compatible) programs.
Because the original homepage of SIDPlay (http://www.geocities.com/SiliconValley/Lakes/5147/resid)
disappeared from Internet some time ago,
I decided to set up this unofficial page for providing a semi-regularly updated tarballs of libSIDPlay1.
However, I have no intention of adding any new features, at most I will fix compilation and portability related bugs.

View File

@ -0,0 +1,28 @@
Description: use unsigned char to keep int value
Use unsigned char to keep all bits of int values in the array.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/811762
Last-Update: 2016-07-16
---
--- libsidplay-1.36.59.orig/src/samples.cpp
+++ libsidplay-1.36.59/src/samples.cpp
@@ -75,7 +75,7 @@ struct sampleChannel
sampleChannel ch4, ch5;
-const sbyte galwayNoiseTab1[16] =
+const ubyte galwayNoiseTab1[16] =
{
0x80,0x91,0xa2,0xb3,0xc4,0xd5,0xe6,0xf7,
0x08,0x19,0x2a,0x3b,0x4c,0x5d,0x6e,0x7f
@@ -84,7 +84,7 @@ const sbyte galwayNoiseTab1[16] =
ubyte galwayNoiseVolTab[16];
sbyte galwayNoiseSamTab[16];
-const sbyte sampleConvertTab[16] =
+const ubyte sampleConvertTab[16] =
{
// 0x81,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,
// 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x7f

View File

@ -1,6 +1,6 @@
Name: libsidplay Name: libsidplay
Version: 1.36.59 Version: 1.36.59
Release: 3mamba Release: 4mamba
Summary: A Commodore 64 music player and SID chip emulator library Summary: A Commodore 64 music player and SID chip emulator library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.tnsp.org/?p=libsidplay1 URL: http://www.tnsp.org/?p=libsidplay1
Source: http://www.tnsp.org/xs-files/libsidplay-%{version}.tar.gz Source: http://www.tnsp.org/xs-files/libsidplay-%{version}.tar.gz
Patch0: libsidplay-1.36.59-gcc-10.2.0.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -15,30 +16,27 @@ BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
# (ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/audio/libsidplay/README.html)
%description %description
This library provides the Sound Interface Device (SID) chip emulator This library provides the Sound Interface Device (SID) chip emulator engine that is used by music player programs like SIDPLAY.
engine that is used by music player programs like SIDPLAY.
With it you can play musics from Commodore 64 (or compatible) programs. With it you can play musics from Commodore 64 (or compatible) programs.
Because the original homepage of SIDPlay (http://www.geocities.com/SiliconValley/Lakes/5147/resid)
disappeared from Internet some time ago,
I decided to set up this unofficial page for providing a semi-regularly updated tarballs of libSIDPlay1.
However, I have no intention of adding any new features, at most I will fix compilation and portability related bugs.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description devel %description devel
This library provides the Sound Interface Device (SID) chip emulator This library provides the Sound Interface Device (SID) chip emulator engine that is used by music player programs like SIDPLAY.
engine that is used by music player programs like SIDPLAY.
With it you can play musics from Commodore 64 (or compatible) programs. With it you can play musics from Commodore 64 (or compatible) programs.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q %setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," scripts/config.sub
%patch0 -p1
%build %build
%configure %configure
@ -56,19 +54,22 @@ This package contains static libraries and header files need for development.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libsidplay.so.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/sidplay %dir %{_includedir}/sidplay
%{_includedir}/sidplay/*.h %{_includedir}/sidplay/*.h
%{_libdir}/*.a %{_libdir}/libsidplay.a
%{_libdir}/*.la %{_libdir}/libsidplay.la
%{_libdir}/*.so %{_libdir}/libsidplay.so
%doc DEVELOPER src/*.txt %doc DEVELOPER src/*.txt
%changelog %changelog
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.59-4mamba
- rebuilt with debug package and aarch64 build fix
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 1.36.59-3mamba * Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 1.36.59-3mamba
- automatic rebuild by autodist - automatic rebuild by autodist