komikku: 1.57.0 -> 1.58.0; add webp support; move to by-name (#350584)
This commit is contained in:
commit
b1da538423
@ -1,25 +1,29 @@
|
|||||||
{ lib
|
{
|
||||||
, fetchFromGitea
|
lib,
|
||||||
, desktop-file-utils
|
fetchFromGitea,
|
||||||
, gettext
|
desktop-file-utils,
|
||||||
, glib
|
gettext,
|
||||||
, gobject-introspection
|
glib,
|
||||||
, blueprint-compiler
|
gobject-introspection,
|
||||||
, gtk4
|
blueprint-compiler,
|
||||||
, libadwaita
|
gtk4,
|
||||||
, libnotify
|
libadwaita,
|
||||||
, webkitgtk_6_0
|
libnotify,
|
||||||
, meson
|
webkitgtk_6_0,
|
||||||
, ninja
|
meson,
|
||||||
, pkg-config
|
ninja,
|
||||||
, python3
|
pkg-config,
|
||||||
, wrapGAppsHook4
|
python3,
|
||||||
, nix-update-script
|
wrapGAppsHook4,
|
||||||
|
librsvg,
|
||||||
|
gnome,
|
||||||
|
webp-pixbuf-loader,
|
||||||
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "komikku";
|
pname = "komikku";
|
||||||
version = "1.57.0";
|
version = "1.58.0";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
@ -28,7 +32,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
owner = "valos";
|
owner = "valos";
|
||||||
repo = "Komikku";
|
repo = "Komikku";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-b2XoywPnrYnuehR6xHH8BvhbMZFB1AeBN0khFfaLGn0=";
|
hash = "sha256-21ZtzWjyUC+/iPv+R1DUzCHITR8GVhN+6iepcTIRy0Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -74,6 +78,19 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
# Tests require network
|
# Tests require network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# Pull in WebP support for manga pics of some servers.
|
||||||
|
# In postInstall to run before gappsWrapperArgsHook.
|
||||||
|
postInstall = ''
|
||||||
|
export GDK_PIXBUF_MODULE_FILE="${
|
||||||
|
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
|
||||||
|
extraLoaders = [
|
||||||
|
librsvg
|
||||||
|
webp-pixbuf-loader
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}"
|
||||||
|
'';
|
||||||
|
|
||||||
# Prevent double wrapping.
|
# Prevent double wrapping.
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
@ -87,12 +104,15 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Manga reader for GNOME";
|
description = "Manga reader for GNOME";
|
||||||
mainProgram = "komikku";
|
mainProgram = "komikku";
|
||||||
homepage = "https://apps.gnome.org/Komikku/";
|
homepage = "https://apps.gnome.org/Komikku/";
|
||||||
license = licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
changelog = "https://codeberg.org/valos/Komikku/releases/tag/v${version}";
|
changelog = "https://codeberg.org/valos/Komikku/releases/tag/v${version}";
|
||||||
maintainers = with maintainers; [ chuangzhu infinitivewitch ];
|
maintainers = with lib.maintainers; [
|
||||||
|
chuangzhu
|
||||||
|
infinitivewitch
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -28984,8 +28984,6 @@ with pkgs;
|
|||||||
|
|
||||||
kerbrute = callPackage ../tools/security/kerbrute { };
|
kerbrute = callPackage ../tools/security/kerbrute { };
|
||||||
|
|
||||||
komikku = callPackage ../applications/graphics/komikku { };
|
|
||||||
|
|
||||||
kvmtool = callPackage ../applications/virtualization/kvmtool { };
|
kvmtool = callPackage ../applications/virtualization/kvmtool { };
|
||||||
|
|
||||||
exrtools = callPackage ../applications/graphics/exrtools { };
|
exrtools = callPackage ../applications/graphics/exrtools { };
|
||||||
|
Loading…
Reference in New Issue
Block a user