Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/adwaita-icon-theme/
Date: Mon, 31 Jul 2017 03:40:52
Message-Id: 1501472394.a6dff57628e5d106b6d2228cfadcbab3bde8368d.leio@gentoo
1 commit: a6dff57628e5d106b6d2228cfadcbab3bde8368d
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 31 01:19:57 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 31 03:39:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6dff576
7
8 x11-themes/adwaita-icon-theme: bump to 3.24.0, add missing gtk+ build depend
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 x11-themes/adwaita-icon-theme/Manifest | 1 +
13 .../adwaita-icon-theme-3.24.0.ebuild | 58 ++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/x11-themes/adwaita-icon-theme/Manifest b/x11-themes/adwaita-icon-theme/Manifest
17 index 547a68933be..04337a3eca2 100644
18 --- a/x11-themes/adwaita-icon-theme/Manifest
19 +++ b/x11-themes/adwaita-icon-theme/Manifest
20 @@ -1,2 +1,3 @@
21 DIST adwaita-icon-theme-3.22.0.tar.xz 18395856 SHA256 c18bf6e26087d9819a962c77288b291efab25d0419b73d909dd771716a45dcb7 SHA512 33d5eab0a7295069bb3cc8939bebeed0bad8ff72bfe42b0a90e616190ce519e7d7e2b4e9e4c145d04911ea37c205c12ca39972fd00e6ef34271b66a25ff24983 WHIRLPOOL 656556360a4535b4fd29de163f73b03c3f82c568c5d21cc94a6dd35fa478804b39f0c563430edcc5f9f3cdfc920bdf14a0290ecb58314dfd089b62078d873bfb
22 +DIST adwaita-icon-theme-3.24.0.tar.xz 20717972 SHA256 ccf79ff3bd340254737ce4d28b87f0ccee4b3358cd3cd5cd11dc7b42f41b272a SHA512 d415859bc46deb3dcf5e845af88689c507d6b110d6312af75145d6c46cc277ca2d17ae6a0f506c09ca7d543c5eca47b2506169bb0482ae68f2e3baef70889090 WHIRLPOOL b02598682f512e7a1ed5541464e8b99691d611fd28628be1cd6866b9c59b39fa506dedc53bcedd75ec5ab23358b319a1b48a7e4b662dae374df2e11bd47d96d7
23 DIST tango-gentoo-v1.1.tar.gz 29322 SHA256 518efa4257c8e689488399db23397a89f4dcd5990ce537ef6215860ad5606eb0 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045 WHIRLPOOL 9e1635a505ea48f4fe8bdb3b8b3b43cfb9cf99e3204194c51361b198886e719921cfacbc15f9f6407aa7d0c4af178e24c74b998fc370fa2329040e5be1baf153
24
25 diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.24.0.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.24.0.ebuild
26 new file mode 100644
27 index 00000000000..c6691b75d24
28 --- /dev/null
29 +++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.24.0.ebuild
30 @@ -0,0 +1,58 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="6"
35 +
36 +inherit gnome2
37 +
38 +DESCRIPTION="GNOME default icon theme"
39 +HOMEPAGE="https://git.gnome.org/browse/adwaita-icon-theme/"
40 +
41 +SRC_URI="${SRC_URI}
42 + branding? ( http://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz )
43 +"
44 +LICENSE="
45 + || ( LGPL-3 CC-BY-SA-3.0 )
46 + branding? ( CC-BY-SA-4.0 )
47 +"
48 +SLOT="0"
49 +IUSE="branding"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
51 +
52 +# gtk+:3 is needed for build for the gtk-encode-symbolic-svg utility
53 +# 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
54 +COMMON_DEPEND="
55 + >=x11-themes/hicolor-icon-theme-0.10
56 + gnome-base/librsvg:2
57 +"
58 +RDEPEND="${COMMON_DEPEND}
59 + !<x11-themes/gnome-themes-standard-3.14
60 +"
61 +DEPEND="${COMMON_DEPEND}
62 + x11-libs/gtk+:3
63 + sys-devel/gettext
64 + virtual/pkgconfig
65 +"
66 +# This ebuild does not install any binaries
67 +RESTRICT="binchecks strip"
68 +
69 +src_prepare() {
70 + if use branding; then
71 + for i in 16 22 24 32 48; do
72 + cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \
73 + "${S}"/Adwaita/${i}x${i}/places/start-here.png \
74 + || die "Copying gentoo logos failed"
75 + done
76 + fi
77 +
78 + # Install cursors in the right place used in Gentoo
79 + sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
80 + -i "${S}"/Makefile.am \
81 + -i "${S}"/Makefile.in || die
82 +
83 + gnome2_src_prepare
84 +}
85 +
86 +src_configure() {
87 + gnome2_src_configure GTK_UPDATE_ICON_CACHE=$(type -P true)
88 +}