mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
soxr.sourceforge.net (#1878)
* new file: projects/soxr.sourceforge.net/package.yml * modified: projects/soxr.sourceforge.net/package.yml * darwin/aarch64 fix --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
bff3b77d71
commit
4494c2d175
1 changed files with 31 additions and 0 deletions
31
projects/soxr.sourceforge.net/package.yml
Normal file
31
projects/soxr.sourceforge.net/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
distributable:
|
||||
url: https://downloads.sourceforge.net/project/soxr/soxr-{{version}}-Source.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://sourceforge.net/projects/soxr/files/
|
||||
match: /soxr-\d+.\d+.\d+
|
||||
strip:
|
||||
- /^soxr-/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
cmake.org: '*'
|
||||
script: |
|
||||
cmake $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
||||
darwin/aarch64:
|
||||
ARGS:
|
||||
# https://github.com/chirlu/soxr/issues/6
|
||||
- -DWITH_CR32S=OFF
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
pkg-config --modversion soxr | grep {{version}}
|
Loading…
Reference in a new issue