Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2016 18:27:11 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429450 - in head/audio: . spectrogram
Message-ID:  <201612251827.uBPIRB5t048499@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Dec 25 18:27:11 2016
New Revision: 429450
URL: https://svnweb.freebsd.org/changeset/ports/429450

Log:
  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>

Added:
  head/audio/spectrogram/
  head/audio/spectrogram/Makefile   (contents, props changed)
  head/audio/spectrogram/distinfo   (contents, props changed)
  head/audio/spectrogram/pkg-descr   (contents, props changed)
  head/audio/spectrogram/pkg-message   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Sun Dec 25 17:59:31 2016	(r429449)
+++ head/audio/Makefile	Sun Dec 25 18:27:11 2016	(r429450)
@@ -739,6 +739,7 @@
     SUBDIR += soundtracker
     SUBDIR += sox
     SUBDIR += specimen
+    SUBDIR += spectrogram
     SUBDIR += speex
     SUBDIR += speexdsp
     SUBDIR += spek

Added: head/audio/spectrogram/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectrogram/Makefile	Sun Dec 25 18:27:11 2016	(r429450)
@@ -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>

Added: head/audio/spectrogram/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectrogram/distinfo	Sun Dec 25 18:27:11 2016	(r429450)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476670863
+SHA256 (dim13-spectrogram-20161017-432e96b_GH0.tar.gz) = ff046ba8576f99cd25d80a6f719b7723929d4c63242aad7a85135ffedf57ec49
+SIZE (dim13-spectrogram-20161017-432e96b_GH0.tar.gz) = 8043

Added: head/audio/spectrogram/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectrogram/pkg-descr	Sun Dec 25 18:27:11 2016	(r429450)
@@ -0,0 +1,3 @@
+Small audio visualizer for sndiod's monitor mode.
+
+WWW: https://www.dim13.org/Spectrogram

Added: head/audio/spectrogram/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/spectrogram/pkg-message	Sun Dec 25 18:27:11 2016	(r429450)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612251827.uBPIRB5t048499>