3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/amarok/default.nix

49 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, lib, automoc4, cmake, perl, pkgconfig
, qtscriptgenerator, gettext, curl , libxml2, mysql, taglib
, taglib_extras, loudmouth , kdelibs4, qca2, libmtp, liblastfm, libgpod
, phonon , strigi, soprano, qjson, ffmpeg, libofa, nepomuk_core ? null
, lz4, lzo, snappy, libaio, pcre
}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "amarok";
2013-08-21 18:39:32 +01:00
version = "2.8.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.bz2";
2013-08-21 18:39:32 +01:00
sha256 = "1ilf9wdp3wna5pmvxill8x08rb9gw86qkc2zwm3xk9hpy8l9pf7l";
};
QT_PLUGIN_PATH="${qtscriptgenerator}/lib/qt4/plugins";
2013-08-21 18:39:32 +01:00
nativeBuildInputs = [ automoc4 cmake perl pkgconfig ];
buildInputs = [
qtscriptgenerator stdenv.cc.libc gettext curl libxml2 mysql.server/*libmysqld*/
taglib taglib_extras loudmouth kdelibs4 phonon strigi soprano qca2
libmtp liblastfm libgpod qjson ffmpeg libofa nepomuk_core
lz4 lzo snappy libaio pcre
];
2015-12-26 17:42:03 +00:00
# This is already fixed upstream, will be release in 2.9
2015-12-26 17:00:20 +00:00
preConfigure = ''
sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/modules/FindTaglib.cmake
'';
2013-05-10 02:13:31 +01:00
cmakeFlags = "-DKDE4_BUILD_TESTS=OFF";
enableParallelBuilding = true;
2014-02-13 02:14:58 +00:00
propagatedUserEnvPkgs = [ qtscriptgenerator ];
2012-08-31 09:05:47 +01:00
meta = {
2014-02-13 02:14:58 +00:00
repositories.git = git://anongit.kde.org/amarok.git;
description = "Popular music player for KDE";
license = "GPL";
2017-08-17 22:51:53 +01:00
homepage = https://amarok.kde.org;
inherit (kdelibs4.meta) platforms;
};
}