extra-cmake-modules: Lift Qt dependency

This commit is contained in:
Thomas Tuegel
2017-02-27 11:49:46 -06:00
parent b39e491eb5
commit 127bf18a35
168 changed files with 493 additions and 455 deletions
@@ -1,6 +1,20 @@
{ makeSetupHook, lib, cmake, ecmNoHooks, pkgconfig, qtbase, qttools }:
{ kdeFramework, lib, copyPathsToStore, cmake, pkgconfig }:
makeSetupHook {
deps = lib.chooseDevOutputs [ cmake ecmNoHooks pkgconfig qtbase qttools ];
kdeFramework {
name = "extra-cmake-modules";
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
outputs = [ "out" ]; # this package has no runtime components
propagatedNativeBuildInputs = [ cmake pkgconfig ];
setupHook = ./setup-hook.sh;
meta = with lib; {
platforms = lib.platforms.linux;
homepage = "http://www.kde.org";
license = licenses.bsd2;
maintainers = [ maintainers.ttuegel ];
};
}
./setup-hook.sh
@@ -1,18 +0,0 @@
{ kdeFramework, lib, copyPathsToStore, cmake }:
kdeFramework {
name = "extra-cmake-modules";
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
outputs = [ "out" ]; # this package has no runtime components
nativeBuildInputs = [ cmake ];
meta = with lib; {
platforms = lib.platforms.linux;
homepage = "http://www.kde.org";
license = licenses.bsd2;
maintainers = [ maintainers.ttuegel ];
};
}
@@ -1,6 +1,6 @@
_ecmSetXdgDirs() {
addToSearchPathOnce XDG_DATA_DIRS "$1/share"
addToSearchPathOnce XDG_CONFIG_DIRS "$1/etc/xdg"
addToSearchPath XDG_DATA_DIRS "$1/share"
addToSearchPath XDG_CONFIG_DIRS "$1/etc/xdg"
}
envHooks+=(_ecmSetXdgDirs)