mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
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.
19 lines
448 B
Bash
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')
|