This is a panic commit in the middle of development - have the feeling my host dies... Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
38 lines
785 B
BlitzBasic
38 lines
785 B
BlitzBasic
require ${BPN}.inc
|
|
|
|
inherit cmake_lib
|
|
|
|
# required
|
|
DEPENDS += " \
|
|
${BPN}-native \
|
|
"
|
|
|
|
# optional -> TBD packageconfig
|
|
DEPENDS += " \
|
|
kcompletion \
|
|
kconfigwidgets \
|
|
kiconthemes \
|
|
kio \
|
|
kitemviews \
|
|
ktextwidgets \
|
|
kwidgetsaddons \
|
|
kxmlgui \
|
|
sonnet \
|
|
ki18n \
|
|
"
|
|
|
|
SRC_URI += " \
|
|
file://0001-make-kplotting-and-kdewebkit-support-optional.patch \
|
|
file://0002-set-kgendesignerplugin-executable-so-that-it-can-be-.patch \
|
|
"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[kplotting] = "-DWITH_KPLOTTING=ON,,kplotting"
|
|
PACKAGECONFIG[kdewebkit] = "-DWITH_KDEWEBKIT=ON,,kdewebkit"
|
|
|
|
# native binaries
|
|
CMAKE_ALIGN_SYSROOT[1] = "KF5DesignerPlugin, -s${_IMPORT_PREFIX}/bin, -S${STAGING_BINDIR_NATIVE}"
|
|
|
|
FILES_${PN} += "${libdir}/plugins/designer"
|
|
FILES_${PN}-dbg += "${libdir}/plugins/designer/.debug"
|