2e0589b4ca
Upstream changes to the build system required adjusting many packages' dependencies. On the Nixpkgs side, we no longer propagate the dependency on cmake (to reduce closure size), so downstream dependencies had to be adjusted for most packages that depend on kdelibs.
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ stdenv, fetchurl, lib, automoc4, cmake, perl, pkgconfig
|
|
, qtscriptgenerator, gettext, curl , libxml2, mysql, taglib
|
|
, taglib_extras, loudmouth , kdelibs , qca2, libmtp, liblastfm, libgpod
|
|
, phonon , strigi, soprano, qjson, ffmpeg, libofa, nepomuk_core ? null
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "amarok";
|
|
version = "2.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
|
sha256 = "1ilf9wdp3wna5pmvxill8x08rb9gw86qkc2zwm3xk9hpy8l9pf7l";
|
|
};
|
|
|
|
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
|
|
|
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
|
|
|
|
buildInputs = [
|
|
qtscriptgenerator stdenv.cc.libc gettext curl libxml2 mysql.lib
|
|
taglib taglib_extras loudmouth kdelibs phonon strigi soprano qca2
|
|
libmtp liblastfm libgpod qjson ffmpeg libofa nepomuk_core
|
|
];
|
|
|
|
cmakeFlags = "-DKDE4_BUILD_TESTS=OFF";
|
|
|
|
propagatedUserEnvPkgs = [ qtscriptgenerator ];
|
|
|
|
meta = {
|
|
repositories.git = git://anongit.kde.org/amarok.git;
|
|
description = "Popular music player for KDE";
|
|
license = "GPL";
|
|
homepage = http://amarok.kde.org;
|
|
inherit (kdelibs.meta) platforms maintainers;
|
|
};
|
|
}
|