diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-26 13:28:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 13:28:21 +0300 |
commit | 0ee6b9a4a76a942dbe5c41b07aa075a2cfaeee9a (patch) | |
tree | d0996b2e3a3a2130aa449d91a15d674b90918ca3 /pkgs/development/libraries/kde-frameworks | |
parent | a6afa97e48878a0a14bb9b4914330bfeae462286 (diff) | |
parent | c3c75f129cff1e6733b00fc164317476975279aa (diff) |
Merge pull request #227402 from wegank/kde-darwin-pre
plasma5Packages.extra-cmake-modules: set bundledir on darwin
Diffstat (limited to 'pkgs/development/libraries/kde-frameworks')
-rw-r--r-- | pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh b/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh index ac077b73d6a6d..8d86ab1d54ade 100644 --- a/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh +++ b/pkgs/development/libraries/kde-frameworks/extra-cmake-modules/setup-hook.sh @@ -42,6 +42,10 @@ ecmPostHook() { cmakeFlags+=" -DKDE_INSTALL_CONFDIR=${!outputBin}/etc/xdg" cmakeFlags+=" -DKDE_INSTALL_AUTOSTARTDIR=${!outputBin}/etc/xdg/autostart" + if [ "$(uname)" = "Darwin" ]; then + cmakeFlags+=" -DKDE_INSTALL_BUNDLEDIR=${!outputBin}/Applications/KDE" + fi + if [ -n "${qtPluginPrefix-}" ]; then cmakeFlags+=" -DKDE_INSTALL_QTPLUGINDIR=${!outputBin}/$qtPluginPrefix" cmakeFlags+=" -DKDE_INSTALL_PLUGINDIR=${!outputBin}/$qtPluginPrefix" |