mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
alsa-project.org/alsa-lib
This commit is contained in:
parent
e3c1626dfe
commit
f2a93391de
39
projects/alsa-project.org/alsa-lib/package.yml
Normal file
39
projects/alsa-project.org/alsa-lib/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
distributable:
|
||||
url: https://www.alsa-project.org/files/pub/lib/alsa-lib-{{version}}.tar.bz2
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://www.alsa-project.org/files/pub/lib/
|
||||
match: /alsa-lib-\d+\.\d+\.\d+\.tar\.bz2/
|
||||
strip:
|
||||
- /^alsa-lib-/
|
||||
- /\.tar\.bz2$/
|
||||
|
||||
platforms:
|
||||
- linux
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
|
||||
script:
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --disable-debug
|
||||
- --disable-dependency-tracking
|
||||
- --disable-silent-rules
|
||||
|
||||
provides:
|
||||
- bin/aserver
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
- cc test.c -lasound -o test
|
||||
- ./test
|
6
projects/alsa-project.org/alsa-lib/test.c
Normal file
6
projects/alsa-project.org/alsa-lib/test.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <alsa/asoundlib.h>
|
||||
int main(void) {
|
||||
snd_ctl_card_info_t *info;
|
||||
snd_ctl_card_info_alloca(&info);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue