mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/fna-xna.github.io/package.yml
This commit is contained in:
parent
3d1bec0ce5
commit
3858e38bfa
1 changed files with 39 additions and 0 deletions
39
projects/fna-xna.github.io/package.yml
Normal file
39
projects/fna-xna.github.io/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
distributable:
|
||||||
|
url: git+https://github.com/FNA-XNA/FAudio.git
|
||||||
|
ref: ${{version.tag}}
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: FNA-XNA/FAudio
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
libsdl.org: ^2.28
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
cmake.org: '*'
|
||||||
|
script:
|
||||||
|
- cmake -S . -B build $ARGS
|
||||||
|
- cmake --build build
|
||||||
|
- cmake --install build
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||||||
|
- -DCMAKE_INSTALL_LIBDIR=lib
|
||||||
|
- -DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
||||||
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
|
- -Wno-dev
|
||||||
|
- -DBUILD_TESTING=OFF
|
||||||
|
|
||||||
|
test:
|
||||||
|
fixture: |
|
||||||
|
#include <FAudio.h>
|
||||||
|
int main(int argc, char const *argv[])
|
||||||
|
{
|
||||||
|
FAudio *audio;
|
||||||
|
return FAudioCreate(&audio, 0, FAUDIO_DEFAULT_PROCESSOR);
|
||||||
|
}
|
||||||
|
script:
|
||||||
|
- cp $FIXTURE test.c
|
||||||
|
- cc test.c -lFAudio -o test
|
||||||
|
- ./test
|
Loading…
Reference in a new issue