Files
meta-qt5-extra/recipes-kde/kf5/tier3/kdesignerplugin/kdesignerplugin.bb
Andreas Müller 31f95ec92d world: rework cmake sanity and sysroot alignment
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>
2016-08-31 21:26:54 +02:00

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"