Merge pull request #109 from xTibor/midi

Add TiMidity++ and GeneralUser GS
This commit is contained in:
Jeremy Soller 2017-11-19 07:47:13 -07:00 committed by GitHub
commit fdd031b14f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,33 @@
VERSION=1.471
GIT=https://github.com/xTibor/redox-generaluser-gs.git
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1
}
function recipe_stage {
mkdir -pv "$1/share/generaluser-gs"
cp -Rv ./* "$1/share/generaluser-gs"
skip=1
}

View File

@ -0,0 +1,42 @@
VERSION=2.14.0
GIT=https://github.com/xTibor/redox-timidity.git
BRANCH=redox
DEPENDS="generaluser-gs"
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
autoreconf -f -i
wget -O autoconf/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
./configure --host=${HOST} --prefix=''
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
mkdir -pv "$1/share/timidity"
echo "soundfont /share/generaluser-gs/generaluser-gs.sf2" >> "$1/share/timidity/timidity.cfg"
skip=1
}