mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+xiph.org/flac (#820)
* #232 +xiph.org/flac * update version retrieval and make concurrency --------- Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
parent
5b76238bad
commit
ccb2cb5be6
2 changed files with 52 additions and 0 deletions
52
projects/xiph.org/flac/package.yml
Normal file
52
projects/xiph.org/flac/package.yml
Normal file
|
@ -0,0 +1,52 @@
|
|||
distributable:
|
||||
url: https://downloads.xiph.org/releases/flac/flac-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: xiph/flac/releases/tags
|
||||
|
||||
dependencies:
|
||||
xiph.org/ogg: ^1.3.5
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
gnu.org/libtool: ^2.4
|
||||
gnu.org/automake: ^1.16
|
||||
gnu.org/autoconf: ^2.71
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --disable-debug
|
||||
- --disable-dependency-tracking
|
||||
- --prefix="{{prefix}}"
|
||||
- --enable-static
|
||||
|
||||
provides:
|
||||
- bin/flac
|
||||
|
||||
test:
|
||||
script: |
|
||||
test "$(flac --version)" = "flac {{version}}"
|
||||
flac $ARG1
|
||||
flac $ARG2
|
||||
env:
|
||||
ARG1:
|
||||
- --decode
|
||||
- --force-raw
|
||||
- --endian=little
|
||||
- --sign=signed
|
||||
- --output-name=out.raw
|
||||
- test.flac
|
||||
ARG2:
|
||||
- --endian=little
|
||||
- --sign=signed
|
||||
- --channels=1
|
||||
- --bps=8
|
||||
- --sample-rate=8000
|
||||
- --output-name=out.flac
|
||||
- out.raw
|
BIN
projects/xiph.org/flac/test.flac
Normal file
BIN
projects/xiph.org/flac/test.flac
Normal file
Binary file not shown.
Loading…
Reference in a new issue