kde5.breeze-plymouth: init at 5.7.3
This commit is contained in:
parent
0184f0e47c
commit
bed8eb86c6
16
pkgs/desktops/kde-5/plasma/breeze-plymouth/default.nix
Normal file
16
pkgs/desktops/kde-5/plasma/breeze-plymouth/default.nix
Normal 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
|
||||
'';
|
||||
}
|
@ -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
|
1
pkgs/desktops/kde-5/plasma/breeze-plymouth/series
Normal file
1
pkgs/desktops/kde-5/plasma/breeze-plymouth/series
Normal file
@ -0,0 +1 @@
|
||||
install-paths.patch
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user