sonobus: remove webkitgtk, cleanup, add maintaner l1npengtul (#454848)
This commit is contained in:
@@ -17,8 +17,10 @@
|
||||
libopus,
|
||||
curl,
|
||||
gtk3,
|
||||
nix-update-script,
|
||||
copyDesktopItems,
|
||||
makeDesktopItem,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sonobus";
|
||||
version = "1.7.2";
|
||||
@@ -31,10 +33,26 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
type = "Application";
|
||||
name = "sonobus";
|
||||
desktopName = "Sonobus";
|
||||
comment = "High-quality network audio streaming";
|
||||
icon = "sonobus";
|
||||
exec = "sonobus";
|
||||
categories = [
|
||||
"Audio"
|
||||
"AudioVideo"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
cmake
|
||||
pkg-config
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -44,7 +62,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libopus
|
||||
curl
|
||||
gtk3
|
||||
# webkitgtk_4_0
|
||||
];
|
||||
|
||||
runtimeDependencies = [
|
||||
@@ -71,17 +88,23 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook preInstall
|
||||
cd ../linux
|
||||
./install.sh "$out"
|
||||
|
||||
install -Dm444 $src/images/sonobus_logo_96.png $out/share/pixmaps/sonobus.png
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
# webkitgtk_4_0 was removed
|
||||
broken = true;
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "High-quality network audio streaming";
|
||||
homepage = "https://sonobus.net/";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ PowerUser64 ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [
|
||||
PowerUser64
|
||||
l1npengtul
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "sonobus";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user