mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
New port: audio/cli-visualizer: CLI based audio visualizer
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
SUBDIR += chordpack
|
||||
SUBDIR += chromaprint
|
||||
SUBDIR += clementine-player
|
||||
SUBDIR += cli-visualizer
|
||||
SUBDIR += clunk
|
||||
SUBDIR += cmp3
|
||||
SUBDIR += cmt
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cli-visualizer
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.8-27
|
||||
DISTVERSIONSUFFIX= -g4fc1552
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= CLI based audio visualizer
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libfftw3.so:math/fftw3 \
|
||||
libpulse.so:audio/pulseaudio
|
||||
|
||||
USES= cmake compiler:c++14-lang localbase:ldflags
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= dpayne
|
||||
|
||||
PLIST_FILES= bin/vis
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1586039983
|
||||
SHA256 (dpayne-cli-visualizer-v1.8-27-g4fc1552_GH0.tar.gz) = dd2e51dc65b8b9b74d8d938b3b9367e24f5701568f58f49e99f995443a5aaf99
|
||||
SIZE (dpayne-cli-visualizer-v1.8-27-g4fc1552_GH0.tar.gz) = 55944
|
||||
@@ -0,0 +1,11 @@
|
||||
--- src/Visualizer.cpp.orig 2020-04-04 22:44:14 UTC
|
||||
+++ src/Visualizer.cpp
|
||||
@@ -137,7 +137,7 @@ void vis::Visualizer::run()
|
||||
m_writer->setup_colors(m_settings->is_override_terminal_colors(),
|
||||
m_settings->get_colors());
|
||||
|
||||
- auto last_rotation_timestamp =
|
||||
+ int64_t last_rotation_timestamp =
|
||||
std::chrono::system_clock::now().time_since_epoch() /
|
||||
std::chrono::seconds(1);
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
Command line visualizer. Supports mpd, with experimental support for alsa and
|
||||
pulseaudio.
|
||||
|
||||
WWW: https://github.com/KDE/pulseaudio-qt
|
||||
Reference in New Issue
Block a user