diff options
Diffstat (limited to 'pkgs/tools/misc/colord-kde')
-rw-r--r-- | pkgs/tools/misc/colord-kde/0.5.nix | 29 | ||||
-rw-r--r-- | pkgs/tools/misc/colord-kde/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/misc/colord-kde/fix_check_include_files.patch | 9 |
3 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/tools/misc/colord-kde/0.5.nix b/pkgs/tools/misc/colord-kde/0.5.nix new file mode 100644 index 000000000000..9df8ace38f66 --- /dev/null +++ b/pkgs/tools/misc/colord-kde/0.5.nix @@ -0,0 +1,29 @@ +{ stdenv, lib, fetchgit +, extra-cmake-modules, ki18n +, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kiconthemes, kcmutils +, kio, knotifications, plasma-framework, kwidgetsaddons, kwindowsystem +, kitemviews, lcms2, libXrandr, qtx11extras +}: + +stdenv.mkDerivation { + name = "colord-kde-0.5.0.20160224"; + src = fetchgit { + url = "git://anongit.kde.org/colord-kde"; + rev = "3729d1348c57902b74283bc8280ffb5561b221db"; + sha256 = "03ww8nskgxl38dwkbb39by18gxvrcm6w2zg9s7q05i76rpl6kkkw"; + }; + + nativeBuildInputs = [ extra-cmake-modules ki18n ]; + + buildInputs = [ + kconfig kconfigwidgets kcoreaddons kdbusaddons kiconthemes + kcmutils kio knotifications plasma-framework kwidgetsaddons + kwindowsystem kitemviews lcms2 libXrandr qtx11extras + ]; + + meta = with lib; { + homepage = "https://projects.kde.org/projects/playground/graphics/colord-kde"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ ttuegel ]; + }; +} diff --git a/pkgs/tools/misc/colord-kde/default.nix b/pkgs/tools/misc/colord-kde/default.nix index 606595f46057..52e1845b300f 100644 --- a/pkgs/tools/misc/colord-kde/default.nix +++ b/pkgs/tools/misc/colord-kde/default.nix @@ -14,6 +14,9 @@ stdenv.mkDerivation { buildInputs = [ colord libX11 libXrandr lcms2 kdelibs ]; + patches = [ ./fix_check_include_files.patch ]; + patchFlags = [ "-p0" ]; + enableParallelBuilding = true; meta = { diff --git a/pkgs/tools/misc/colord-kde/fix_check_include_files.patch b/pkgs/tools/misc/colord-kde/fix_check_include_files.patch new file mode 100644 index 000000000000..16d14a6a647a --- /dev/null +++ b/pkgs/tools/misc/colord-kde/fix_check_include_files.patch @@ -0,0 +1,9 @@ +--- CMakeLists.txt.orig 2013-05-01 05:04:34.000000000 +1000 ++++ CMakeLists.txt 2015-12-10 20:43:51.351800988 +1100 +@@ -9,6 +9,7 @@ + include(FindPkgConfig) + include(KDE4Defaults) ++include(CheckIncludeFiles) + include(ConfigureChecks.cmake) + + message(STATUS "X randr is required, found: " ${XRANDR_1_3_FOUND}) \ No newline at end of file |