2023-03-02 19:08:49 +03:00
|
|
|
|
distributable:
|
2023-10-02 03:41:57 +03:00
|
|
|
|
url: https://www.mpg123.de/download/mpg123-{{version}}.tar.bz2
|
|
|
|
|
strip-components: 1
|
2023-03-02 19:08:49 +03:00
|
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
|
url: https://www.mpg123.de/download/
|
|
|
|
|
match: /mpg123-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
|
|
|
|
|
strip:
|
|
|
|
|
- /mpg123-/
|
|
|
|
|
- /.tar.bz2/
|
2023-03-02 19:08:49 +03:00
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
script: |
|
|
|
|
|
./configure $ARGS
|
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
env:
|
|
|
|
|
ARGS:
|
|
|
|
|
- --disable-debug
|
|
|
|
|
- --disable-dependency-tracking
|
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
|
- --with-module-suffix=.so
|
|
|
|
|
- --enable-static
|
|
|
|
|
darwin:
|
|
|
|
|
ARGS:
|
2023-10-02 03:41:57 +03:00
|
|
|
|
- --with-default-audio=coreaudio
|
2023-03-02 19:08:49 +03:00
|
|
|
|
aarch64:
|
|
|
|
|
ARGS:
|
2023-10-02 03:41:57 +03:00
|
|
|
|
- --with-cpu=aarch64
|
2023-03-02 19:08:49 +03:00
|
|
|
|
x86-64:
|
|
|
|
|
ARGS:
|
2023-10-02 03:41:57 +03:00
|
|
|
|
- --with-cpu=x86-64
|
2023-03-02 19:08:49 +03:00
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/mpg123
|
|
|
|
|
# ^^ specify the binaries or tea magic won’t work
|
|
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
|
test: mpg123 --test fixture.mp3
|