mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
parent
df2a6db5ec
commit
c616a8ba3c
2 changed files with 40 additions and 0 deletions
BIN
projects/mpg123.de/fixture.mp3
Normal file
BIN
projects/mpg123.de/fixture.mp3
Normal file
Binary file not shown.
40
projects/mpg123.de/package.yml
Normal file
40
projects/mpg123.de/package.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
distributable:
|
||||
url: https://www.mpg123.de/download/mpg123-{{version}}.tar.bz2
|
||||
strip-components: 1
|
||||
|
||||
# if there’s a github then we can parse the versions
|
||||
versions:
|
||||
- 1.31.2
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
# ^^ often packages need dependencies to build, it is very common for
|
||||
# packages to need a C compiler and make, the above provide those
|
||||
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:
|
||||
- --with-default-audio=coreaudio
|
||||
aarch64:
|
||||
ARGS:
|
||||
- --with-cpu=aarch64
|
||||
x86-64:
|
||||
ARGS:
|
||||
- --with-cpu=x86-64
|
||||
|
||||
provides:
|
||||
- bin/mpg123
|
||||
# ^^ specify the binaries or tea magic won’t work
|
||||
|
||||
test:
|
||||
mpg123 --test fixture.mp3
|
Loading…
Reference in a new issue