DESCRIPTION = "Plugins for a virtual keyboard for touch-screen based user interfaces"
HOMEPAGE = "https://wiki.maliit.org/Main_Page"

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f29b21caa8e460097bfad9c026a33621"

inherit autotools qt4x11

DEPENDS = "maliit-framework"

SRC_URI = "git://gitorious.org/maliit/maliit-plugins.git;branch=master"

SRCREV = "0760e585df494b394df1b887e5138ffef19c481f"
PV = "0.92.3+git${SRCPV}"

EXTRA_QMAKEVARS_PRE = "\
    PREFIX=${prefix} \
    LIBDIR=${libdir} \
    "

FILES_${PN} += "\
    ${libdir}/maliit \
    ${datadir} \
    "

FILES_${PN}-dbg += "\
    ${libdir}/maliit/plugins-*/.debug \
    "

S= "${WORKDIR}/git"

do_install() {
  cd ${S} && (INSTALL_ROOT=${D} oe_runmake install)
}

DESCRIPTION = "Plugins for a virtual keyboard for touch-screen based user interfaces"
HOMEPAGE = "https://wiki.maliit.org/Main_Page"

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f29b21caa8e460097bfad9c026a33621"

inherit autotools qt4x11

DEPENDS = "maliit-framework"

RDEPENDS_${PN} += "qt4-plugin-iconengine-svgicon qt4-plugin-imageformat-svg"

SRC_URI = "git://gitorious.org/maliit/maliit-plugins.git;branch=master"

SRCREV = "0760e585df494b394df1b887e5138ffef19c481f"
PV = "0.92.3+git${SRCPV}"

EXTRA_QMAKEVARS_PRE = "\
    PREFIX=${prefix} \
    LIBDIR=${libdir} \
    "

FILES_${PN} += "\
    ${libdir}/maliit \
    ${datadir} \
    "

FILES_${PN}-dbg += "${libdir}/maliit/plugins-*/.debug"

S= "${WORKDIR}/git"

EXTRA_OEMAKE += "INSTALL_ROOT=${D}"

Clean up recipe and add missing RDEPENDS
maliit-plugins: Clean up recipe and add missing RDEPENDS

The following errors are only shown when started from console, also there are no visible errors during execution.
Error fixed: QML Image: Error decoding: file:///usr/share/maliit/plugins/org/nemomobile/icon-m-input-methods-shift-lowercase.svg: Unsupported image format

This is unaffected from whether libqtsvg4 is installed or not.

Signed-off-by: Samuel Stirtzel <5e7b27e76d616174d4c71d96463fdd2f7e57e559@googlemail.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>
