From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/sdl2-mixer/sdl2-mixer.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/sdl2-mixer/sdl2-mixer.xibuild (limited to 'repo/sdl2-mixer/sdl2-mixer.xibuild') 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 +} + -- cgit v1.2.1