mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/github.com/xiph/speexdsp/package.yml (#3590)
new file: projects/github.com/xiph/speexdsp/test.c
This commit is contained in:
parent
d31bca2e60
commit
b7dfc4313c
2 changed files with 44 additions and 0 deletions
34
projects/github.com/xiph/speexdsp/package.yml
Normal file
34
projects/github.com/xiph/speexdsp/package.yml
Normal 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
|
10
projects/github.com/xiph/speexdsp/test.c
Normal file
10
projects/github.com/xiph/speexdsp/test.c
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue