mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 13:41:05 +00:00
48 lines
1.1 KiB
Bash
48 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
inherit cmake frameworks.kde.org python-any-r1 xdg
|
|
|
|
DESCRIPTION="Breeze SVG icon theme"
|
|
|
|
LICENSE="LGPL-3"
|
|
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~x86"
|
|
IUSE="test"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
!kde-frameworks/${PN}:5
|
|
!kde-frameworks/${PN}-rcc:5
|
|
!kde-frameworks/${PN}-rcc:6
|
|
"
|
|
BDEPEND="${PYTHON_DEPS}
|
|
$(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
|
|
dev-qt/qtbase:6[gui]
|
|
>=kde-frameworks/extra-cmake-modules-${KDE_CATV}:*
|
|
test? ( app-misc/fdupes )
|
|
"
|
|
|
|
python_check_deps() {
|
|
python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DPython_EXECUTABLE="${PYTHON}"
|
|
-DBINARY_ICONS_RESOURCE=ON # TODO: remove when kexi was ported away
|
|
-DSKIP_INSTALL_ICONS=OFF
|
|
-DBUILD_TESTING="$(usex test)"
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
# bug 770988
|
|
find "${ED}"/usr/share/icons/ -type d -empty -delete || die
|
|
find "${ED}"/usr/share/icons/ -xtype l -delete || die
|
|
}
|