Skip to content

Commit

Permalink
The music visualiser now compiles properly on linux with lpulse-simpl…
Browse files Browse the repository at this point in the history
…e and added better detection for systems without pulse.
  • Loading branch information
tatokis committed Dec 26, 2016
1 parent bd8ab4e commit ed02527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ckb.pro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SUBDIRS = \

# Music visualizer requires Pulseaudio libraries
linux {
system(pkg-config --exists libpulse) {
packagesExist(libpulse libpulse-simple) {
SUBDIRS += src/ckb-mviz
}
}
5 changes: 2 additions & 3 deletions src/ckb-mviz/ckb-mviz.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ TARGET = ckb-mviz

QMAKE_CFLAGS += -std=c99
QMAKE_MAC_SDK = macosx10.10
QMAKE_LFLAGS += -lpulse-simple

macx {
DESTDIR = $$PWD/../../ckb.app/Contents/Resources/ckb-animations
} else {
DESTDIR = $$PWD/../../bin/ckb-animations
}

CONFIG = debug
CONFIG =
QT =
LIBS =
LIBS += -lpulse-simple

SOURCES += \
main.c \
Expand Down

0 comments on commit ed02527

Please sign in to comment.