From 531567689407d00fb159222227fb8fd73b79b709 Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Sun, 19 Nov 2017 01:25:49 +0100 Subject: [PATCH 1/2] Add generaluser-gs recipe --- recipes/generaluser-gs/recipe.sh | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 recipes/generaluser-gs/recipe.sh diff --git a/recipes/generaluser-gs/recipe.sh b/recipes/generaluser-gs/recipe.sh new file mode 100644 index 00000000..34438dad --- /dev/null +++ b/recipes/generaluser-gs/recipe.sh @@ -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 +} From b91513990b7bb7cd245c5440973402e26c04e577 Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Sun, 19 Nov 2017 01:26:06 +0100 Subject: [PATCH 2/2] Add timidity recipe --- recipes/timidity/recipe.sh | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 recipes/timidity/recipe.sh diff --git a/recipes/timidity/recipe.sh b/recipes/timidity/recipe.sh new file mode 100644 index 00000000..5f1eaa49 --- /dev/null +++ b/recipes/timidity/recipe.sh @@ -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 +}