summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-13 20:18:58 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-13 20:50:55 +0100
commit73b4b56c1062949ca08270c5f97550ad88a7777c (patch)
tree6e191136f706f8f226c206ddcc5c44de94b0bff8 /kde-frameworks/breeze-icons/breeze-icons-5.88.0.ebuild
parentkde-frameworks/bluez-qt: 5.88.0 version bump (diff)
downloadgentoo-73b4b56c1062949ca08270c5f97550ad88a7777c.tar.gz
gentoo-73b4b56c1062949ca08270c5f97550ad88a7777c.tar.bz2
gentoo-73b4b56c1062949ca08270c5f97550ad88a7777c.zip
kde-frameworks/breeze-icons: 5.88.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/breeze-icons/breeze-icons-5.88.0.ebuild')
-rw-r--r--kde-frameworks/breeze-icons/breeze-icons-5.88.0.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.88.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.88.0.ebuild
new file mode 100644
index 000000000000..ef153169884c
--- /dev/null
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.88.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PVCUT=$(ver_cut 1-2)
+PYTHON_COMPAT=( python3_{8..10} )
+inherit cmake kde.org python-any-r1 xdg-utils
+
+DESCRIPTION="Breeze SVG icon theme"
+
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~arm ~arm64 ~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() {
+ 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
+}