Package Details: sidplay2-alsa 2.0.9-2

Git Clone URL: https://aur.archlinux.org/sidplay2-alsa.git (read-only, click to copy)
Package Base: sidplay2-alsa
Description: A commandline player for SID music files - ALSA version
Upstream URL: http://sidplay2.sourceforge.net/
Keywords: c64 retro sid
Licenses: GPL
Conflicts: sidplay2
Provides: sidplay2
Submitter: krayon
Maintainer: None
Last Packager: Morn
Votes: 10
Popularity: 0.000000
First Submitted: 2011-03-18 04:11
Last Updated: 2015-06-09 14:01

Latest Comments

Morn commented on 2018-12-27 16:21

@i336: I use sidplayfp instead now, so I am going to disown this package. I think it's pretty much obsolete as the code has not changed since 2004. But if you really want to compile this, maybe try it with gcc7.

i336 commented on 2018-12-27 14:56

Hi, the included patches apply correctly, and the configure stage works, but the build currently bombs out with the following.

I suspect a newer version is available or that there's a patch floating around somewhere; I have not yet checked myself.

...
...
Making all in audio
make[2]: Entering directory '/home/i336/sidplay2-alsa/src/sidplay-2.0.9/src/audio'
Making all in alsa
make[3]: Entering directory '/home/i336/sidplay2-alsa/src/sidplay-2.0.9/src/audio/alsa'
if g++ -DHAVE_CONFIG_H    -D_FORTIFY_SOURCE=2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -I../../../include -DHAVE_UNIX  -DHAVE_UNIX  -MT audiodrv.o -MD -MP -MF ".deps/audiodrv.Tpo" -c -o audiodrv.o audiodrv.cpp; \
then mv -f ".deps/audiodrv.Tpo" ".deps/audiodrv.Po"; else rm -f ".deps/audiodrv.Tpo"; exit 1; fi
audiodrv.cpp: In member function 'virtual void* Audio_ALSA::open(AudioConfig&, const char*)':
audiodrv.cpp:216:10: error: cannot convert 'bool' to 'void*' in return
   return false;
          ^~~~~
audiodrv.cpp:225:10: error: cannot convert 'bool' to 'void*' in return
   return false;
          ^~~~~
audiodrv.cpp:232:10: error: cannot convert 'bool' to 'void*' in return
   return false;
          ^~~~~
audiodrv.cpp:240:10: error: cannot convert 'bool' to 'void*' in return
   return false;
          ^~~~~
audiodrv.cpp: In member function 'virtual void Audio_ALSA::close()':
audiodrv.cpp:271:13: warning: deleting 'void*' is undefined [-Wdelete-incomplete]
   delete [] _sampleBuffer;
             ^~~~~~~~~~~~~
make[3]: *** [Makefile:246: audiodrv.o] Error 1
make[3]: Leaving directory '/home/i336/sidplay2-alsa/src/sidplay-2.0.9/src/audio/alsa'
make[2]: *** [Makefile:222: all-recursive] Error 1
make[2]: Leaving directory '/home/i336/sidplay2-alsa/src/sidplay-2.0.9/src/audio'
make[1]: *** [Makefile:339: all-recursive] Error 1
make[1]: Leaving directory '/home/i336/sidplay2-alsa/src/sidplay-2.0.9/src'
make: *** [Makefile:241: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
warning: package sidplay2-alsa failed to build, skipping

mokkurkalve commented on 2014-09-05 11:09

configure errs out with:

(...snip....)
checking dmedia/audio.h presence... no
checking for dmedia/audio.h... no
checking which audio subsystem is available... oss
checking whether exceptions are available... no
checking whether standard member ios::binary is available... no
checking whether standard member ios::openmode is available... yes
checking for pkg-config... /usr/bin/pkg-config
checking for working sidplay2 library and headers... /usr/lib, /usr/include
checking for working sidutils library and headers... /usr/lib, /usr/include
checking for sidbuilders install directory... /usr/lib/
checking for resid builder module... no
checking for hardsid builder module... no
configure: error:
No builder modules were found in the sidbuilders
install dir. Please check your installation!

krayon commented on 2011-07-01 08:53

Corrected erroneous path

krayon commented on 2011-03-18 04:13

ALSA Support added. Patched version of: https://aur.archlinux.org/packages.php?ID=13341

Patch from: http://wnd.katei.fi/weblog/entry-41 (slightly modified to build)