liblastfm: 1.1.0 -> liblastfm-unstable 2019-08-23
This commit is contained in:
parent
c2f945b43a
commit
557f56d465
|
@ -1,27 +1,24 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, which, cmake
|
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, which, cmake
|
||||||
, fftwSinglePrec, libsamplerate, qtbase
|
, fftwSinglePrec, libsamplerate, qtbase
|
||||||
, darwin }:
|
, darwin }:
|
||||||
|
|
||||||
let version = "1.1.0"; in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "liblastfm";
|
pname = "liblastfm-unstable";
|
||||||
inherit version;
|
version = "2019-08-23";
|
||||||
|
|
||||||
# Upstream does not package git tags as tarballs. Get tarball from github.
|
src = fetchFromGitHub {
|
||||||
src = fetchurl {
|
owner = "lastfm";
|
||||||
url = "https://github.com/lastfm/liblastfm/tarball/${version}";
|
repo = "liblastfm";
|
||||||
name = "${pname}-${version}.tar.gz";
|
rev = "2ce2bfe1879227af8ffafddb82b218faff813db9";
|
||||||
sha256 = "1j34xc30vg7sfszm2jx9mlz9hy7p1l929fka9wnfcpbib8gfi43x";
|
sha256 = "1crih9xxf3rb109aqw12bjqv47z28lvlk2dpvyym5shf82nz6yd0";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
patches = [(fetchpatch {
|
||||||
substituteInPlace CMakeLists.txt \
|
url = "https://github.com/lastfm/liblastfm/commit/9c5d072b55f2863310e40291677e6397e9cbc3c2.patch";
|
||||||
--replace 'find_package(Qt5Core QUIET)' \
|
name = "0001-Remove-deprecated-staging-server-and-fix-test-for-QT5-at-Ubuntu-19.10.patch";
|
||||||
'find_package(Qt5 REQUIRED COMPONENTS Core Network Sql Test Xml)'
|
sha256 = "04r14prydxshjgfws3pjajjmp2msszhjjs1mjh8s66yg29vq620l";
|
||||||
'';
|
})];
|
||||||
|
|
||||||
prefixKey = "--prefix ";
|
|
||||||
nativeBuildInputs = [ pkgconfig which cmake ];
|
nativeBuildInputs = [ pkgconfig which cmake ];
|
||||||
buildInputs = [ fftwSinglePrec libsamplerate qtbase ]
|
buildInputs = [ fftwSinglePrec libsamplerate qtbase ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
|
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
|
||||||
|
@ -31,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
repositories.git = "git://github.com/lastfm/liblastfm.git";
|
repositories.git = "git://github.com/lastfm/liblastfm.git";
|
||||||
description = "Official LastFM library";
|
description = "Official LastFM library";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.phreedom ];
|
maintainers = [ maintainers.phreedom ];
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,6 +252,7 @@ mapAliases ({
|
||||||
libjpeg_drop = libjpeg_original; # added 2020-06-05
|
libjpeg_drop = libjpeg_original; # added 2020-06-05
|
||||||
libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
|
libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
|
||||||
liblapackWithoutAtlas = lapack-reference; # added 2018-11-05
|
liblapackWithoutAtlas = lapack-reference; # added 2018-11-05
|
||||||
|
liblastfm = libsForQt5.liblastfm; # added 2020-06-14
|
||||||
liblrdf = lrdf; # added 2018-04-25
|
liblrdf = lrdf; # added 2018-04-25
|
||||||
libqrencode = qrencode; # added 2019-01-01
|
libqrencode = qrencode; # added 2019-01-01
|
||||||
librdf = lrdf; # added 2020-03-22
|
librdf = lrdf; # added 2020-03-22
|
||||||
|
|
|
@ -13074,8 +13074,6 @@ in
|
||||||
|
|
||||||
liblastfmSF = callPackage ../development/libraries/liblastfmSF { };
|
liblastfmSF = callPackage ../development/libraries/liblastfmSF { };
|
||||||
|
|
||||||
liblastfm = libsForQt5.callPackage ../development/libraries/liblastfm { };
|
|
||||||
|
|
||||||
liblcf = callPackage ../development/libraries/liblcf { };
|
liblcf = callPackage ../development/libraries/liblcf { };
|
||||||
|
|
||||||
liblqr1 = callPackage ../development/libraries/liblqr-1 { };
|
liblqr1 = callPackage ../development/libraries/liblqr-1 { };
|
||||||
|
@ -14349,6 +14347,8 @@ in
|
||||||
|
|
||||||
libktorrent = callPackage ../development/libraries/libktorrent { };
|
libktorrent = callPackage ../development/libraries/libktorrent { };
|
||||||
|
|
||||||
|
liblastfm = callPackage ../development/libraries/liblastfm { };
|
||||||
|
|
||||||
libopenshot = callPackage ../applications/video/openshot-qt/libopenshot.nix { };
|
libopenshot = callPackage ../applications/video/openshot-qt/libopenshot.nix { };
|
||||||
|
|
||||||
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix { };
|
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix { };
|
||||||
|
|
Loading…
Reference in a new issue