# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LOMIRI_PACKAGING_COMMIT="085abb03e7d38d037ac4dd352ca0453e24e677c1" inherit lomiri SRC_URI="https://github.com/maliit/framework/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz ${LOMIRI_PACKAGING_URI}" DESCRIPTION="Maliit Input Method Framework." HOMEPAGE="https://github.com/maliit/framework" KEYWORDS="~amd64" LICENSE="LGPL-2" SLOT="0" RESTRICT="mirror test" DEPEND=" dev-libs/glib dev-libs/wayland dev-libs/wayland-protocols dev-qt/qtgui:5 dev-qt/qtwaylandscanner:5 " RDEPEND="${DEPEND}" BDEPEND=" dev-build/cmake dev-build/cmake-extras dev-build/samurai dev-qt/qtdeclarative:5 " S="${WORKDIR}/framework-${PV}" src_configure() { local mycmakeargs=( -Denable-docs="OFF" #TODO -Denable-tests="OFF" #TODO -Dinstall-tests="OFF" -Denable-examples="OFF" -Denable-dbus-activation="ON" ) lomiri_src_configure } src_install() { lomiri_src_install # fix QA Notice about installing to one or more unexpected directories mv ${D}/usr/share/doc/maliit-framework ${D}/usr/share/doc/maliit-framework-${PV} }