plasma5Packages.kactivities: refactor

This commit is contained in:
Weijia Wang 2023-04-24 23:22:08 +03:00
parent 4a2fb58f1a
commit c155ee2b7f
3 changed files with 9 additions and 4 deletions

View file

@ -21,7 +21,9 @@ mkDerivation {
];
propagatedBuildInputs = [
kbookmarks kcompletion kconfig kcoreaddons kitemviews kjobwidgets kservice
kxmlgui qtbase qttools solid kded
kxmlgui qtbase qttools solid
] ++ lib.optionals stdenv.isLinux [
kded
];
outputs = [ "out" "dev" ];
patches = [

View file

@ -1,9 +1,9 @@
{ mkDerivation
{ mkDerivation, lib, stdenv
, extra-cmake-modules
, kcodecs, kconfig, kcoreaddons, kwindowsystem
, libdbusmenu
, phonon
, qttools, qtx11extras
, qttools, qtx11extras, qtmacextras
}:
mkDerivation {
@ -11,5 +11,7 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules qttools ];
buildInputs = [
kcodecs kconfig kcoreaddons kwindowsystem libdbusmenu phonon qtx11extras
] ++ lib.optionals stdenv.isDarwin [
qtmacextras
];
}

View file

@ -25,8 +25,9 @@ stdenv.mkDerivation rec {
homepage = "https://community.kde.org/Phonon";
description = "Multimedia API for Qt";
license = lib.licenses.lgpl2;
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ttuegel ];
broken = stdenv.isDarwin;
};
src = fetchurl {