1{
2 lib,
3 mkKdeDerivation,
4 fetchurl,
5 libGLU,
6 libGL,
7 pkg-config,
8 libpulseaudio,
9 qt5compat,
10 qttools,
11}:
12mkKdeDerivation rec {
13 pname = "phonon";
14 version = "4.12.0";
15
16 src = fetchurl {
17 url = "mirror://kde/stable/phonon/${version}/phonon-${version}.tar.xz";
18 hash = "sha256-Mof/4PvMLUqhNj+eFXRzAtCwgAkP525fIR2AnstD85o=";
19 };
20
21 extraBuildInputs = [
22 libGLU
23 libGL
24 libpulseaudio
25 qt5compat
26 ];
27
28 extraNativeBuildInputs = [
29 pkg-config
30 qttools
31 ];
32
33 cmakeFlags = [
34 "-DPHONON_BUILD_QT5=0"
35 "-DPHONON_BUILD_QT6=1"
36 ];
37
38 meta.license = with lib.licenses; [
39 lgpl21Plus
40 gpl2Plus
41 ];
42 meta.mainProgram = "phononsettings";
43}