2011-12-16 11:39:22 +01:00
|
|
|
{ stdenv, fetchurl, lib, qtscriptgenerator, perl, gettext, curl
|
|
|
|
, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs
|
|
|
|
, qca2, libmtp, liblastfm, libgpod, pkgconfig }:
|
2010-09-26 21:40:30 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
pname = "amarok";
|
2011-08-16 01:39:27 +02:00
|
|
|
version = "2.4.3";
|
2010-09-26 21:40:30 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
2011-08-16 01:39:27 +02:00
|
|
|
sha256 = "0242psqci1b6wfhrrds14h4c4qin9s83cxk1259d9hqcsgn4ir3c";
|
2010-09-26 21:40:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
2011-12-16 11:39:22 +01:00
|
|
|
buildInputs = [ qtscriptgenerator stdenv.gcc.libc gettext curl
|
2010-09-26 21:40:30 +02:00
|
|
|
libxml2 mysql taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi
|
2010-09-27 13:19:42 +02:00
|
|
|
soprano qca2 libmtp liblastfm libgpod pkgconfig ];
|
2010-09-26 21:40:30 +02: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;
|
|
|
|
};
|
|
|
|
}
|