diff options
author | Klemens Nanni <klemens@posteo.de> | 2022-06-16 22:30:23 +0200 |
---|---|---|
committer | Klemens Nanni <klemens@posteo.de> | 2022-06-17 01:14:35 +0200 |
commit | f4a6eb91b99bf3f11feb9ffa84138c0308888d2b (patch) | |
tree | 39c97e7208fe8715f582e3dfbb6099bb14f16162 | |
parent | 1829c5b002d128c9c94f43d8b11c0added3863eb (diff) |
google-play-music-desktop-player: Remove
`meta.homepage` is unreachable and starting GPMDP eventually just shows a black screen as described in https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3942 It also depends on deprecated GNOME2/GTK2. Google Play Music has been discontinued but this program also supported YouTube Music, for which also `pkgs.ytmdesktop` exists. See #39976. See #115239. See #115907.
-rw-r--r-- | pkgs/applications/audio/google-play-music-desktop-player/default.nix | 82 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
3 files changed, 1 insertions, 86 deletions
diff --git a/pkgs/applications/audio/google-play-music-desktop-player/default.nix b/pkgs/applications/audio/google-play-music-desktop-player/default.nix deleted file mode 100644 index 74286073b9048..0000000000000 --- a/pkgs/applications/audio/google-play-music-desktop-player/default.nix +++ /dev/null @@ -1,82 +0,0 @@ -{ lib, stdenv, alsa-lib, atk, at-spi2-atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype -, fetchurl, GConf, gdk-pixbuf, glib, gtk2, gtk3, libpulseaudio, makeWrapper, nspr -, nss, pango, udev, xorg -}: - -let - version = "4.7.1"; - - deps = [ - alsa-lib - atk - at-spi2-atk - cairo - cups - dbus - expat - fontconfig - freetype - GConf - gdk-pixbuf - glib - gtk2 - gtk3 - libpulseaudio - nspr - nss - pango - stdenv.cc.cc - udev - xorg.libX11 - xorg.libxcb - xorg.libXcomposite - xorg.libXcursor - xorg.libXdamage - xorg.libXext - xorg.libXfixes - xorg.libXi - xorg.libXrandr - xorg.libXrender - xorg.libXScrnSaver - xorg.libXtst - ]; - -in - -stdenv.mkDerivation { - pname = "google-play-music-desktop-player"; - inherit version; - - src = fetchurl { - url = "https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/download/v${version}/google-play-music-desktop-player_${version}_amd64.deb"; - sha256 = "1ljm9c5sv6wa7pa483yq03wq9j1h1jdh8363z5m2imz407yzgm5r"; - }; - - dontBuild = true; - nativeBuildInputs = [ dpkg makeWrapper ]; - - unpackPhase = '' - dpkg -x $src . - ''; - - installPhase = '' - mkdir -p $out - cp -r ./usr/share $out - cp -r ./usr/bin $out - - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - "$out/share/google-play-music-desktop-player/Google Play Music Desktop Player" - - wrapProgram $out/bin/google-play-music-desktop-player \ - --prefix LD_LIBRARY_PATH : "$out/share/google-play-music-desktop-player" \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath deps}" - ''; - - meta = { - homepage = "https://www.googleplaymusicdesktopplayer.com/"; - description = "A beautiful cross platform Desktop Player for Google Play Music and YouTube Music"; - license = lib.licenses.mit; - platforms = [ "x86_64-linux" ]; - maintainers = with lib.maintainers; [ anna328p SuprDewd ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d264c57806816..2ca76cf4cc425 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -528,6 +528,7 @@ mapAliases ({ google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07 gotags = throw "gotags has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 + google-play-music-desktop-player = throw "GPMDP shows a black screen, upstream homepage is dead, use 'ytmdesktop' instead"; # Added 2022-06-16 go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02 go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22 go-repo-root = throw "go-repo-root has been dropped due to the lack of maintanence from upstream since 2014"; # Added 2022-06-02 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9325327707e36..3ebd39e8966b2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26995,10 +26995,6 @@ with pkgs; google-chrome-dev = google-chrome.override { chromium = chromiumDev; channel = "dev"; }; - google-play-music-desktop-player = callPackage ../applications/audio/google-play-music-desktop-player { - inherit (gnome2) GConf; - }; - gosmore = callPackage ../applications/misc/gosmore { stdenv = gcc10StdenvCompat; }; gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel { }; |