mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
36 lines
743 B
YAML
36 lines
743 B
YAML
|
distributable:
|
||
|
url: https://github.com/PortAudio/portaudio/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
display-name: PortAudio
|
||
|
|
||
|
versions:
|
||
|
github: PortAudio/portaudio
|
||
|
strip: /^v/
|
||
|
|
||
|
platforms:
|
||
|
- darwin
|
||
|
|
||
|
#dependencies:
|
||
|
# linux:
|
||
|
# alsa-project.org/alsa-lib: '*'
|
||
|
# jackaudio.org: '*'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script:
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
- install -D include/pa_mac_core.h {{prefix}}/include/
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --enable-mac-universal=no
|
||
|
- --enable-cxx
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- cc test.c -lportaudio
|
||
|
- test "$(./a.out --version)" = "PortAudio V{{version}}-devel, revision unknown"
|