chameleonultragui: init at 1.3 (#455441)

This commit is contained in:
Sandro
2026-05-31 15:33:49 +00:00
committed by GitHub
4 changed files with 1277 additions and 0 deletions

View File

@@ -29671,6 +29671,11 @@
}
];
};
wilaz = {
name = "Wilaz";
github = "Wilaz";
githubId = 98198668;
};
wildsebastian = {
name = "Sebastian Wild";
email = "sebastian@wild-siena.com";

View File

@@ -0,0 +1,5 @@
{
"file_saver": "sha256-3T4UVDkhjTmLakQqJ0/WCP9NOQlONHAzeK+y5gY7qa8=",
"flutter_libserialport": "sha256-Ksj5U94kCoe5FQ85m4Ui0t+Z4ME94E6TcDq45Xms0dE=",
"usb_serial": "sha256-sqGd5ECWVkqsW5ZGlnCV1veHsp0p7inBX2240Xe6NiU="
}

View File

@@ -0,0 +1,56 @@
{
lib,
flutter335,
fetchFromGitHub,
autoPatchelfHook,
zenity,
ninja,
}:
flutter335.buildFlutterApplication rec {
pname = "chameleonultragui";
version = "1.3";
src = fetchFromGitHub {
owner = "GameTec-live";
repo = "ChameleonUltraGUI";
tag = version;
hash = "sha256-9Hwjx1nt/QD520eLMAB5xyFjOGfjZSwS83ARNn8GsFo=";
};
sourceRoot = "${src.name}/chameleonultragui";
# curl https://raw.githubusercontent.com/GameTec-live/ChameleonUltraGUI/main/chameleonultragui/pubspec.lock | yq > pubspec.lock.json
pubspecLock = lib.importJSON ./pubspec.lock.json;
gitHashes = lib.importJSON ./git_hashes.json;
nativeBuildInputs = [
autoPatchelfHook
];
buildInputs = [
zenity
ninja
];
postPatch = ''
substituteInPlace linux/main.cc \
--replace-fail '"../shared", "librecovery.so"' '"lib", "librecovery.so"'
'';
postInstall = ''
install -Dm0644 aur/chameleonultragui.desktop $out/share/applications/chameleonultragui.desktop
install -Dm0644 aur/chameleonultragui.png $out/share/pixmaps/chameleonultragui.png
install -Dm0644 build/linux/*/release/shared/librecovery.so $out/app/chameleonultragui/lib
'';
meta = {
description = "Cross platform GUI for the Chameleon Ultra written in flutter";
homepage = "https://github.com/GameTec-live/ChameleonUltraGUI";
changelog = "https://github.com/GameTec-live/ChameleonUltraGUI/releases/${version}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
mainProgram = "chameleonultragui";
maintainers = with lib.maintainers; [ wilaz ];
};
}

File diff suppressed because it is too large Load Diff