forked from mirrors/nixpkgs
kde5.frameworks: unwrap all frameworks
This commit is contained in:
parent
888c66f97d
commit
512212db36
|
@ -1,44 +1,33 @@
|
|||
{ kdeApp
|
||||
, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, karchive
|
||||
, kconfig
|
||||
, kcrash
|
||||
, kdbusaddons
|
||||
, ki18n
|
||||
, kiconthemes
|
||||
, khtml
|
||||
, kio
|
||||
, kservice
|
||||
, kpty
|
||||
, kwidgetsaddons
|
||||
, libarchive
|
||||
, p7zip
|
||||
, unrar
|
||||
, unzipNLS
|
||||
, zip
|
||||
}:
|
||||
{
|
||||
kdeApp, lib,
|
||||
|
||||
let PATH = lib.makeBinPath [
|
||||
p7zip unrar unzipNLS zip
|
||||
];
|
||||
in
|
||||
extra-cmake-modules, kdoctools, makeQtWrapper,
|
||||
|
||||
karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio,
|
||||
kservice, kpty, kwidgetsaddons, libarchive,
|
||||
|
||||
# Archive tools
|
||||
p7zip, unrar, unzipNLS, zip
|
||||
}:
|
||||
|
||||
kdeApp {
|
||||
name = "ark";
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
extra-cmake-modules kdoctools makeQtWrapper
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
|
||||
kpty kwidgetsaddons libarchive
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/ark" \
|
||||
--prefix PATH : "${PATH}"
|
||||
'';
|
||||
postInstall =
|
||||
let
|
||||
PATH = lib.makeBinPath [
|
||||
p7zip unrar unzipNLS zip
|
||||
];
|
||||
in ''
|
||||
wrapQtProgram "$out/bin/ark" \
|
||||
--prefix PATH : "${PATH}"
|
||||
'';
|
||||
meta = {
|
||||
license = with lib.licenses; [ gpl2 lgpl3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
|
|
|
@ -1,22 +1,15 @@
|
|||
{ kdeFramework, lib, extra-cmake-modules, kauth, kconfig
|
||||
, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n, kidletime
|
||||
, kio, lmdb, makeQtWrapper, qtbase, solid
|
||||
, kio, lmdb, qtbase, solid
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "baloo";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [
|
||||
kauth kconfig kcoreaddons kcrash kdbusaddons kfilemetadata ki18n kio
|
||||
kidletime lmdb qtbase solid
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/baloo_file"
|
||||
wrapQtProgram "$out/bin/baloo_file_extractor"
|
||||
wrapQtProgram "$out/bin/balooctl"
|
||||
wrapQtProgram "$out/bin/baloosearch"
|
||||
wrapQtProgram "$out/bin/balooshow"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
|
|
|
@ -1,16 +1,9 @@
|
|||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, makeQtWrapper
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kconfig";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kreadconfig5"
|
||||
wrapQtProgram "$out/bin/kwriteconfig5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
}
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
{ kdeFramework, lib, extra-cmake-modules, kauth, kcodecs, kconfig
|
||||
, kdoctools, kguiaddons, ki18n, kwidgetsaddons, makeQtWrapper
|
||||
, kdoctools, kguiaddons, ki18n, kwidgetsaddons
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kconfigwidgets";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [ kauth kconfig kcodecs kguiaddons ki18n kwidgetsaddons ];
|
||||
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
||||
postInstall = ''
|
||||
moveToOutput "bin/preparetips5" "$dev"
|
||||
wrapQtProgram "$dev/bin/preparetips5"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ kdeFramework, lib, makeQtWrapper
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, shared_mime_info
|
||||
}:
|
||||
|
@ -6,9 +6,6 @@
|
|||
kdeFramework {
|
||||
name = "kcoreaddons";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ shared_mime_info ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/desktoptojson"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,17 +1,11 @@
|
|||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, makeQtWrapper
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdbusaddons";
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ qtx11extras ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kquitapp5"
|
||||
'';
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,18 +1,15 @@
|
|||
{ kdeFramework, lib, extra-cmake-modules, epoxy, kconfig
|
||||
, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, kpackage
|
||||
, kwidgetsaddons, kwindowsystem, makeQtWrapper, pkgconfig
|
||||
, kwidgetsaddons, kwindowsystem, pkgconfig
|
||||
, qtdeclarative
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kdeclarative";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [
|
||||
epoxy kconfig kglobalaccel kguiaddons ki18n kiconthemes kio kpackage
|
||||
kwidgetsaddons kwindowsystem qtdeclarative
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kpackagelauncherqml"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ kdeFramework, lib, makeQtWrapper
|
||||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kcompletion
|
||||
, kconfig
|
||||
|
@ -18,12 +18,9 @@
|
|||
kdeFramework {
|
||||
name = "kdesignerplugin";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kcompletion kconfig kconfigwidgets kcoreaddons kiconthemes kio
|
||||
kitemviews kplotting ktextwidgets kwidgetsaddons kxmlgui sonnet
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kgendesignerplugin"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ kdeFramework, lib, extra-cmake-modules, docbook_xml_dtd_45
|
||||
, docbook5_xsl, karchive, ki18n, makeQtWrapper, perl, perlPackages
|
||||
, docbook5_xsl, karchive, ki18n, perl, perlPackages
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
|
@ -7,7 +7,7 @@ kdeFramework {
|
|||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ karchive ki18n ];
|
||||
propagatedNativeBuildInputs = [ makeQtWrapper perl perlPackages.URI ];
|
||||
propagatedNativeBuildInputs = [ perl perlPackages.URI ];
|
||||
cmakeFlags = [
|
||||
"-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
|
||||
"-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook"
|
||||
|
|
|
@ -5,18 +5,14 @@
|
|||
, kcrash
|
||||
, kdbusaddons
|
||||
, kwindowsystem
|
||||
, makeQtWrapper
|
||||
, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kglobalaccel";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [
|
||||
kconfig kcoreaddons kcrash kdbusaddons kwindowsystem qtx11extras
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kglobalaccel5"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ kdeFramework, lib, copyPathsToStore
|
||||
, extra-cmake-modules, makeQtWrapper
|
||||
, extra-cmake-modules
|
||||
, karchive, kconfigwidgets, ki18n, breeze-icons, kitemviews, qtsvg
|
||||
}:
|
||||
|
||||
|
@ -7,9 +7,6 @@ kdeFramework {
|
|||
name = "kiconthemes";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ breeze-icons kconfigwidgets karchive ki18n kitemviews qtsvg ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kiconfinder5"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons
|
||||
, kdbusaddons, kdoctools, ki18n, kiconthemes, kitemviews
|
||||
, kjobwidgets, knotifications, kservice, ktextwidgets, kwallet
|
||||
, kwidgetsaddons, kwindowsystem, kxmlgui, makeQtWrapper
|
||||
, kwidgetsaddons, kwindowsystem, kxmlgui
|
||||
, qtscript, qtx11extras, solid
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kio";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
acl karchive kbookmarks kcompletion kconfig kconfigwidgets kcoreaddons
|
||||
kdbusaddons ki18n kiconthemes kitemviews kjobwidgets knotifications kservice
|
||||
|
@ -18,10 +18,4 @@ kdeFramework {
|
|||
qtx11extras
|
||||
];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kcookiejar5"
|
||||
wrapQtProgram "$out/bin/ktelnetservice5"
|
||||
wrapQtProgram "$out/bin/ktrash5"
|
||||
wrapQtProgram "$out/bin/protocoltojson"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, kdoctools
|
||||
, makeQtWrapper
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kjs";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kjs5"
|
||||
'';
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
}
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
{ kdeFramework, lib, extra-cmake-modules, kdoctools, ki18n, kjs
|
||||
, makeQtWrapper, qtsvg
|
||||
, qtsvg
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kjsembed";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [ ki18n kjs qtsvg ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kjscmd5"
|
||||
wrapQtProgram "$out/bin/kjsconsole"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -5,16 +5,12 @@
|
|||
, kcoreaddons
|
||||
, kdoctools
|
||||
, ki18n
|
||||
, makeQtWrapper
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kpackage";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [ karchive kconfig kcoreaddons ki18n ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kpackagetool5"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ kdeFramework, lib, copyPathsToStore
|
||||
, extra-cmake-modules, makeQtWrapper, perl
|
||||
, extra-cmake-modules, perl
|
||||
, karchive, kconfig, kguiaddons, kiconthemes, kparts
|
||||
, libgit2
|
||||
, qtscript, qtxmlpatterns
|
||||
|
@ -9,7 +9,7 @@
|
|||
kdeFramework {
|
||||
name = "ktexteditor";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper perl ];
|
||||
nativeBuildInputs = [ extra-cmake-modules perl ];
|
||||
propagatedBuildInputs = [
|
||||
karchive kconfig kguiaddons ki18n kiconthemes kio kparts libgit2 qtscript
|
||||
qtxmlpatterns sonnet
|
||||
|
|
|
@ -1,18 +1,14 @@
|
|||
{ kdeFramework, lib, extra-cmake-modules, kconfig, kconfigwidgets
|
||||
, kcoreaddons , kdbusaddons, kdoctools, ki18n, kiconthemes
|
||||
, knotifications , kservice, kwidgetsaddons, kwindowsystem, libgcrypt
|
||||
, makeQtWrapper }:
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "kwallet";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kconfig kconfigwidgets kcoreaddons kdbusaddons ki18n kiconthemes
|
||||
knotifications kservice kwidgetsaddons kwindowsystem libgcrypt
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/kwalletd5"
|
||||
wrapQtProgram "$out/bin/kwallet-query"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -2,19 +2,16 @@
|
|||
, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative
|
||||
, kdoctools, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio
|
||||
, knotifications, kpackage, kservice, kwindowsystem, kxmlgui
|
||||
, makeQtWrapper, qtscript, qtx11extras
|
||||
, qtscript, qtx11extras
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "plasma-framework";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedBuildInputs = [
|
||||
kactivities karchive kconfig kconfigwidgets kcoreaddons kdbusaddons
|
||||
kdeclarative kglobalaccel kguiaddons ki18n kiconthemes kio knotifications
|
||||
kpackage kservice kwindowsystem kxmlgui qtscript qtx11extras
|
||||
];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/plasmapkg2"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
{ kdeFramework, lib
|
||||
, extra-cmake-modules
|
||||
, makeQtWrapper
|
||||
, qtdeclarative
|
||||
}:
|
||||
|
||||
kdeFramework {
|
||||
name = "solid";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
propagatedBuildInputs = [ qtdeclarative ];
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/solid-hardware5"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
{ plasmaPackage, lib, copyPathsToStore
|
||||
, extra-cmake-modules, kdoctools
|
||||
, baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative
|
||||
, kdelibs4support, kdesu, kglobalaccel, kidletime, kjsembed, knewstuff
|
||||
, knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet, kwayland
|
||||
, kwin, kxmlrpcclient, libkscreen, libksysguard, networkmanager-qt, phonon
|
||||
, plasma-framework, qtquickcontrols, qtscript, qtx11extras, solid
|
||||
, isocodes, libdbusmenu, libSM, libXcursor, pam, wayland
|
||||
{
|
||||
plasmaPackage, lib, copyPathsToStore,
|
||||
|
||||
extra-cmake-modules, kdoctools,
|
||||
|
||||
baloo, kactivities, kcmutils, kconfig, kcrash, kdbusaddons, kdeclarative,
|
||||
kdelibs4support, kdesu, kglobalaccel, kidletime, kjsembed, knewstuff,
|
||||
knotifyconfig, kpackage, krunner, ktexteditor, ktextwidgets, kwallet, kwayland,
|
||||
kwin, kxmlrpcclient, libkscreen, libksysguard, networkmanager-qt, phonon,
|
||||
plasma-framework, qtquickcontrols, qtscript, qtx11extras, solid, isocodes,
|
||||
libdbusmenu, libSM, libXcursor, pam, wayland
|
||||
}:
|
||||
|
||||
plasmaPackage {
|
||||
name = "plasma-workspace";
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
extra-cmake-modules kdoctools
|
||||
];
|
||||
buildInputs = [
|
||||
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
|
||||
|
@ -37,21 +39,4 @@ plasmaPackage {
|
|||
rm "$out/lib/libexec/startplasma"
|
||||
rm -r "$out/share/wayland-sessions"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
wrapQtProgram $out/bin/kcheckrunning
|
||||
wrapQtProgram $out/bin/kcminit
|
||||
wrapQtProgram $out/bin/kcminit_startup
|
||||
wrapQtProgram $out/bin/kdostartupconfig5
|
||||
wrapQtProgram $out/bin/klipper
|
||||
wrapQtProgram $out/bin/krunner
|
||||
wrapQtProgram $out/bin/ksmserver
|
||||
wrapQtProgram $out/bin/ksplashqml
|
||||
wrapQtProgram $out/bin/kstartupconfig5
|
||||
wrapQtProgram $out/bin/kuiserver5
|
||||
wrapQtProgram $out/bin/plasmashell
|
||||
wrapQtProgram $out/bin/plasmawindowed
|
||||
wrapQtProgram $out/bin/systemmonitor
|
||||
wrapQtProgram $out/bin/xembedsniproxy
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue