Merge staging-next-21.05 into staging-21.05
This commit is contained in:
commit
b999ed3d24
@ -29,8 +29,14 @@ python3Packages.buildPythonApplication rec {
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
# as of 2021-07, the gobject-introspection setup hook does not
|
||||
# work with `strictDeps` enabled, thus for proper `wrapGAppsHook`
|
||||
# it needs to be disabled explicitly. https://github.com/NixOS/nixpkgs/issues/56943
|
||||
strictDeps = false;
|
||||
|
||||
buildInputs = [
|
||||
python3
|
||||
gtk3
|
||||
gobject-introspection
|
||||
gnome.adwaita-icon-theme
|
||||
];
|
||||
@ -49,7 +55,6 @@ python3Packages.buildPythonApplication rec {
|
||||
eyeD3
|
||||
podcastparser
|
||||
html5lib
|
||||
gtk3
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
|
@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = ''
|
||||
sed -i -e "s|ecwolf.pk3|$out/share/ecwolf/ecwolf.pk3|" src/version.h
|
||||
''
|
||||
# Disable app bundle creation on Darwin. It fails, and it is not needed to run it from the Nix store
|
||||
+ lib.optionalString (stdenv.isDarwin) ''
|
||||
sed -i -e "s|include(\''${CMAKE_CURRENT_SOURCE_DIR}/macosx/install.txt)||" src/CMakeLists.txt
|
||||
'';
|
||||
|
||||
# Install the required PK3 file in the required data directory
|
||||
@ -46,7 +50,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://maniacsvault.net/ecwolf/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ sander ];
|
||||
# Darwin is untested (supported by upstream)
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user