# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake inherit xdg-utils DESCRIPTION="HDD and SSD benchmark tool with a very friendly graphical user interface" HOMEPAGE="https://github.com/JonMagon/KDiskMark" SRC_URI="https://github.com/JonMagon/KDiskMark/releases/download/${PV}/KDiskMark-${PV}-source.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" DEPEND=" dev-qt/qtcore:5 dev-qt/qtwidgets:5 dev-qt/qdbus sys-auth/polkit-qt >=sys-block/fio-3.1[aio] " RDEPEND="${DEPEND}" BDEPEND="" S="${WORKDIR}/KDiskMark-${PV}" src_prepare() { cmake_src_prepare } src_configure() { cmake_src_configure } src_install() { cmake_src_install } pkg_postinst() { xdg_icon_cache_update } pkg_postrm() { xdg_icon_cache_update }