diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/sdl2-mixer/sdl2-mixer.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/sdl2-mixer/sdl2-mixer.xibuild')
-rw-r--r-- | repo/sdl2-mixer/sdl2-mixer.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/sdl2-mixer/sdl2-mixer.xibuild b/repo/sdl2-mixer/sdl2-mixer.xibuild new file mode 100644 index 0000000..8f48901 --- /dev/null +++ b/repo/sdl2-mixer/sdl2-mixer.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="sdl2-mixer" +DESC="A simple multi-channel audio mixer" + +MAKEDEPS=" sdl2 libvorbis libmikmod mpg123 libmodplug flac linux-headers" + +PKG_VER=2.0.4 +SOURCE="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$PKG_VER.tar.gz" + +prepare() { + sed -e "/CONFIG_FILE_ETC/s/\/etc\/timidity.cfg/\/etc\/timidity++\/timidity.cfg/" \ + -e "/DEFAULT_PATH/s/\/etc\/timidity/\/etc\/timidity++/" \ + -e "/DEFAULT_PATH2/s/\/usr\/local\/lib\/timidity/\/usr\/lib\/timidity/" \ + -i timidity/options.h +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-music-mod + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |