mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
faugus-launcher: 1.11.7 -> 1.11.8
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
gamemode,
|
||||
gobject-introspection,
|
||||
icoextract,
|
||||
imagemagick,
|
||||
@@ -18,18 +17,20 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "faugus-launcher";
|
||||
version = "1.11.7";
|
||||
version = "1.11.8";
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Faugus";
|
||||
repo = "faugus-launcher";
|
||||
tag = version;
|
||||
hash = "sha256-ExvdbBZS70GfjzFkfStWrrS67lHgrzdOxsr0cabdm5M=";
|
||||
hash = "sha256-VgafXX8EuX0WOpG0cxBNlUdLL4HrrcpdblpCMxka2ms=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
meson
|
||||
ninja
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
@@ -37,11 +38,6 @@ python3Packages.buildPythonApplication rec {
|
||||
libayatana-appindicator
|
||||
];
|
||||
|
||||
build-system = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
filelock
|
||||
pillow
|
||||
@@ -60,9 +56,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
substituteInPlace faugus_run.py \
|
||||
--replace-fail "PathManager.find_binary('faugus-components')" "'$out/bin/.faugus-components-wrapped'" \
|
||||
--replace-fail "PathManager.user_data('faugus-launcher/umu-run')" "'${lib.getExe umu-launcher}'" \
|
||||
--replace-fail "PathManager.find_library('libgamemode.so.0')" "'${lib.getLib gamemode}/lib/libgamemode.so.0'" \
|
||||
--replace-fail "PathManager.find_library('libgamemodeauto.so.0')" "'${lib.getLib gamemode}/lib/libgamemodeauto.so.0'"
|
||||
--replace-fail "PathManager.user_data('faugus-launcher/umu-run')" "'${lib.getExe umu-launcher}'"
|
||||
'';
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
Reference in New Issue
Block a user