nixpkgs/pkgs/applications/audio/amarok/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, lib, qtscriptgenerator, perl, gettext, curl
, libxml2, mysql, taglib, taglib_extras, loudmouth , kdelibs
, qca2, libmtp, liblastfm, libgpod, pkgconfig, automoc4, phonon
2013-08-21 19:39:32 +02:00
, strigi, soprano, qjson, ffmpeg, libofa, nepomuk_core }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "amarok";
2013-08-21 19:39:32 +02:00
version = "2.8.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
2013-08-21 19:39:32 +02:00
sha256 = "1ilf9wdp3wna5pmvxill8x08rb9gw86qkc2zwm3xk9hpy8l9pf7l";
};
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
2013-08-21 19:39:32 +02:00
buildInputs = [ qtscriptgenerator stdenv.gcc.libc gettext curl
libxml2 mysql taglib taglib_extras loudmouth kdelibs automoc4 phonon strigi
2013-08-21 19:39:32 +02:00
soprano qca2 libmtp liblastfm libgpod pkgconfig qjson ffmpeg libofa nepomuk_core ];
2013-05-10 03:13:31 +02:00
cmakeFlags = "-DKDE4_BUILD_TESTS=OFF";
postInstall = ''
mkdir -p $out/nix-support
echo ${qtscriptgenerator} > $out/nix-support/propagated-user-env-packages
'';
2012-08-31 10:05:47 +02:00
meta = {
description = "Popular music player for KDE";
license = "GPL";
homepage = http://amarok.kde.org;
inherit (kdelibs.meta) platforms maintainers;
};
}