Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/adwaita-icon-theme/
Date: Fri, 16 Apr 2021 22:51:09
Message-Id: 1618613461.72ad7b2a79e4be478a528b178ccdcaa2f52f0984.mattst88@gentoo
1 commit: 72ad7b2a79e4be478a528b178ccdcaa2f52f0984
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 22:46:53 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 22:51:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ad7b2a
7
8 x11-themes/adwaita-icon-theme: Version bump to 40.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-themes/adwaita-icon-theme/Manifest | 1 +
13 .../adwaita-icon-theme-40.0.ebuild | 56 ++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/x11-themes/adwaita-icon-theme/Manifest b/x11-themes/adwaita-icon-theme/Manifest
17 index 1a57bdccbab..53b5a13a5c9 100644
18 --- a/x11-themes/adwaita-icon-theme/Manifest
19 +++ b/x11-themes/adwaita-icon-theme/Manifest
20 @@ -1,3 +1,4 @@
21 DIST adwaita-icon-theme-3.32.0.tar.xz 18540012 BLAKE2B a82ca6758cdbf459ac617d3b3d834e4147c3a3c5e6ca7c705ed2d16e8cf0a1255f5ae999d7e930b9716585b8c498c220f1ab40fec929dde7679efd56f3b18a45 SHA512 9609732cd51c6794d4d86598818bb2a589b0f4b6b795e57f3507dad69b21ef1b2fc2e83e24e937428bbace32fcccf587a5771cbc02c5768206e704f0456a6d1d
22 DIST adwaita-icon-theme-3.38.0.tar.xz 17202144 BLAKE2B 88bde0758a40188cd55432d35edb92c3f1f62ce79a5b44b6271ea039841b22feadfea071899e71aaf449e3d077e6dcb65e01ecfbc62732c27036dca6cb72afb8 SHA512 710f034ef80476a4e9d60bcb7ba604e340ac561aafc67400b2cee2aac4696bfaab8a7d69a289116f884cce9bad1f8b3a3e0aff77588ecb9262e7bf250740af13
23 +DIST adwaita-icon-theme-40.0.tar.xz 18294376 BLAKE2B 7829db2d8e44a8c71372ebc427aed08125de61c12e313d3b8a4b8e1c7202a9b6e3b8e87e123a1498ef5f01360fa88436622f482add7aad6c9de6ae3256ca7682 SHA512 c9626bc4ea11f283c6e9396fe722414d3dde8609b6a952288f48185352841a88a229d837591351856ffcf840d6597b04ff4e78e58b3ebe22d44e3f509217455d
24 DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
25
26 diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-40.0.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-40.0.ebuild
27 new file mode 100644
28 index 00000000000..a801bc69989
29 --- /dev/null
30 +++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-40.0.ebuild
31 @@ -0,0 +1,56 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit gnome2
38 +
39 +DESCRIPTION="GNOME default icon theme"
40 +HOMEPAGE="https://git.gnome.org/browse/adwaita-icon-theme/"
41 +
42 +SRC_URI="${SRC_URI}
43 + branding? ( https://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz )
44 +"
45 +LICENSE="
46 + || ( LGPL-3 CC-BY-SA-3.0 )
47 + branding? ( CC-BY-SA-4.0 )
48 +"
49 +SLOT="0"
50 +IUSE="branding"
51 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
52 +
53 +# gtk+:3 is needed for build for the gtk-encode-symbolic-svg utility
54 +# librsvg is needed for gtk-encode-symbolic-svg to be able to read the source SVG via its pixbuf loader and at runtime for rendering scalable icons shipped by the theme
55 +DEPEND=">=x11-themes/hicolor-icon-theme-0.10"
56 +RDEPEND="${DEPEND}
57 + >=gnome-base/librsvg-2.48:2
58 +"
59 +BDEPEND="
60 + >=gnome-base/librsvg-2.48:2
61 + sys-devel/gettext
62 + virtual/pkgconfig
63 + x11-libs/gtk+:3
64 +"
65 +# This ebuild does not install any binaries
66 +RESTRICT="binchecks strip"
67 +
68 +src_prepare() {
69 + if use branding; then
70 + for i in 16 22 24 32 48; do
71 + cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \
72 + "${S}"/Adwaita/${i}x${i}/places/start-here.png \
73 + || die "Copying gentoo logos failed"
74 + done
75 + fi
76 +
77 + # Install cursors in the right place used in Gentoo
78 + sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
79 + -i "${S}"/Makefile.am \
80 + -i "${S}"/Makefile.in || die
81 +
82 + gnome2_src_prepare
83 +}
84 +
85 +src_configure() {
86 + gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true)
87 +}