pantry/projects/github.com/xiph/speexdsp/package.yml
Andrew b7dfc4313c
new file: projects/github.com/xiph/speexdsp/package.yml (#3590)
new file:   projects/github.com/xiph/speexdsp/test.c
2023-10-09 16:49:22 -04:00

35 lines
806 B
YAML

distributable:
url: https://github.com/xiph/speexdsp/archive/SpeexDSP-{{version}}.tar.gz
strip-components: 1
versions:
github: xiph/speexdsp
strip: /^SpeexDSP-/
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/automake: '*'
gnu.org/libtool: '*'
freedesktop.org/pkg-config: '*'
linux:
gnu.org/gcc: '*'
gnu.org/make: '*'
script:
- ./autogen.sh
- ./configure $ARGS
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --disable-debug
- --disable-dependency-tracking
- --prefix={{prefix}}
test:
dependencies:
freedesktop.org/pkg-config: '*'
linux:
gnu.org/gcc: '*'
script:
- pkg-config --modversion speexdsp | grep {{version}}
- cc test.c -o test
- ./test