tidal-hifi: 5.0.0 -> 5.1.0
- Remove icon generation as upstream includes them now
This commit is contained in:
parent
0d8d3e7fc3
commit
c37d673e42
|
@ -18,7 +18,6 @@
|
||||||
, gdk-pixbuf
|
, gdk-pixbuf
|
||||||
, glib
|
, glib
|
||||||
, gtk3
|
, gtk3
|
||||||
, imagemagick
|
|
||||||
, libappindicator-gtk3
|
, libappindicator-gtk3
|
||||||
, libdbusmenu
|
, libdbusmenu
|
||||||
, libdrm
|
, libdrm
|
||||||
|
@ -37,11 +36,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tidal-hifi";
|
pname = "tidal-hifi";
|
||||||
version = "5.0.0";
|
version = "5.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb";
|
url = "https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb";
|
||||||
sha256 = "sha256-6NyHDH16bLs+bgSbjZYm2LEzp1WkJ1nO3sdkO78/VqE=";
|
sha256 = "sha256-IaSgul2L0L343TVT3ujgBoMt6tITwjJaBNOVJPCBDtI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ];
|
nativeBuildInputs = [ autoPatchelfHook dpkg makeWrapper ];
|
||||||
|
@ -61,7 +60,6 @@ stdenv.mkDerivation rec {
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
glib
|
glib
|
||||||
gtk3
|
gtk3
|
||||||
imagemagick
|
|
||||||
pango
|
pango
|
||||||
systemd
|
systemd
|
||||||
mesa # for libgbm
|
mesa # for libgbm
|
||||||
|
@ -110,12 +108,6 @@ stdenv.mkDerivation rec {
|
||||||
"''${gappsWrapperArgs[@]}"
|
"''${gappsWrapperArgs[@]}"
|
||||||
substituteInPlace $out/share/applications/tidal-hifi.desktop \
|
substituteInPlace $out/share/applications/tidal-hifi.desktop \
|
||||||
--replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi"
|
--replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi"
|
||||||
|
|
||||||
for size in 48 64 128 256 512; do
|
|
||||||
mkdir -p $out/share/icons/hicolor/''${size}x''${size}/apps/
|
|
||||||
convert $out/share/icons/hicolor/0x0/apps/tidal-hifi.png \
|
|
||||||
-resize ''${size}x''${size} $out/share/icons/hicolor/''${size}x''${size}/apps/icon.png
|
|
||||||
done
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue