diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-12-02 16:10:33 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-12-02 16:10:33 +0000 |
commit | 759d7ba80cf07f4e1a6c288527f6d16d556b228a (patch) | |
tree | ed35e8a89c616f22900ef43dcae63b6f6f87db70 /audio/cava | |
parent | Mark QT4 ports/functionality for removal on 2019-03-15 (diff) |
audio/cava: Unbreak build when vtfontcvt is missing
Notes
Notes:
svn path=/head/; revision=486468
Diffstat (limited to 'audio/cava')
-rw-r--r-- | audio/cava/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/audio/cava/Makefile b/audio/cava/Makefile index 29bd4e6a0e80..cb586a335ca4 100644 --- a/audio/cava/Makefile +++ b/audio/cava/Makefile @@ -11,7 +11,6 @@ COMMENT= Console-based Audio Visualizer for MPD, PulseAudio, and sndio LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= psf2bdf:x11-fonts/psftools LIB_DEPENDS= libfftw3.so:math/fftw3 \ libiniparser.so:devel/iniparser @@ -25,12 +24,17 @@ CONFIGURE_ENV= ac_cv_lib_asound_snd_pcm_open=no \ INSTALL_TARGET= install-strip -PLIST_FILES= bin/cava ${DATADIR}/cava.fnt +PLIST_FILES= bin/cava PORTDOCS= README.md PORTEXAMPLES= config -OPTIONS_DEFINE= DOCS EXAMPLES PULSEAUDIO SNDIO -OPTIONS_DEFAULT=PULSEAUDIO SNDIO +OPTIONS_DEFINE= DOCS EXAMPLES PULSEAUDIO SNDIO VT +OPTIONS_DEFAULT= PULSEAUDIO SNDIO VT +.if !exists(/usr/bin/vtfontcvt) +OPTIONS_EXCLUDE= VT +.endif + +VT_DESC= Build with vt(4) support (installs custom font) PULSEAUDIO_CONFIGURE_ENV_OFF= ac_cv_lib_pulse_simple_pa_simple_new=no PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio \ @@ -39,10 +43,14 @@ PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio \ SNDIO_CONFIGURE_ENV_OFF= ac_cv_lib_sndio_sio_open=no SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio +VT_BUILD_DEPENDS= psf2bdf:x11-fonts/psftools +VT_MAKE_ARGS_OFF= cava_font__DATA="" +VT_PLIST_FILES= ${DATADIR}/cava.fnt + pre-configure: @${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version -pre-build: +pre-build-VT-on: psf2bdf ${WRKSRC}/cava.psf > ${WRKSRC}/cava.bdf vtfontcvt ${WRKSRC}/cava.bdf ${WRKSRC}/cava.fnt |