2010-09-26 20:40:30 +01:00
|
|
|
{ stdenv, fetchurl, lib, cmake, qt4, qtscriptgenerator, perl, gettext, curl
|
|
|
|
, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs, automoc4, phonon
|
2010-09-27 12:19:42 +01:00
|
|
|
, strigi, soprano, qca2, libmtp, liblastfm, libgpod, pkgconfig }:
|
2010-09-26 20:40:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
pname = "amarok";
|
2011-03-26 18:23:34 +00:00
|
|
|
version = "2.4.0";
|
2010-09-26 20:40:30 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
2011-03-26 18:23:34 +00:00
|
|
|
sha256 = "52be0e926d1362828a4bf64e2a174dc009c85f6f33da4ca589f0f09ab9b7085c";
|
2010-09-26 20:40:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
|
|
|
buildInputs = [ cmake qt4 qtscriptgenerator perl stdenv.gcc.libc gettext curl
|
|
|
|
libxml2 mysql taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi
|
2010-09-27 12:19:42 +01:00
|
|
|
soprano qca2 libmtp liblastfm libgpod pkgconfig ];
|
2010-09-26 20:40:30 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/nix-support
|
|
|
|
echo ${qtscriptgenerator} > $out/nix-support/propagated-user-env-packages
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "Popular music player for KDE";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://amarok.kde.org;
|
|
|
|
inherit (kdelibs.meta) platforms maintainers;
|
|
|
|
};
|
|
|
|
}
|