forked from mirrors/nixpkgs
Merge pull request #130972 from lovesegfault/hqplayer-fc34
update hqplayer-desktop, hqplayerd
This commit is contained in:
commit
75475ff1f0
|
@ -3,6 +3,7 @@
|
|||
, autoPatchelfHook
|
||||
, fetchurl
|
||||
, flac
|
||||
, gcc11
|
||||
, lib
|
||||
, libmicrohttpd
|
||||
, llvmPackages_10
|
||||
|
@ -17,13 +18,11 @@
|
|||
|
||||
mkDerivation rec {
|
||||
pname = "hqplayer-desktop";
|
||||
version = "4.12.1-35";
|
||||
version = "4.12.2-36";
|
||||
|
||||
src = fetchurl {
|
||||
# FIXME: use the fc34 sources when we get glibc 2.33 in nixpkgs
|
||||
# c.f. https://github.com/NixOS/nixpkgs/pull/111616
|
||||
url = "https://www.signalyst.eu/bins/hqplayer/fc33/hqplayer4desktop-${version}.fc33.x86_64.rpm";
|
||||
sha256 = "sha256-DLnZNX+uAan9dhPLMvINeXsIn3Yv2CgsvyTcX0hbEK8=";
|
||||
url = "https://www.signalyst.eu/bins/hqplayer/fc34/hqplayer4desktop-${version}.fc34.x86_64.rpm";
|
||||
sha256 = "sha256-ng0Tkx6CSnzTxuunStaBhUYjxUmzx31ZaOY2gBWnH6Q=";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
@ -35,11 +34,12 @@ mkDerivation rec {
|
|||
buildInputs = [
|
||||
alsa-lib
|
||||
flac
|
||||
gcc11.cc.lib
|
||||
libmicrohttpd
|
||||
llvmPackages_10.openmp
|
||||
qtquickcontrols2
|
||||
qtcharts
|
||||
qtdeclarative
|
||||
qtquickcontrols2
|
||||
qtwebengine
|
||||
qtwebview
|
||||
wavpack
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
, cairo
|
||||
, fetchurl
|
||||
, flac
|
||||
, gcc11
|
||||
, gnome
|
||||
, gssdp
|
||||
, gupnp
|
||||
|
@ -16,13 +17,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hqplayerd";
|
||||
version = "4.24.1-62";
|
||||
version = "4.24.2-63";
|
||||
|
||||
src = fetchurl {
|
||||
# FIXME: use the fc34 sources when we get glibc 2.33 in nixpkgs
|
||||
# c.f. https://github.com/NixOS/nixpkgs/pull/111616
|
||||
url = "https://www.signalyst.eu/bins/${pname}/fc33/${pname}-${version}.fc33.x86_64.rpm";
|
||||
sha256 = "sha256-lnejPkw6X3wRtjXTsdipEy6yZCEsDARhLPnySIltHXs=";
|
||||
url = "https://www.signalyst.eu/bins/${pname}/fc34/${pname}-${version}.fc34.x86_64.rpm";
|
||||
sha256 = "sha256-6JUgHDO+S73n/IVQhkmC0Nw4GQVzTLtiBbz/wZiflRg=";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
@ -35,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||
alsa-lib
|
||||
cairo
|
||||
flac
|
||||
gcc11.cc.lib
|
||||
gnome.rygel
|
||||
gssdp
|
||||
gupnp
|
||||
|
@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# misc service support files
|
||||
mkdir -p $out/var/lib/hqplayerd
|
||||
cp -r ./var/hqplayer/web $out/var/lib/hqplayerd
|
||||
cp -r ./var/lib/hqplayer/web $out/var/lib/hqplayer
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue