45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
name: libfaudio-meta
|
|
modules:
|
|
- name: libfaudio-platform
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/FNA-XNA/FAudio/archive/19.08.tar.gz
|
|
sha256: 78f66af91ec45fe93c0aed9ad40f5ebb226f8ee1e12ec61ab9da6349dc9188a8
|
|
builddir: true
|
|
buildsystem: cmake
|
|
build-options:
|
|
make-install-args:
|
|
- DESTDIR=/usr/tmp_faudio
|
|
- install
|
|
post-install:
|
|
- rm -rfv /usr/tmp_faudio/usr/share
|
|
- cp -rav /usr/tmp_faudio/usr /
|
|
- rm -rfv /usr/tmp_faudio
|
|
cleanup-platform:
|
|
- "*.la"
|
|
- "*.a"
|
|
- "/include"
|
|
- name: libfaudio-32bit
|
|
sources:
|
|
- type: archive
|
|
url: https://github.com/FNA-XNA/FAudio/archive/19.08.tar.gz
|
|
sha256: 78f66af91ec45fe93c0aed9ad40f5ebb226f8ee1e12ec61ab9da6349dc9188a8
|
|
builddir: true
|
|
buildsystem: cmake
|
|
config-opts:
|
|
- -DCMAKE_C_FLAGS=-m32 -I/usr/include/SDL2
|
|
- -DCMAKE_CXX_FLAGS=-m32 -I/usr/include/SDL2
|
|
- -DCMAKE_INSTALL_LIBDIR=lib32
|
|
build-options:
|
|
make-install-args:
|
|
- DESTDIR=/usr/tmp_faudio
|
|
- install
|
|
post-install:
|
|
- rm -rfv /usr/tmp_faudio/usr/share /usr/tmp_faudio/usr/include
|
|
- cp -rav /usr/tmp_faudio/usr /
|
|
- rm -rfv /usr/tmp_faudio
|
|
cleanup-platform:
|
|
- "*.la"
|
|
- "*.a"
|
|
- "/include"
|