about summary refs log tree commit diff
path: root/pkgs/kde
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-03-26 21:53:03 +0300
committerK900 <me@0upti.me>2024-03-26 23:06:33 +0300
commitbb70068f7b6288668886ecbdd40f73f1b612a532 (patch)
treea9eb52c351d37335f7eb662347363b6e3e0966bd /pkgs/kde
parent33389fcdc54ddef464d3458f645e006237f7cba0 (diff)
kdePackages.extra-cmake-modules: chop off some of the setup hook
Just removing stuff that should never be necessary.
Diffstat (limited to 'pkgs/kde')
-rw-r--r--pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh19
1 files changed, 2 insertions, 17 deletions
diff --git a/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh b/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
index 9a4975da8e0d4..8f34f5f732e63 100644
--- a/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
+++ b/pkgs/kde/frameworks/extra-cmake-modules/ecm-hook.sh
@@ -69,10 +69,7 @@ ecmPostHook() {
 }
 postHooks+=(ecmPostHook)
 
-xdgDataSubdirs=( \
-    "config.kcfg" "kconf_update" "knotifications6" "icons" "locale" "sounds" "templates" \
-    "wallpapers" "applications" "desktop-directories" "mime" "appdata" "dbus-1" \
-)
+xdgDataSubdirs=("config.kcfg" "kconf_update" "knotifications6" "icons" "locale" "mime")
 
 # ecmHostPathsSeen is an associative array of the paths that have already been
 # seen by ecmHostPathHook.
@@ -108,19 +105,7 @@ ecmHostPathHook() {
         fi
     done
 
-    local manDir="$1/man"
-    if [ -d "$manDir" ]
-    then
-        qtWrapperArgs+=(--prefix MANPATH : "$manDir")
-    fi
-
-    local infoDir="$1/info"
-    if [ -d "$infoDir" ]
-    then
-        qtWrapperArgs+=(--prefix INFOPATH : "$infoDir")
-    fi
-
-    if [ -d "$1/dbus-1" ]
+    if [ -d "$1/share/dbus-1" ]
     then
         propagatedUserEnvPkgs+=" $1"
     fi