Files
nixpkgs/pkgs/kde/lib/move-outputs-hook.sh
K900 a91bea325e kdePackages.mkKdeDerivation: support building Python bindings
The exact incantations to appease ECM are arcane enough,
so let's abstract them somewhere nice. This should cover
most frameworks, except ones that depend on other frameworks,
which requires a Shiboken wrapper to inject the right -T flags.
2025-06-17 00:08:42 +03:00

19 lines
448 B
Bash

# shellcheck shell=bash
# shellcheck disable=SC2154
moveKF6Outputs() {
if [ -n "$devtools" ]; then
mkdir -p "$devtools"
moveToOutput "${qtPluginPrefix}/designer" "$devtools"
fi
if [ -n "$python" ]; then
mkdir -p "$python"
moveToOutput 'lib/python*' "$python"
moveToOutput 'share/PySide6' "$python"
moveToOutput 'include/PySide6' "$python"
fi
}
postInstallHooks+=('moveKF6Outputs')