pantry/projects/sourceforge.net/opencore-amr/package.yml
Andrii Riabchenko e9780a8060 new file: projects/sourceforge.net/opencore-amr/package.yml
new file:   projects/sourceforge.net/opencore-amr/test.wav
2023-11-06 12:59:12 -05:00

28 lines
644 B
YAML

distributable:
url: https://downloads.sourceforge.net/project/opencore-amr/fdk-aac/fdk-aac-{{version}}.tar.gz
strip-components: 1
versions:
url: https://sourceforge.net/projects/opencore-amr/files/fdk-aac/
match: /fdk-aac-\d+\.\d+\.\d+\.tar\.gz/
strip:
- /^fdk-aac-/
- /\.tar\.gz/
build:
dependencies:
linux:
gnu.org/gcc: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --disable-dependency-tracking
- --prefix={{prefix}}
- --enable-example
provides:
- bin/aac-enc
test:
script:
- aac-enc test.wav test.aac
- ls | grep test.aac