Skip to content

Commit

Permalink
jhentai: 8.0.5 -> 8.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
aucub committed Dec 12, 2024
1 parent f0a890d commit c301f33
Show file tree
Hide file tree
Showing 2 changed files with 523 additions and 459 deletions.
20 changes: 12 additions & 8 deletions pkgs/by-name/jh/jhentai/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
autoPatchelfHook,
lib,
fetchFromGitHub,
flutter,
flutter324,
pkg-config,
webkitgtk_4_1,
}:
flutter.buildFlutterApplication rec {
flutter324.buildFlutterApplication rec {
pname = "jhentai";
version = "8.0.5";
version = "8.0.6";

src = fetchFromGitHub {
owner = "jiangtian616";
repo = "JHenTai";
rev = "refs/tags/v${version}";
hash = "sha256-LL1TyLF37NtwTRN9vhHBY+xHDg0E0ACt2ilacIKpduU=";
tag = "v${version}";
hash = "sha256-zW/SPzyXlSI5ngzrpn/9U7TlyiX5OLORVm1tAEJrX9U=";
};

pubspecLock = lib.importJSON ./pubspec.lock.json;
Expand All @@ -39,10 +39,14 @@ flutter.buildFlutterApplication rec {
flutter_draggable_gridview = "sha256-kntjeWEhRl4rdJBO8kt7GCaaLdPWy6b7zmBIjHyP7h8=";
flutter_slidable = "sha256-nBPEZBvKV3D/eEa/cYb7jgbJ60rbh823yDJALLz1/8c=";
flutter_socks_proxy = "sha256-a8XZTPTz521o7G7NsEXv2E/H7uVJcY4rcouIkdQC+jg=";
flutter_windowmanager = "sha256-+T2w1VLnrkzyvODGmWefa6aN1N+/i4itBgps2zouAas=";
j_downloader = "sha256-x5RG/SqbfOiRd51dL8H+phLIBrpVdOJiASWhbB5gCNQ=";
like_button = "sha256-OVzfpIEnw88496H345NHn7nZ48+QDTaneBzN2UCdwk8=";
photo_view = "sha256-k/+ncCzGkF4XmFpo3wmJOQbElSh2r+SlyeI3M9yDFtM=";
fluttertoast = "sha256-/2VJ1x7l5Idjwkm4Ennz8H/EC3j4/slRODj/82yO3iI=";
http_proxy = "sha256-GFb2xy8RSn6x/JGHRSa7Gl5TAsY+DHo8k3xxPqXGmfo=";
scrollable_positioned_list = "sha256-8WfyUpTs+Cfv2VzFECrW/DGoKOsu9KY6hf6sP81xuBg=";
system_network_proxy = "sha256-TAiFiIbO3v2awkaw8YYj7YnmuplnkSBclUVdGyHIRCs=";
zoom_view = "sha256-/JPvmLg8syn5IlKucj3R765kedCZ1LdzkreUIsvdwEg=";
};

flutterBuildFlags = [
Expand All @@ -51,11 +55,11 @@ flutter.buildFlutterApplication rec {

postInstall = ''
install -Dm644 ./linux/assets/top.jtmonster.jhentai.desktop $out/share/applications/top.jtmonster.jhentai.desktop
install -Dm644 ./assets/icon_512.png $out/share/icons/hicolor/512x512/apps/top.jtmonster.jhentai.png
install -Dm644 ./assets/icon/JHenTai_512.png $out/share/icons/hicolor/512x512/apps/top.jtmonster.jhentai.png
'';

extraWrapProgramArgs = ''
--prefix LD_LIBRARY_PATH : "$out/app/${pname}/lib"
--prefix LD_LIBRARY_PATH : "$out/app/jhentai/lib"
'';

meta = {
Expand Down
Loading

0 comments on commit c301f33

Please sign in to comment.