diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-13 19:41:50 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-14 10:29:04 +0200 |
commit | acd72cf07c3bec31ed4c2f2776fa13d120b4aead (patch) | |
tree | e034be54db0df9f96b24fde2b1cd17ba6a63fd91 /kde-frameworks/breeze-icons | |
parent | kde-frameworks/bluez-qt: 5.97.0 version bump (diff) | |
download | gentoo-acd72cf07c3bec31ed4c2f2776fa13d120b4aead.tar.gz gentoo-acd72cf07c3bec31ed4c2f2776fa13d120b4aead.tar.bz2 gentoo-acd72cf07c3bec31ed4c2f2776fa13d120b4aead.zip |
kde-frameworks/breeze-icons: 5.97.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/breeze-icons')
-rw-r--r-- | kde-frameworks/breeze-icons/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/breeze-icons/breeze-icons-5.97.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/kde-frameworks/breeze-icons/Manifest b/kde-frameworks/breeze-icons/Manifest index 2ca9a82e4745..9b6cc9574a9e 100644 --- a/kde-frameworks/breeze-icons/Manifest +++ b/kde-frameworks/breeze-icons/Manifest @@ -1 +1,2 @@ DIST breeze-icons-5.96.0.tar.xz 2153664 BLAKE2B ecb8e1b19674c5bedcd78c2e1c9950c4129f2e422e9ee0b0031fc42c85d4791c572c0bbb01d967ac74f74ae5535e1b5053029a1afa706cf20836a7416312da15 SHA512 116388d8670a1b45c01252fafe2d316bf5045207d8c4d282ac1a9e87882bb512f69419aaea65895cf310112de0f514199f1b698d28a48d0c5074e14add0a25b2 +DIST breeze-icons-5.97.0.tar.xz 2156528 BLAKE2B f5d8d4e5931a3a1ee63f518d0b35b8ad05c0ffa000fbb3983883115dbe8fd7c236724666cc6861d7acccfa620027b4116f138bee1d84ba02cef83e4b6d63db16 SHA512 744921b9eb4d0cf28563f858478601e589321926c3a03ea543c5d32923b3820dcf0d2f3e22c96807d3dac521102dd1527fcaf64ee0e8d99a12356d6bb85a2f14 diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.97.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.97.0.ebuild new file mode 100644 index 000000000000..710e68087705 --- /dev/null +++ b/kde-frameworks/breeze-icons/breeze-icons-5.97.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PVCUT=$(ver_cut 1-2) +PYTHON_COMPAT=( python3_{8..11} ) +inherit cmake frameworks.kde.org python-any-r1 xdg-utils + +DESCRIPTION="Breeze SVG icon theme" + +LICENSE="LGPL-3" +KEYWORDS="~amd64 ~arm ~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=OFF + ) + 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 +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |