2011-12-16 14:39:22 +04:00
|
|
|
{ stdenv, fetchurl, lib, qtscriptgenerator, perl, gettext, curl
|
|
|
|
, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs
|
2011-12-16 15:44:40 +04:00
|
|
|
, qca2, libmtp, liblastfm, libgpod, pkgconfig, automoc4, phonon
|
|
|
|
, strigi, soprano }:
|
2010-09-26 23:40:30 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
pname = "amarok";
|
2012-02-20 09:28:03 +04:00
|
|
|
version = "2.5.0";
|
2010-09-26 23:40:30 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
2012-02-20 09:28:03 +04:00
|
|
|
sha256 = "0jc8fsrhshgfv441b2dgqk0wz3ms5bzjqchcj5ydxphg57dr3l8y";
|
2010-09-26 23:40:30 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
2011-12-16 14:39:22 +04:00
|
|
|
buildInputs = [ qtscriptgenerator stdenv.gcc.libc gettext curl
|
2010-09-26 23:40:30 +04:00
|
|
|
libxml2 mysql taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi
|
2010-09-27 15:19:42 +04:00
|
|
|
soprano qca2 libmtp liblastfm libgpod pkgconfig ];
|
2010-09-26 23:40:30 +04: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;
|
|
|
|
};
|
|
|
|
}
|