new file: projects/github.com/xiph/speexdsp/package.yml (#3590)

new file:   projects/github.com/xiph/speexdsp/test.c
This commit is contained in:
Andrew 2023-10-09 23:49:22 +03:00 committed by GitHub
parent d31bca2e60
commit b7dfc4313c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,34 @@
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

View file

@ -0,0 +1,10 @@
#include <speex/speex_echo.h>
#include <speex/speex_jitter.h>
#include <speex/speex_preprocess.h>
#include <speex/speex_resampler.h>
#include <speex/speexdsp_config_types.h>
#include <speex/speexdsp_types.h>
int main() {
return 0;
}