Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2018 05:59:04 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469360 - in head/audio/cava: . files
Message-ID:  <201805080559.w485x489095153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue May  8 05:59:04 2018
New Revision: 469360
URL: https://svnweb.freebsd.org/changeset/ports/469360

Log:
  audio/cava: Update to 0.6.1
  
  - Drop upstreamed sndio patch
  - Enable SNDIO by default
  - Add explicit EXAMPLES option
  - Also install the README.md so that we install some form of documentation
  - ALSA is not applicable to cava on FreeBSD so don't mention it in the
    comment and description
  
  Changes:	https://github.com/karlstav/cava/releases/tag/0.6.1

Deleted:
  head/audio/cava/files/patch-sndio
  head/audio/cava/pkg-plist
Modified:
  head/audio/cava/Makefile
  head/audio/cava/distinfo
  head/audio/cava/pkg-descr

Modified: head/audio/cava/Makefile
==============================================================================
--- head/audio/cava/Makefile	Tue May  8 05:48:54 2018	(r469359)
+++ head/audio/cava/Makefile	Tue May  8 05:59:04 2018	(r469360)
@@ -1,11 +1,11 @@
 # $FreeBSD$
 
 PORTNAME=	cava
-DISTVERSION=	0.6.0
+DISTVERSION=	0.6.1
 CATEGORIES=	audio
 
 MAINTAINER=	tobik@FreeBSD.org
-COMMENT=	Console-based Audio Visualizer for ALSA, MPD, PulseAudio, and sndio
+COMMENT=	Console-based Audio Visualizer for MPD, PulseAudio, and sndio
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -22,9 +22,13 @@ CONFIGURE_ENV=	ac_cv_lib_asound_snd_pcm_open=no
 
 INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	PULSEAUDIO SNDIO
-OPTIONS_DEFAULT=PULSEAUDIO
+PLIST_FILES=	bin/cava
+PORTDOCS=	README.md
+PORTEXAMPLES=	config
 
+OPTIONS_DEFINE=	DOCS EXAMPLES PULSEAUDIO SNDIO
+OPTIONS_DEFAULT=PULSEAUDIO SNDIO
+
 PULSEAUDIO_CONFIGURE_ENV_OFF=	ac_cv_lib_pulse_simple_pa_simple_new=no
 PULSEAUDIO_LIB_DEPENDS=		libpulse-simple.so:audio/pulseaudio \
 				libpulse.so:audio/pulseaudio \
@@ -34,12 +38,15 @@ SNDIO_LIB_DEPENDS=		libsndio.so:audio/sndio
 
 post-patch:
 	@${REINPLACE_CMD} '/^cava_font/d' ${WRKSRC}/Makefile.am
-	@${REINPLACE_CMD} '/<alloca.h>/d' ${WRKSRC}/cava.c
 
 pre-configure:
 	@${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version
 
-post-install:
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/example_files/config ${STAGEDIR}${EXAMPLESDIR}
 

Modified: head/audio/cava/distinfo
==============================================================================
--- head/audio/cava/distinfo	Tue May  8 05:48:54 2018	(r469359)
+++ head/audio/cava/distinfo	Tue May  8 05:59:04 2018	(r469360)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1509139935
-SHA256 (karlstav-cava-0.6.0_GH0.tar.gz) = 42d51c6c283cd2b0f5125954ea8c61a12385703d1953ef9c40103402c7a744dc
-SIZE (karlstav-cava-0.6.0_GH0.tar.gz) = 40990
+TIMESTAMP = 1525757005
+SHA256 (karlstav-cava-0.6.1_GH0.tar.gz) = 98b880e7e704ed457863f379f31b488e06076bb34a5de02825096969b916a78d
+SIZE (karlstav-cava-0.6.1_GH0.tar.gz) = 42285

Modified: head/audio/cava/pkg-descr
==============================================================================
--- head/audio/cava/pkg-descr	Tue May  8 05:48:54 2018	(r469359)
+++ head/audio/cava/pkg-descr	Tue May  8 05:59:04 2018	(r469360)
@@ -1,5 +1,5 @@
 C.A.V.A. is a bar spectrum audio visualizer for the terminal using
-ALSA, PulseAudio, sndio or fifo buffer for input.
+PulseAudio, sndio or fifo buffer for input.
 
 This program is not intended for scientific use.  It's written to look
 responsive and aesthetic when used to visualize music.



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