Merge staging-next-21.05 into staging-21.05
This commit is contained in:
commit
b999ed3d24
@ -29,8 +29,14 @@ python3Packages.buildPythonApplication rec {
|
|||||||
glibcLocales
|
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 = [
|
buildInputs = [
|
||||||
python3
|
python3
|
||||||
|
gtk3
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gnome.adwaita-icon-theme
|
gnome.adwaita-icon-theme
|
||||||
];
|
];
|
||||||
@ -49,7 +55,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
eyeD3
|
eyeD3
|
||||||
podcastparser
|
podcastparser
|
||||||
html5lib
|
html5lib
|
||||||
gtk3
|
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i -e "s|ecwolf.pk3|$out/share/ecwolf/ecwolf.pk3|" src/version.h
|
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
|
# Install the required PK3 file in the required data directory
|
||||||
@ -46,7 +50,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://maniacsvault.net/ecwolf/";
|
homepage = "https://maniacsvault.net/ecwolf/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ sander ];
|
maintainers = with maintainers; [ sander ];
|
||||||
# Darwin is untested (supported by upstream)
|
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user