1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

New port: audio/spectrogram

Small audio visualizer for sndiod's monitor mode.

WWW: https://www.dim13.org/Spectrogram

PR:		214464
Submitted by:	Tobias Kortkamp <t@tobik.me>
This commit is contained in:
Kurt Jaeger 2016-12-25 18:27:11 +00:00
parent 6e65a746e9
commit 0ba60b4ede
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429450
5 changed files with 46 additions and 0 deletions

View File

@ -739,6 +739,7 @@
SUBDIR += soundtracker
SUBDIR += sox
SUBDIR += specimen
SUBDIR += spectrogram
SUBDIR += speex
SUBDIR += speexdsp
SUBDIR += spek

View File

@ -0,0 +1,35 @@
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= spectrogram
PORTVERSION= 20161017
CATEGORIES= audio
MAINTAINER= t@tobik.me
COMMENT= Audio visualization for sndio
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfftw3.so:math/fftw3 \
libsndio.so:audio/sndio
USES= pkgconfig
USE_XORG= x11
USE_GITHUB= yes
GH_ACCOUNT= dim13
GH_TAGNAME= 432e96b
PLIST_FILES= bin/spectrogram
post-patch:
${REINPLACE_CMD} -e 's|NOMAN=|MAN=|g' \
-e 's|-lsndio|-lm -lsndio|g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spectrogram \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1476670863
SHA256 (dim13-spectrogram-20161017-432e96b_GH0.tar.gz) = ff046ba8576f99cd25d80a6f719b7723929d4c63242aad7a85135ffedf57ec49
SIZE (dim13-spectrogram-20161017-432e96b_GH0.tar.gz) = 8043

View File

@ -0,0 +1,3 @@
Small audio visualizer for sndiod's monitor mode.
WWW: https://www.dim13.org/Spectrogram

View File

@ -0,0 +1,4 @@
The default sndiod configuration on FreeBSD already has monitor mode
enabled. To start spectrogram run
env AUDIODEVICE=snd/0.monitor spectrogram