parent
2019b74595
commit
5fdd8b6598
|
@ -0,0 +1,8 @@
|
||||||
|
Warning: Running cli-visualizer may cause your terminal colors to be
|
||||||
|
overwritten until you restart your terminal.
|
||||||
|
|
||||||
|
You can disable this behavior by setting:
|
||||||
|
|
||||||
|
colors.override.terminal=false
|
||||||
|
|
||||||
|
in ~/.config/vis/config
|
|
@ -0,0 +1,24 @@
|
||||||
|
From 02fe362807c3b8743ec6696476bfe51ab590ff39 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jasper Chan <jasperchan515@gmail.com>
|
||||||
|
Date: Thu, 6 Sep 2018 21:47:43 -0700
|
||||||
|
Subject: [PATCH] Checking for -ltinfo is deprecated
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git Makefile Makefile
|
||||||
|
index 8626dd2..5653c67 100644
|
||||||
|
--- Makefile
|
||||||
|
+++ Makefile
|
||||||
|
@@ -55,7 +55,6 @@ CXX_FLAGS += -dynamic -D_OS_OSX
|
||||||
|
# Linux
|
||||||
|
else
|
||||||
|
CXX_FLAGS += -D_LINUX
|
||||||
|
-LIBS += -ltinfo
|
||||||
|
ifndef ENABLE_PULSE
|
||||||
|
CHECK_PULSE=$(shell ldconfig -p | grep libpulse-simple)
|
||||||
|
ifeq ($(strip $(CHECK_PULSE)),)
|
||||||
|
--
|
||||||
|
2.18.0
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- Makefile
|
||||||
|
+++ Makefile
|
||||||
|
@@ -234,7 +234,7 @@ uninstall:
|
||||||
|
@rm -f $(PREFIX)/safe_fifo
|
||||||
|
|
||||||
|
install:
|
||||||
|
- cp $(BUILD_DIR)/$(TARGET) $(PREFIX)
|
||||||
|
+ install $(BUILD_DIR)/$(TARGET) -Dm0755 $(PREFIX)/cli-visualizer
|
||||||
|
# cp bin/safe_fifo $(PREFIX)
|
||||||
|
|
||||||
|
###############################################################################
|
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'cli-visualizer'
|
||||||
|
pkgname=cli-visualizer
|
||||||
|
version=1.7
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
make_install_args="PREFIX=${DESTDIR}/usr/bin/"
|
||||||
|
makedepends="fftw-devel ncurses-devel $(vopt_if pulseaudio 'pulseaudio-devel')"
|
||||||
|
short_desc="CLI based audio visualizer"
|
||||||
|
maintainer="Jasper Chan <jasperchan515@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/dpayne/cli-visualizer"
|
||||||
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
|
checksum=0445fbfad9707668a70ff146f3f24308f28fa0ae67a7010bfdea0dacba75b75b
|
||||||
|
build_options="pulseaudio"
|
||||||
|
|
||||||
|
# Some targets don't have libpulse-simple, can't compile with pulseaudio support
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
armv*) make_build_args+=" VIS_COMPILER_ARCH=armv6";;
|
||||||
|
aarch64*) make_build_args+=" VIS_COMPILER_ARCH=armv8-a";;
|
||||||
|
x86_64-musl) ;;
|
||||||
|
*) build_options_default+=" pulseaudio";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# Files listed in install.sh
|
||||||
|
for f in examples/*; do
|
||||||
|
vsconf ${f}
|
||||||
|
done
|
||||||
|
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue