diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 22:23:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 22:23:22 +0100 |
commit | 99b2c44c1425c7b2925846d4c44b2bf2f78dc786 (patch) | |
tree | 9bf7a2d385aace0ea5f3f8d3e3657168b758fdaa /kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.108.0.ebuild | |
parent | 39bccce90513402ec93bb0fde30678f16b07a9cc (diff) |
gentoo auto-resync : 08:07:2023 - 22:23:22
Diffstat (limited to 'kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.108.0.ebuild')
-rw-r--r-- | kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.108.0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.108.0.ebuild b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.108.0.ebuild new file mode 100644 index 000000000000..98ddbf49a659 --- /dev/null +++ b/kde-frameworks/breeze-icons-rcc/breeze-icons-rcc-5.108.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 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_{10..11} ) +inherit cmake frameworks.kde.org python-any-r1 + +DESCRIPTION="Breeze SVG icon theme binary resource" +LICENSE="LGPL-3" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-qt/qttest:5 )" +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 ) +" + +python_check_deps() { + python_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 +} + +src_install() { + cmake_src_install + + # provided by kde-frameworks/breeze-icons + rm -rv "${ED}"/usr/$(get_libdir)/cmake/KF5BreezeIcons || die +} |