2011-12-16 10:39:22 +00:00
|
|
|
{ stdenv, fetchurl, lib, qtscriptgenerator, perl, gettext, curl
|
|
|
|
, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs
|
2011-12-16 11:44:40 +00:00
|
|
|
, qca2, libmtp, liblastfm, libgpod, pkgconfig, automoc4, phonon
|
2013-08-22 04:08:34 +00:00
|
|
|
, strigi, soprano, qjson, ffmpeg, libofa, nepomuk_core ? null }:
|
2010-09-26 19:40:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
pname = "amarok";
|
2013-08-21 17:39:32 +00:00
|
|
|
version = "2.8.0";
|
2010-09-26 19:40:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
|
2013-08-21 17:39:32 +00:00
|
|
|
sha256 = "1ilf9wdp3wna5pmvxill8x08rb9gw86qkc2zwm3xk9hpy8l9pf7l";
|
2010-09-26 19:40:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
|
2013-08-21 17:39:32 +00:00
|
|
|
|
2014-12-17 18:11:30 +00:00
|
|
|
buildInputs = [ qtscriptgenerator stdenv.cc.libc gettext curl
|
2015-04-01 23:39:50 +00:00
|
|
|
libxml2 mysql.lib taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi
|
2013-08-21 17:39:32 +00:00
|
|
|
soprano qca2 libmtp liblastfm libgpod pkgconfig qjson ffmpeg libofa nepomuk_core ];
|
2010-09-26 19:40:30 +00:00
|
|
|
|
2013-05-10 01:13:31 +00:00
|
|
|
cmakeFlags = "-DKDE4_BUILD_TESTS=OFF";
|
|
|
|
|
2014-02-13 02:14:58 +00:00
|
|
|
propagatedUserEnvPkgs = [ qtscriptgenerator ];
|
2012-08-31 08:05:47 +00:00
|
|
|
|
2010-09-26 19:40:30 +00:00
|
|
|
meta = {
|
2014-02-13 02:14:58 +00:00
|
|
|
repositories.git = git://anongit.kde.org/amarok.git;
|
2010-09-26 19:40:30 +00:00
|
|
|
description = "Popular music player for KDE";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://amarok.kde.org;
|
|
|
|
inherit (kdelibs.meta) platforms maintainers;
|
|
|
|
};
|
|
|
|
}
|