-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
187 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
cd ./woof | ||
|
||
if [[ -z "${SDL_SOUNDFONTS}" ]]; then | ||
echo "Setting default soundfont" | ||
export SDL_SOUNDFONTS="fluid-soundfont-3.1/FluidR3_GM.sf2" | ||
fi | ||
|
||
export LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" | ||
./woof "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
export LDFLAGS=-L"$VCPKG_INSTALLED_PATH/lib" | ||
export LIBRARY_PATH="$VCPKG_INSTALLED_PATH/lib" | ||
|
||
# CLONE PHASE | ||
git clone https://github.com/fabiangreffrath/woof.git source | ||
pushd source | ||
git checkout cf23b4b | ||
popd | ||
|
||
# BUILD PHASE | ||
pushd "source" | ||
mkdir -p build | ||
cd build | ||
cmake \ | ||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
-DCMAKE_PREFIX_PATH="$VCPKG_INSTALLED_PATH" \ | ||
.. | ||
make -j "$(nproc)" | ||
popd | ||
|
||
# COPY PHASE | ||
cp -rfv "source/build/src/woof" "$diststart/common/dist/" | ||
cp -rfv "source/autoload" "$diststart/common/dist/" | ||
cp -rfv "source/docs" "$diststart/common/dist/" | ||
cp -rfv "source/soundfonts" "$diststart/common/dist/" | ||
|
||
cp -rfv assets/* "$diststart/common/dist/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
#!/bin/bash | ||
|
||
export STEAM_APP_ID_LIST="2280 2300 2290" | ||
export LICENSE_PATH="./source/COPYING" | ||
export COMMON_PACKAGE="1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", | ||
"dependencies": [ | ||
{ "name": "fluidsynth", "features": ["pulseaudio"] }, | ||
{ "name": "sdl2-mixer", "features": ["fluidsynth"] } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters