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