Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelogs: - 0.10.1: https://github.com/karlstav/cava/releases/tag/0.10.1 - 0.10.0: https://github.com/karlstav/cava/releases/tag/0.10.0 - 0.9.1: https://github.com/karlstav/cava/releases/tag/0.9.1 - 0.9.0: https://github.com/karlstav/cava/releases/tag/0.9.0 - 0.8.3: https://github.com/karlstav/cava/releases/tag/0.8.3 - 0.8.2: https://github.com/karlstav/cava/releases/tag/0.8.2 - 0.8.1: https://github.com/karlstav/cava/releases/tag/0.8.1 - 0.8.0: https://github.com/karlstav/cava/releases/tag/0.8.0 - 0.7.5: https://github.com/karlstav/cava/releases/tag/0.7.5 PR: 276228 Approved by: tcberner (mentor), Adam Jimerson <vendion@gmail.com> (maintainer) Differential Revision: https://reviews.freebsd.org/D43750
- Loading branch information
Showing
10 changed files
with
54 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,86 @@ | ||
PORTNAME= cava | ||
DISTVERSION= 0.7.4 | ||
PORTREVISION= 2 | ||
DISTVERSION= 0.10.1 | ||
CATEGORIES= audio | ||
|
||
MAINTAINER= vendion@gmail.com | ||
COMMENT= Console-based Audio Visualizer for MPD, PulseAudio, and sndio | ||
WWW= https://karlstav.github.io/cava | ||
COMMENT= Cross-platform Audio Visualizer | ||
WWW= https://github.com/karlstav/cava | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
LIB_DEPENDS= libfftw3.so:math/fftw3 \ | ||
libiniparser.so:devel/iniparser | ||
|
||
USES= autoreconf compiler:c11 libtool localbase ncurses | ||
USES= autoreconf compiler:c11 libtool localbase pkgconfig | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= karlstav | ||
|
||
GNU_CONFIGURE= yes | ||
CONFIGURE_ARGS= --disable-input-alsa | ||
CONFIGURE_ENV= ac_cv_lib_asound_snd_pcm_open=no \ | ||
FONT_DIR=${DATADIR} | ||
|
||
INSTALL_TARGET= install-strip | ||
CONFIGURE_ARGS= --disable-input-alsa \ | ||
--disable-input-pipewire | ||
|
||
PLIST_FILES= bin/cava | ||
PORTDOCS= README.md | ||
PORTEXAMPLES= config | ||
|
||
OPTIONS_DEFINE= DOCS EXAMPLES PORTAUDIO PULSEAUDIO SNDIO VT | ||
OPTIONS_DEFAULT= PULSEAUDIO SNDIO VT | ||
.if !exists(/usr/bin/vtfontcvt) | ||
OPTIONS_EXCLUDE= VT | ||
.endif | ||
OPTIONS_DEFINE= DOCS EXAMPLES VT | ||
OPTIONS_DEFAULT= GLSL JACK NCURSES OSS PORTAUDIO PULSEAUDIO SDL SNDIO VT | ||
|
||
OPTIONS_GROUP= INPUT OUTPUT | ||
OPTIONS_GROUP_INPUT= JACK OSS PORTAUDIO PULSEAUDIO SNDIO | ||
OPTIONS_GROUP_OUTPUT= GLSL NCURSES SDL | ||
|
||
GLSL_DESC= Build with GLSL support (implies ${GLSL_IMPLIES}) | ||
GLSL_BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/ax_check_gl.m4:devel/autoconf-archive | ||
GLSL_USES= gl | ||
GLSL_USE= gl=egl | ||
GLSL_CONFIGURE_ENABLE= output-sdl-glsl | ||
GLSL_IMPLIES= SDL | ||
|
||
JACK_DESC= Build with JACK support | ||
JACK_LIB_DEPENDS= libjack.so:audio/jack | ||
JACK_CONFIGURE_ENABLE= input-jack | ||
|
||
NCURSES_DESC= Build with ncurses support | ||
NCURSES_USES= ncurses | ||
NCURSES_CONFIGURE_ENABLE= output-ncurses | ||
|
||
VT_DESC= Build with vt(4) support (installs custom font) | ||
OSS_DESC= Build with OSS support | ||
OSS_CONFIGURE_ENABLE= input-oss | ||
|
||
PORTAUDIO_DESC= Build with portaudio support | ||
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio | ||
PORTAUDIO_CONFIGURE_OFF= --disable-input-portaudio | ||
PORTAUDIO_CONFIGURE_ENABLE= input-portaudio | ||
|
||
PULSEAUDIO_DESC= Build with pulseaudio support | ||
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio \ | ||
libpulse.so:audio/pulseaudio | ||
PULSEAUDIO_CONFIGURE_OFF= --disable-input-pulse | ||
PULSEAUDIO_CONFIGURE_ENABLE= input-pulse | ||
|
||
SDL_DESC= Build with SDL support | ||
SDL_USES= sdl | ||
SDL_USE= sdl=sdl2 | ||
SDL_CONFIGURE_ENABLE= output-sdl | ||
|
||
SNDIO_DESC= Build with sndio support | ||
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio | ||
SNDIO_CONFIGURE_OFF= --disable-input-sndio | ||
SNDIO_CONFIGURE_ENABLE= input-sndio | ||
|
||
VT_DESC= Build and install custom font for vt(4) | ||
VT_BUILD_DEPENDS= psf2bdf:x11-fonts/psftools | ||
VT_MAKE_ARGS_OFF= cava_font__DATA="" | ||
VT_CONFIGURE_ENABLE= cava-font | ||
VT_PLIST_FILES= ${DATADIR}/cava.fnt | ||
|
||
.include <bsd.port.pre.mk> | ||
|
||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) | ||
CFLAGS+= -Wno-error=deprecated-non-prototype | ||
.endif | ||
|
||
pre-configure: | ||
@${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version | ||
|
||
pre-build-VT-on: | ||
psf2bdf --fontname="-gnu-cava-medium-r-normal--16-160-75-75-c-80-iso10646-1" \ | ||
${WRKSRC}/cava.psf > ${WRKSRC}/cava.bdf | ||
vtfontcvt ${WRKSRC}/cava.bdf ${WRKSRC}/cava.fnt | ||
${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version | ||
|
||
post-install-DOCS-on: | ||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | ||
${MKDIR} ${STAGEDIR}${DOCSDIR} | ||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} | ||
|
||
post-install-EXAMPLES-on: | ||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | ||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | ||
${INSTALL_DATA} ${WRKSRC}/example_files/config ${STAGEDIR}${EXAMPLESDIR} | ||
|
||
.include <bsd.port.post.mk> | ||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1627884520 | ||
SHA256 (karlstav-cava-0.7.4_GH0.tar.gz) = fefd3cc04d41b03ca416630cafadbfda6c75e2ca0869da1f03963dcb13e1ecb7 | ||
SIZE (karlstav-cava-0.7.4_GH0.tar.gz) = 101847 | ||
TIMESTAMP = 1707006507 | ||
SHA256 (karlstav-cava-0.10.1_GH0.tar.gz) = a3a60814326fa34b54e93ce0b1e66460d55f1007e576c5152fd47024d9ceaff9 | ||
SIZE (karlstav-cava-0.10.1_GH0.tar.gz) = 129520 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
C.A.V.A. is a bar spectrum audio visualizer for the terminal using | ||
PulseAudio, sndio or fifo buffer for input. | ||
CAVA (Cross-platform Audio Visualizer) is a bar spectrum audio visualizer for | ||
the terminal (ncurses) or desktop (SDL). It also provides a GLSL shader output | ||
backend which can enhance the desktop experience even more. The supported input | ||
backends include OSS, sndio, JACK, portaudio, pulseaudio and fifo. | ||
|
||
This program is not intended for scientific use. It's written to look | ||
This program is not intended for scientific use. It's written to look | ||
responsive and aesthetic when used to visualize music. |