mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 01:45:06 +03:00
+wavpack.com
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
6e760c41f3
commit
42283e2f5c
1 changed files with 33 additions and 0 deletions
33
projects/wavpack.com/package.yml
Normal file
33
projects/wavpack.com/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: https://www.wavpack.com/wavpack-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
display-name: wavpack.com
|
||||
|
||||
versions:
|
||||
github: dbry/WavPack/tags
|
||||
|
||||
build:
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
||||
provides:
|
||||
- bin/wavpack
|
||||
- bin/wvunpack
|
||||
- bin/wvtag
|
||||
- bin/wvgain
|
||||
|
||||
test:
|
||||
# Testing lossless encoding and decoding on random file
|
||||
script: |
|
||||
dd if=/dev/zero of=test.raw bs=4 count=22050
|
||||
dd if=/dev/urandom bs=4 count=22050 >> test.raw
|
||||
dd if=/dev/zero bs=4 count=22050 >> test.raw
|
||||
wavpack --raw-pcm=44100,16s,2,le -y test.raw
|
||||
wvunpack test.wv -o out.raw -r -y
|
||||
cmp -s test.raw out.raw
|
||||
rm test.raw out.raw test.wv
|
Loading…
Reference in a new issue