# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 KFMIN=6.22.0 inherit ecm readme.gentoo-r1 MY_PV="${PV}_(6.4-6.7)" MY_P="${PN}-${MY_PV/\(/-}" DESCRIPTION="Colored outline around any window that has the Keep Above property" HOMEPAGE="https://github.com/Powermayer/keep-above-outline" SRC_URI="https://github.com/Powermayer/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_P/\)/-}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND="dev-qt/qtbase:6[dbus,gui,widgets] kde-frameworks/kcmutils:6 kde-frameworks/kconfig:6 kde-frameworks/kcoreaddons:6 kde-plasma/kwin:6" DEPEND="${RDEPEND}" DOC_CONTENTS="Enable the Keep Above Outline effect with:\\n qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.loadEffect keep-above-outline\\n Disable the Keep Above Outline effect with:\\n qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.unloadEffect keep-above-outline\\n Check whether the effect is loaded with:\\n qdbus6 org.kde.KWin /Effects org.kde.kwin.Effects.isEffectLoaded keep-above-outline\\n Alternatively, open System Settings -> Window Management -> Desktop Effects\\n and enable or disable Keep Above Outline.\\n\\n" src_install() { ecm_src_install readme.gentoo_create_doc } pkg_postinst() { readme.gentoo_print_elog }