diff options
Diffstat (limited to 'kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.89.0.ebuild')
-rw-r--r-- | kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.89.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.89.0.ebuild b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.89.0.ebuild new file mode 100644 index 000000000000..f18acabfef4f --- /dev/null +++ b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.89.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="breeze-icons" +PVCUT=$(ver_cut 1-2) +PYTHON_COMPAT=( python3_{8..10} ) +inherit cmake kde.org python-any-r1 + +DESCRIPTION="Breeze SVG icon theme binary resource" +LICENSE="LGPL-3" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +BDEPEND="${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]') + dev-qt/qtcore:5 + >=kde-frameworks/extra-cmake-modules-${PVCUT}:5 + test? ( app-misc/fdupes ) +" +DEPEND="test? ( dev-qt/qttest:5 )" + +python_check_deps() { + has_version "dev-python/lxml[${PYTHON_USEDEP}]" +} + +src_prepare() { + cmake_src_prepare + use test || cmake_comment_add_subdirectory autotests +} + +src_configure() { + local mycmakeargs=( + -DPython_EXECUTABLE="${PYTHON}" + -DBINARY_ICONS_RESOURCE=ON + -DSKIP_INSTALL_ICONS=ON + ) + cmake_src_configure +} |