mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* add patch to remove unneeded Homebrew paths, rev-bump to pick changes Co-authored-by: Sergey Fedorov <barracuda@macos-powerpc.org>
52 lines
1.6 KiB
Tcl
52 lines
1.6 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
PortGroup legacysupport 1.1
|
|
|
|
# clock_gettime
|
|
legacysupport.newest_darwin_requires_legacy 15
|
|
|
|
github.setup karlstav cava 1.0.0
|
|
revision 1
|
|
categories audio
|
|
license MIT
|
|
maintainers {makr @mohd-akram} openmaintainer
|
|
|
|
description Cross-platform Audio Visualizer
|
|
|
|
long_description Cava is a bar spectrum audio visualizer for terminal \
|
|
(ncurses) or desktop (SDL).
|
|
|
|
checksums rmd160 693efe7221c4e67a069c67dca1311d6de93684bb \
|
|
sha256 603c6af87a4bd100a171dad1c657364b914d172eca1a27a6f18a71ea586056cc \
|
|
size 457460
|
|
|
|
depends_build path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib port:fftw-3 \
|
|
port:iniparser \
|
|
port:pulseaudio \
|
|
port:portaudio \
|
|
port:libsdl2 \
|
|
port:ncurses
|
|
|
|
patchfiles-append patch-ignore-homebrew-iniparser.diff
|
|
|
|
compiler.c_standard 1999
|
|
compiler.blacklist-append *gcc-4.0 *gcc-4.2
|
|
|
|
if {${os.platform} eq "darwin" && ${os.major} < 21} {
|
|
configure.cppflags-append -DkAudioObjectPropertyElementMain=kAudioObjectPropertyElementMaster
|
|
}
|
|
|
|
configure.args --disable-input-jack
|
|
|
|
use_autoreconf yes
|
|
|
|
if {${os.platform} eq "darwin" && ${os.major} < 11} {
|
|
# https://github.com/karlstav/cava/issues/570
|
|
configure.args-append \
|
|
--disable-output-sdl-glsl
|
|
}
|