Package Details: sbagen 1.4.5-8

Git Clone URL: (read-only, click to copy)
Package Base: sbagen
Description: A binural brainwave generator
Upstream URL:
Licenses: GPL
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 25
Popularity: 0.000306
First Submitted: 2008-04-27 23:34 (UTC)
Last Updated: 2022-06-03 04:41 (UTC)

Latest Comments

1 2 Next › Last »

prurigro commented on 2022-06-03 04:41 (UTC)

@Jimmy_Heavenly: You're right! I got things working again using up-to-date solutions :)

Jimmy_Heavenly commented on 2021-11-07 22:34 (UTC)

It appears that the PKGBUILD may need a touch-up

prurigro commented on 2020-07-31 04:43 (UTC)

Awesome, your patch did the trick, thanks!

I've pushed an updated package and added you to the credits in the PKGBUILD

c4t0 commented on 2020-07-31 03:16 (UTC) (edited on 2020-07-31 03:17 (UTC) by c4t0)

I'm getting a linking error on calcNow. That might be due to -O3 optimizations.

Maybe there are some linker flags to make it work, but a workaround is the patch the sbagen.c:

-inline int calcNow() ;
+inline static int calcNow() ;

in three places, do the trick.

mindsystem commented on 2014-07-21 17:32 (UTC)

Simply adding 'gcc-multilib' and 'lib32-glibc' to the PKGBUILD breaks things for 32bit users. See for details on adding 64bit specific dependencies. What should be done is something like this: depends=('bash' 'perl') makedepends=('libmad' 'libvorbis') if test "$CARCH" == x86_64; then depends+=('lib32-glibc') makedepends+=('gcc-multilib') fi

prurigro commented on 2014-07-20 16:39 (UTC)

@The-Compiler: Thanks for the feedback! I think the issue is that you need gcc-multilib (and not simply gcc) to properly build it, and I'm guessing it's the binaural-analysis tools if this wasn't the case before (if you didn't want to have 32bit on your system). In any case, let me know if you still aren't able to build sbagen after satisfying the new dependencies. Cheers

The-Compiler commented on 2014-07-20 14:36 (UTC)

This doesn't build anymore (on 64bit) after the last upgrade:

prurigro commented on 2014-07-17 12:22 (UTC)

This latest release: * updates the PKGBUILD to the current standards (complies with namcap) * fixes dependency issues * fixes ogg support * patches the examples that use river*.ogg so you don't need to be in the same directory as the ogg files to play them * fixes an issue with the default build leaves sbagen with an executable stack * removes the dependency on aoss and instead expects the "snd-pcm-oss" module to be loaded and any users running sbagen in the "audio" group * adds the binaural analysis tools pack * adds the arm architectures (though I've only tested on armv7h)

prurigro commented on 2013-09-27 07:21 (UTC)

The package has been updated! Changes include: 1. libmad and libvorbis have been added to the deps thanks to @fergie for pointing out the problem and @The-Compiler for the answer! 2. Since 99% of Arch users are now using Alsa (or something like Pulse on top of Alsa), and not OSS, I've included alsa-oss as a dep, and the package now installs three commands: sbagen-oss: The unaltered program using OSS, previously installed as 'sbagen' sbagen-alsa: A new script that works just like sbagen-oss except using Alsa sbagen: A symbolic link to sbagen-alsa 3. The PKGBUILD has been updated to the new standards (I've been slowly making my way through the packages I maintain and am finally getting close to complete!) 4. The sbagen.install file now runs on installs like before as well as upgrades now too, and it's been updated to reflect the changes as well as hopefully make things a bit more clear Let me know if there are any issues or ideological complaints concerning the changes and I'll do my best to find a resolution- Cheers! :)

The-Compiler commented on 2013-08-15 18:57 (UTC)

This should have libmad and libvorbis added to it's dependecies: /usr/bin/ld: cannot find -lmad /usr/bin/ld: cannot find -lvorbis collect2: error: ld returned 1 exit status Also, the packaging stuff should be split to a package() function, not in build(): ==> WARNING: Using a PKGBUILD without a package() function is deprecated.