summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-09 12:40:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-09 16:27:01 +0200
commit7b7958cc7f68c31f3b33e48dcb816998cf4f4d54 (patch)
tree59054c7dfd5daaf469b44f430b4db7e1eeed3948 /kde-frameworks
parentkde-frameworks/bluez-qt: 5.96.0 version bump (diff)
downloadgentoo-7b7958cc7f68c31f3b33e48dcb816998cf4f4d54.tar.gz
gentoo-7b7958cc7f68c31f3b33e48dcb816998cf4f4d54.tar.bz2
gentoo-7b7958cc7f68c31f3b33e48dcb816998cf4f4d54.zip
kde-frameworks/breeze-icons: 5.96.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/breeze-icons/Manifest1
-rw-r--r--kde-frameworks/breeze-icons/breeze-icons-5.96.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/kde-frameworks/breeze-icons/Manifest b/kde-frameworks/breeze-icons/Manifest
index 78f4193ddf87..f9f8c9c92d68 100644
--- a/kde-frameworks/breeze-icons/Manifest
+++ b/kde-frameworks/breeze-icons/Manifest
@@ -1,2 +1,3 @@
DIST breeze-icons-5.92.0.tar.xz 2147592 BLAKE2B a4b8bb0d05c38c90d2c8170918b1ad9abe0100bf1323f8b5089d43e698d117e2959cce6d7cc39f634c8e008fdde5ae8a2acdb830356df4b07f601e9ec2ba4ebc SHA512 830309765695df290e249d6aff6685867e8a394e5a39e0df66b2566cb3d8bf5eb973a33fc61f69bf410b16ea5644f967da557a7c3d1cc349eb1fc429d997597b
DIST breeze-icons-5.95.0.tar.xz 2150968 BLAKE2B 52bf40937e5a245b86231a4ba936a329afdcd2c1eb2e72f1a07157dff1c88431a211c02bba11b07698bb56e9df8179fff74a7b7a3d2f544c4001b048ccbeb6e5 SHA512 a1a9d01d0fe78b769340b99ba83205e952a01e73a5b2b5edeefbbbc39c8819038c8b7f6d70248aafdf182eb4ccc9f00954f19482e034b0045e5f0278f56db1e2
+DIST breeze-icons-5.96.0.tar.xz 2153664 BLAKE2B ecb8e1b19674c5bedcd78c2e1c9950c4129f2e422e9ee0b0031fc42c85d4791c572c0bbb01d967ac74f74ae5535e1b5053029a1afa706cf20836a7416312da15 SHA512 116388d8670a1b45c01252fafe2d316bf5045207d8c4d282ac1a9e87882bb512f69419aaea65895cf310112de0f514199f1b698d28a48d0c5074e14add0a25b2
diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.96.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.96.0.ebuild
new file mode 100644
index 000000000000..10d9582d90b9
--- /dev/null
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.96.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 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() {
+ 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
+}