summary refs log tree commit diff
path: root/pkgs/applications/audio/amarok/kf5.nix
blob: a4ac2943bfbc292264a8c22ce92fc7068138542d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ mkDerivation, fetchgit, lib
, extra-cmake-modules, kdoctools
, qca-qt5, qjson, qtscript, qtwebkit
, kcmutils, kconfig, kdelibs4support, kdnssd, kinit, knewstuff, knotifyconfig, ktexteditor
, phonon, plasma-framework, threadweaver
, curl, ffmpeg, gdk_pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
}:

let
  pname = "amarok";
  version = "2.8.91-20170228";

in mkDerivation {
  name = "${pname}-${version}";

  src = fetchgit {
    url    = git://anongit.kde.org/amarok.git;
    # go back to the KDE mirror when kf5 is merged into master
    # url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
    rev    = "323e2d5b43245c4c06e0b83385d37ef0d32920cb";
    sha256 = "05w7kl6qfmkjz0y1bhgkkbmsqdll30bkjd6npkzvivrvp7dplmbh";
  };

  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  propagatedBuildInputs = [
    qca-qt5 qjson qtscript qtwebkit
    kcmutils kconfig kdelibs4support kdnssd kinit knewstuff knotifyconfig ktexteditor
    phonon plasma-framework threadweaver
    curl ffmpeg gdk_pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
    pcre snappy taglib taglib_extras
  ];
  enableParallelBuilding = true;

  meta = with lib; {
    license = licenses.gpl2;
    maintainers = with maintainers; [ peterhoeg ];
  };
}