kf514.extra-cmake-modules: add makeKDEWrapper
This commit is contained in:
parent
a122ca8ba3
commit
1c8c5a1278
@ -1,4 +1,15 @@
|
||||
makeKDEWrapper() {
|
||||
KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1}
|
||||
local old="$1"
|
||||
local new="$2"
|
||||
shift
|
||||
shift
|
||||
makeQtWrapper "$old" "$new" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
||||
}
|
||||
|
||||
wrapKDEProgram() {
|
||||
KSERVICE_BUILD_KDESYCOCA=${KDESYCOCA:+1}
|
||||
wrapQtProgram "$1" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
||||
local prog="$1"
|
||||
shift
|
||||
wrapQtProgram "$prog" ${KDESYCOCA:+--set KDESYCOCA "$KDESYCOCA"} "$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user