makeKDEWrapper: allow impure wrappers
This commit is contained in:
parent
fb375f1a2e
commit
300b5eb7ed
@ -1,15 +1,23 @@
|
|||||||
makeKDEWrapper() {
|
makeKDEWrapper() {
|
||||||
KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1}
|
|
||||||
local old="$1"
|
local old="$1"
|
||||||
local new="$2"
|
local new="$2"
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
if [[ -z "$KDE_WRAPPER_IMPURE" ]]; then
|
||||||
|
KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1}
|
||||||
makeQtWrapper "$old" "$new" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
makeQtWrapper "$old" "$new" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
||||||
|
else
|
||||||
|
makeQtWrapper "$old" "$new" "$@"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
wrapKDEProgram() {
|
wrapKDEProgram() {
|
||||||
KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1}
|
|
||||||
local prog="$1"
|
local prog="$1"
|
||||||
shift
|
shift
|
||||||
|
if [[ -z "$KDE_WRAPPER_IMPURE" ]]; then
|
||||||
|
KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1}
|
||||||
wrapQtProgram "$prog" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
wrapQtProgram "$prog" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
||||||
|
else
|
||||||
|
wrapQtProgram "$prog" "$@"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user