knewstuff: delay resolving knsrcdir
This commit is contained in:
parent
d6e4f4fa65
commit
4d4cdf9c91
3 changed files with 29 additions and 1 deletions
pkgs/development/libraries/kde-frameworks
|
@ -161,7 +161,7 @@ let
|
|||
kiconthemes = callPackage ./kiconthemes {};
|
||||
kinit = callPackage ./kinit {};
|
||||
kio = callPackage ./kio {};
|
||||
knewstuff = callPackage ./knewstuff.nix {};
|
||||
knewstuff = callPackage ./knewstuff {};
|
||||
knotifyconfig = callPackage ./knotifyconfig.nix {};
|
||||
kparts = callPackage ./kparts.nix {};
|
||||
kpeople = callPackage ./kpeople.nix {};
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
From 09b5063e115c36b75e291230175b449a0f6d0c29 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Tuegel <ttuegel@mailbox.org>
|
||||
Date: Sun, 28 Mar 2021 13:34:33 -0500
|
||||
Subject: [PATCH] Delay resolving knsrcdir
|
||||
|
||||
---
|
||||
KF5NewStuffCoreConfig.cmake.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/KF5NewStuffCoreConfig.cmake.in b/KF5NewStuffCoreConfig.cmake.in
|
||||
index c65c7c4..3275627 100644
|
||||
--- a/KF5NewStuffCoreConfig.cmake.in
|
||||
+++ b/KF5NewStuffCoreConfig.cmake.in
|
||||
@@ -3,7 +3,7 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(KF5Attica "@KF_DEP_VERSION@")
|
||||
|
||||
-set(KDE_INSTALL_KNSRCDIR "@KDE_INSTALL_DATADIR@/knsrcfiles")
|
||||
+set(KDE_INSTALL_KNSRCDIR "${KDE_INSTALL_DATADIR}/knsrcfiles")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/KF5NewStuffCoreTargets.cmake")
|
||||
@PACKAGE_INCLUDE_CORE_QCHTARGETS@
|
||||
--
|
||||
2.30.1
|
||||
|
|
@ -16,4 +16,7 @@ mkDerivation {
|
|||
ktextwidgets kwidgetsaddons qtbase qtdeclarative kirigami2
|
||||
];
|
||||
propagatedBuildInputs = [ attica kservice kxmlgui ];
|
||||
patches = [
|
||||
./0001-Delay-resolving-knsrcdir.patch
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue