everspace: drop
This commit is contained in:
@@ -1,140 +0,0 @@
|
||||
{
|
||||
# Packaging Dependencies
|
||||
lib,
|
||||
stdenv,
|
||||
requireFile,
|
||||
autoPatchelfHook,
|
||||
unzip,
|
||||
copyDesktopItems,
|
||||
makeDesktopItem,
|
||||
|
||||
# Everspace Dependencies
|
||||
cairo,
|
||||
gdk-pixbuf,
|
||||
pango,
|
||||
gtk2-x11,
|
||||
libGL,
|
||||
openal,
|
||||
|
||||
# Unreal Engine 4 Dependencies
|
||||
libxxf86vm,
|
||||
libxscrnsaver,
|
||||
libxrender,
|
||||
libxrandr,
|
||||
libxi,
|
||||
libxfixes,
|
||||
libxext,
|
||||
libxcursor,
|
||||
libxau,
|
||||
libx11,
|
||||
libxcb,
|
||||
}:
|
||||
|
||||
# Known issues:
|
||||
# - Video playback (upon starting a new game) does not work (screen is black)
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "everspace";
|
||||
version = "1.3.5.3655";
|
||||
|
||||
src = requireFile {
|
||||
name = "everspace_1_3_5_3655_32896.sh";
|
||||
url = "https://www.gog.com/";
|
||||
sha256 = "0jlvxq14k1pxmbr08y8kar0ijlqxcnkfqlvw883j96v9zr34ynj3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
copyDesktopItems
|
||||
unzip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
gdk-pixbuf
|
||||
pango
|
||||
gtk2-x11
|
||||
openal
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
];
|
||||
|
||||
runtimeDependencies = [
|
||||
libGL
|
||||
|
||||
# ue4
|
||||
libx11
|
||||
libxscrnsaver
|
||||
libxau
|
||||
libxcursor
|
||||
libxext
|
||||
libxfixes
|
||||
libxi
|
||||
libxrandr
|
||||
libxrender
|
||||
libxxf86vm
|
||||
libxcb
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
|
||||
# The shell script contains a zip file. Unzipping it works but will result
|
||||
# in some error output and an error exit code.
|
||||
unzip "$src" || true
|
||||
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
## Remove Bundled Libs ##
|
||||
|
||||
# vlc libs
|
||||
#
|
||||
# TODO: This is probably what breaks video playback. It would be cleaner
|
||||
# to remove the bundled libs and replace them with system libs but there
|
||||
# are so many. Copy-pasting the list from the vlc package is a good start
|
||||
# but still leaves us with many unresolved dependencies.
|
||||
rm -rf ./data/noarch/game/RSG/Plugins/VlcMedia
|
||||
|
||||
# openal
|
||||
rm -rf ./data/noarch/game/Engine/Binaries/ThirdParty/OpenAL
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/opt"
|
||||
cp -r "./data/noarch" "$out/opt/everspace"
|
||||
|
||||
mkdir -p "$out/bin"
|
||||
ln -s "$out/opt/everspace/game/RSG/Binaries/Linux/RSG-Linux-Shipping" "$out/bin/everspace"
|
||||
|
||||
mkdir -p "$out/share/pixmaps"
|
||||
ln -s "$out/opt/everspace/support/icon.png" "$out/share/pixmaps/everspace-gog.png"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
type = "Application";
|
||||
name = "everspace-gog";
|
||||
desktopName = "EVERSPACE™";
|
||||
comment = meta.description;
|
||||
exec = "everspace";
|
||||
icon = "everspace-gog";
|
||||
categories = [ "Game" ];
|
||||
})
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Action-focused single-player space shooter with roguelike elements";
|
||||
homepage = "https://classic.everspace-game.com/";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ jtrees ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
@@ -715,6 +715,7 @@ mapAliases {
|
||||
ethercalc = throw "'ethercalc' has been removed from nixpkgs as the project was old, unmaintained, and could not be packaged well in nixpkgs"; # Added 2025-11-28
|
||||
ethersync = warnAlias "'ethersync' has been renamed to 'teamtype'" teamtype; # Added 2025-10-31
|
||||
eureka-ideas = throw "'eureka-ideas' has been removed as it has been unmaintained upstream since April 2023"; # Added 2026-02-07
|
||||
everspace = throw "'everspace' has been removed, as it relies on gtk2 libraries"; # Added 2026-06-15
|
||||
evolve-core = throw "'evolve-core' has been removed, as it hindered the removal of flutter329"; # Added 2026-01-25
|
||||
eww-wayland = throw "'eww-wayland' has been renamed to/replaced by 'eww'"; # Converted to throw 2025-10-27
|
||||
f3d_egl = warnAlias "'f3d' now build with egl support by default, so `f3d_egl` is deprecated, consider using 'f3d' instead." f3d; # Added 2025-07-18
|
||||
|
||||
Reference in New Issue
Block a user