# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit qmake-utils xdg KEYWORDS="~amd64" git_commit="ffc6b2b2a20ca785f93300eca93c25c4b74ece17" SRC_URI="https://github.com/gber/${PN}/archive/${git_commit}/${PN}-${git_commit}.tar.gz -> ${P}.tar.gz" DESCRIPTION="QML port of qtermwidget" HOMEPAGE="https://github.com/gber/qmltermwidget" LICENSE="GPL-2" SLOT="0" DEPEND=" dev-qt/qtgui:5 " RDEPEND="${DEPEND}" BDEPEND=" dev-util/intltool dev-qt/qtdeclarative:5 " S="${WORKDIR}/${PN}-${git_commit}" PATCHES=( "${FILESDIR}"/0001-Rename-KProcess-to-KTermProcess-to-not-BIC-KF5CoreAd.patch ) src_configure() { eqmake5 } src_install() { # parallel install is broken emake -j1 install INSTALL_ROOT="${D}" } # update the icon cache after installing a new icon pkg_postinst() { xdg_pkg_postinst } pkg_postrm() { xdg_pkg_postrm }