depot/pkgs/kde/misc/phonon/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

43 lines
682 B
Nix

{
lib,
mkKdeDerivation,
fetchurl,
libGLU,
libGL,
pkg-config,
libpulseaudio,
qt5compat,
qttools,
}:
mkKdeDerivation rec {
pname = "phonon";
version = "4.12.0";
src = fetchurl {
url = "mirror://kde/stable/phonon/${version}/phonon-${version}.tar.xz";
hash = "sha256-Mof/4PvMLUqhNj+eFXRzAtCwgAkP525fIR2AnstD85o=";
};
extraBuildInputs = [
libGLU
libGL
libpulseaudio
qt5compat
];
extraNativeBuildInputs = [
pkg-config
qttools
];
cmakeFlags = [
"-DPHONON_BUILD_QT5=0"
"-DPHONON_BUILD_QT6=1"
];
meta.license = with lib.licenses; [
lgpl21Plus
gpl2Plus
];
meta.mainProgram = "phononsettings";
}