Package Details: cava 0.6.0-1

Git Clone URL: https://aur.archlinux.org/cava.git (read-only)
Package Base: cava
Description: Console-based Audio Visualizer for Alsa
Upstream URL: https://github.com/karlstav/cava
Licenses: MIT
Submitter: CelestialWalrus
Maintainer: funilrys
Last Packager: funilrys
Votes: 37
Popularity: 2.041308
First Submitted: 2015-05-05 22:15
Last Updated: 2017-08-27 07:45

Latest Comments

funilrys commented on 2017-08-05 19:58

Thanks for feedback @ibrokemypie.

Before every update, I personally build the package on 2 different computers so I don't understand why I don't have such issues ...

You're diff suggest that we should remove the line with: `sed -i 's;/usr/local;/usr;g' Makefile.am`
But the current version of the PKGBUILD (Please report to https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=cava or https://github.com/funilrys/PKGBUILD/blob/master/cava/PKGBUILD) don't have such line ...

Have a nice day/night,

Fun Ilyrs

ibrokemypie commented on 2017-08-05 11:16

issue is upstream, however the following diff allows this to build fine

--- PKGBUILD 2017-08-05 21:12:00.990439872 +1000
+++ PKGBUILD2 2017-08-05 21:12:50.050440504 +1000
@@ -13,7 +13,6 @@

build() {
cd $pkgname-$pkgver
- sed -i 's;/usr/local;/usr;g' Makefile.am
./autogen.sh
./configure --prefix=/usr
make

ibrokemypie commented on 2017-07-29 09:19

mv -f .deps/cava-cava.Tpo .deps/cava-cava.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -L/usr/local/lib -Wl,-rpath /usr/local/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -o cava cava-cava.o -liniparser -liniparser -lpthread -lasound -lpulse-simple -lpulse -lm -lfftw3 -lncursesw
libtool: link: gcc -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-rpath /usr/local/lib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o cava cava-cava.o -L/usr/local/lib -liniparser -lpthread -lasound -lpulse-simple -lpulse -lm -lfftw3 -lncursesw
gcc: error: /usr/local/lib: No such file or directory
make[1]: *** [Makefile:492: cava] Error 1
make[1]: Leaving directory '/tmp/makepkg/cava/src/cava-0.4.3'
make: *** [Makefile:577: all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build cava package(s)

funilrys commented on 2017-02-10 07:28

@marcin thanks + fixed

marcin commented on 2017-02-05 04:21


Before installing, install this
sudo pacman -S iniparser

Without this, the following errors occur

/usr/bin/cava: line 202: cd: /tmp/yaourt-tmp-mwo/aur-cava/src/cava-0.4.2: No such file or directory
gcc: error: cava-cava.o: No such file or directory
gcc: error: /tmp/yaourt-tmp-mwo/aur-cava/src/cava-0.4.2/iniparser/.libs/libiniparser.so: No such file or directory


Also its worth installing pulseaudio as cava works with it by default. With only alsa, there is some teawking to do.

Brottweiler commented on 2017-01-04 14:44

==> WARNING: Package contains reference to $srcdir

apolih commented on 2016-11-29 18:03

cava is not working for me after install:

$ cava
mkdir: cannot create directory ‘/usr/bin/.libs’: Permission denied
/usr/bin/ld: cannot open output file /usr/bin/.libs/10890-lt-cava: No such file or directory
collect2: error: ld returned 1 exit status

Perhaps related to this warning during the build?

$ makepkg

...

==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> WARNING: Package contains reference to $srcdir
==> Creating package "cava"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: cava 0.4.2-1 (Tue Nov 29 11:58:22 CST 2016)

hillz commented on 2016-11-17 12:20

For those having problem where the visualizer doesn't start after you play a song, change autosens to 0 and sensitivity to 10, don't forget to uncomment those options

shaggytwodope commented on 2015-11-29 04:47

updated pkgbuild, https://gist.github.com/shaggytwodope/73dbe7a98fb860d2af77

tho can prolly do without --prefix bit... but yeah lazy.

addisonamiri commented on 2015-11-19 19:32

Awesome! Build works perfectly.

All comments