# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake git-r3 DESCRIPTION="Rounds the corners of your windows in KDE Plasma 5 and 6" HOMEPAGE="https://github.com/matinlotfali/KDE-Rounded-Corners" EGIT_REPO_URI="https://github.com/matinlotfali/KDE-Rounded-Corners.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="+X" BDEPEND=" dev-build/cmake kde-frameworks/extra-cmake-modules dev-build/ninja dev-util/vulkan-headers " RDEPEND=" kde-plasma/kwin:6 " DEPEND="${RDEPEND}" src_prepare() { # Обеспечить использование Qt6 sed -E -e 's&\bQUIET\b&REQUIRED&' -i cmake/qtversion.cmake || die cmake_src_prepare } src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" -DCMAKE_DISABLE_FIND_PACKAGE_Qt5=ON $(cmake_use_find_package X KWIN_X11) ) cmake_src_configure }