-
-
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
7 changed files
with
174 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,17 @@ | ||
Copyright (c) 2019 Patryk Obara | ||
|
||
This software is provided 'as-is', without any express or implied | ||
warranty. In no event will the authors be held liable for any damages | ||
arising from the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any purpose, | ||
including commercial applications, and to alter it and redistribute it | ||
freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you must not | ||
claim that you wrote the original software. If you use this software | ||
in a product, an acknowledgment in the product documentation would be | ||
appreciated but is not required. | ||
2. Altered source versions must be plainly marked as such, and must not be | ||
misrepresented as being the original software. | ||
3. This notice may not be removed or altered from any source distribution. |
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 @@ | ||
master_levels_dir "../masterbase/master/wads/" |
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,15 @@ | ||
#!/bin/bash | ||
|
||
if [[ -z "${SDL_SOUNDFONTS}" ]]; then | ||
echo "Setting default soundfont" | ||
export SDL_SOUNDFONTS="fluid-soundfont-3.1/FluidR3_GM.sf2" | ||
fi | ||
|
||
|
||
cd eternity | ||
|
||
# workaround for libopengl | ||
mkdir lib | ||
cp /overrides/lib/x86_64-linux-gnu/libXext.so.6 lib/libOpenGL.so.0 | ||
|
||
LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./eternity "$@" |
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,32 @@ | ||
#!/bin/bash | ||
|
||
export pfx="$PWD/local" | ||
mkdir -p "$pfx" | ||
|
||
export LDFLAGS=-L"$VCPKG_INSTALLED_PATH/lib" | ||
export LIBRARY_PATH="$VCPKG_INSTALLED_PATH/lib;$pfx/lib" | ||
|
||
# From https://gitlab.com/luxtorpeda/packages/gzdoom - See LICENSE file for more information | ||
# CLONE PHASE | ||
git clone https://github.com/team-eternity/eternity.git source | ||
pushd source | ||
git checkout d699a7d | ||
git submodule update --init | ||
popd | ||
|
||
# BUILD PHASE | ||
pushd "source" | ||
mkdir -p build | ||
cd build | ||
cmake \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_PREFIX_PATH="$pfx;$VCPKG_INSTALLED_PATH" \ | ||
.. | ||
make -j "$(nproc)" | ||
make install DESTDIR="$pfx" | ||
popd | ||
|
||
# COPY PHASE | ||
cp -rfv "$pfx/usr/local/bin"/* "$diststart/common/dist/" | ||
cp -rfv "$pfx/usr/local/share/eternity/base" "$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="2300 2280" | ||
export LICENSE_PATH="./source/COPYING" | ||
export ADDITIONAL_LICENSES="./LICENSE" | ||
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