harmony-music: 1.10.31 -> 1.11.2
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
flutter324,
|
||||
pkg-config,
|
||||
makeDesktopItem,
|
||||
libayatana-appindicator,
|
||||
copyDesktopItems,
|
||||
@@ -13,20 +12,39 @@
|
||||
harmony-music,
|
||||
gitUpdater,
|
||||
yq,
|
||||
jdk,
|
||||
}:
|
||||
|
||||
flutter324.buildFlutterApplication rec {
|
||||
pname = "harmony-music";
|
||||
version = "1.10.31";
|
||||
version = "1.11.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anandnet";
|
||||
repo = "Harmony-Music";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-hHwkBNqYcwYlez3SCdc+I+LKyduHU93LCFaAZqpKIO4=";
|
||||
hash = "sha256-oLtdQWjBM2gRxBJzO++hoXeyvcALu6R4eA7nswQpuqw=";
|
||||
};
|
||||
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
|
||||
gitHashes = {
|
||||
just_audio_media_kit = "sha256-cNuKwOAEcFCTfbKhvBvYAdmD5qFeNW16jc3A+6ID3bM=";
|
||||
sidebar_with_animation = "sha256-Y7dTO4wN7cOmm2mnzQPW/gDYltLr7wMKMXbGtAg8WzY=";
|
||||
youtube_explode_dart = "sha256-+3j+B+Ea1l/SzR8ZLp0vLYco77hkwn9VKRPvDeHqIeY=";
|
||||
terminate_restart = "sha256-NiznKbko9f2yWcI62MA2xc/NQgy/31fYqK0COHR1Wpk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libayatana-appindicator
|
||||
jdk
|
||||
];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "harmony-music";
|
||||
@@ -45,34 +63,12 @@ flutter324.buildFlutterApplication rec {
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
pkg-config
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libayatana-appindicator
|
||||
];
|
||||
|
||||
gitHashes = {
|
||||
device_equalizer = "sha256-fvS611D/0U5yJC5i88JdyVNhJozt8tXPhgkkvHgIDRo=";
|
||||
just_audio_media_kit = "sha256-cNuKwOAEcFCTfbKhvBvYAdmD5qFeNW16jc3A+6ID3bM=";
|
||||
player_response = "sha256-4Lc6yelLzYjH3K9rzzHHJ1XDyAyQK1xFGfj/rC7wAkg=";
|
||||
sdk_int = "sha256-ABlghY7RE/E/1G7xP10LuVSWPxbg4jyfLon8XMv8rYo=";
|
||||
sidebar_with_animation = "sha256-Y7dTO4wN7cOmm2mnzQPW/gDYltLr7wMKMXbGtAg8WzY=";
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 ./assets/icons/icon.png $out/share/pixmaps/harmony-music.png
|
||||
install -Dm644 assets/icons/icon.png $out/share/pixmaps/harmony-music.png
|
||||
'';
|
||||
|
||||
extraWrapProgramArgs = ''
|
||||
--prefix LD_LIBRARY_PATH : "$out/app/harmony-music/lib:${
|
||||
lib.makeLibraryPath [
|
||||
mpv
|
||||
]
|
||||
}"
|
||||
--prefix LD_LIBRARY_PATH : $out/app/harmony-music/lib:${lib.makeLibraryPath [ mpv ]}
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user