kde5.breeze-plymouth: init at 5.7.3

This commit is contained in:
Thomas Tuegel 2016-08-04 10:00:12 -05:00
parent 0184f0e47c
commit bed8eb86c6
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{
plasmaPackage, lib, copyPathsToStore,
ecm,
plymouth
}:
plasmaPackage {
name = "breeze-plymouth";
nativeBuildInputs = [ ecm ];
buildInputs = [ plymouth ];
outputs = [ "out" ];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
postPatch = ''
substituteInPlace cmake/FindPlymouth.cmake --subst-var out
'';
}

View File

@ -0,0 +1,19 @@
Index: breeze-plymouth-5.7.3/cmake/FindPlymouth.cmake
===================================================================
--- breeze-plymouth-5.7.3.orig/cmake/FindPlymouth.cmake
+++ breeze-plymouth-5.7.3/cmake/FindPlymouth.cmake
@@ -24,12 +24,8 @@
include(FindPkgConfig)
pkg_check_modules(Plymouth ply-boot-client ply-splash-core)
-exec_program(${PKG_CONFIG_EXECUTABLE}
- ARGS ply-splash-core --variable=pluginsdir
- OUTPUT_VARIABLE Plymouth_PLUGINSDIR)
-exec_program(${PKG_CONFIG_EXECUTABLE}
- ARGS ply-splash-core --variable=themesdir
- OUTPUT_VARIABLE Plymouth_THEMESDIR)
+set(Plymouth_PLUGINSDIR "@out@/lib/plymouth")
+set(Plymouth_THEMESDIR "@out@/share/plymouth/themes")
find_package_handle_standard_args(Plymouth
FOUND_VAR

View File

@ -0,0 +1 @@
install-paths.patch

View File

@ -52,6 +52,7 @@ let
name = "breeze-${version}";
paths = map (pkg: pkg.out or pkg) [ breeze-gtk breeze-qt4 breeze-qt5 ];
};
breeze-plymouth = callPackage ./breeze-plymouth {};
kactivitymanagerd = callPackage ./kactivitymanagerd.nix {};
kde-cli-tools = callPackage ./kde-cli-tools.nix {};
kde-gtk-config = callPackage ./kde-gtk-config {};