# Copyright 2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 CMAKE_MAKEFILE_GENERATOR="emake" CMAKE_BUILD_TYPE=Release inherit cmake DESCRIPTION="Klassy QT6 window decoration theme for KDE Plasma 6.1+" HOMEPAGE="https://github.com/paulmcauley/klassy" SRC_URI="https://github.com/paulmcauley/klassy/archive/refs/tags/${PV}.breeze6.2.1.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${P}.breeze6.2.1" LICENSE="GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL-2.1+ MIT" SLOT="0" KEYWORDS="~amd64" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="=kde-frameworks/frameworkintegration-6.13.0 =kde-frameworks/frameworkintegration-5.116.0 =kde-frameworks/kcmutils-6.13.0 =kde-frameworks/kcmutils-5.116.0 kde-frameworks/kcolorscheme kde-frameworks/kconfig kde-frameworks/kcoreaddons kde-plasma/kdecoration kde-frameworks/kguiaddons kde-frameworks/ki18n kde-frameworks/kiconthemes kde-frameworks/kirigami kde-frameworks/kwidgetsaddons kde-frameworks/kwindowsystem =kde-frameworks/kwindowsystem-5.116.0 =dev-qt/qtbase-6.8.3-r1 =dev-qt/qtdeclarative-6.8.3 =dev-qt/qtsvg-6.8.3 x11-misc/xdg-utils kde-frameworks/extra-cmake-modules =kde-frameworks/kconfigwidgets-5.116.0 =kde-frameworks/kiconthemes-5.116.0" PATCHES=("${FILESDIR}/${P}-port-to-kdecoration3.patch") src_configure() { local mycmakeargs=( "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON" "-DBUILD_TESTING=OFF" ) cmake_src_configure } src_compile() { cmake_src_compile }