Gentoo Archives: gentoo-commits

From: Ole Reifschneider <tranquility@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-themes/adwaita-icon-theme/
Date: Fri, 02 Oct 2015 12:51:01
Message-Id: 1443783904.9a2e1229eca74d450514d90d3be7e829f62fddce.tranquility@gentoo
1 commit: 9a2e1229eca74d450514d90d3be7e829f62fddce
2 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 11:05:04 2015 +0000
4 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 11:05:04 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=9a2e1229
7
8 x11-themes/adwaita-icon-theme: Bump version to 3.18.0
9
10 Package-Manager: portage-2.2.22
11 Manifest-Sign-Key: 7E8B4D42
12
13 .../adwaita-icon-theme-3.18.0.ebuild | 76 ++++++++++++++++++++++
14 1 file changed, 76 insertions(+)
15
16 diff --git a/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.18.0.ebuild b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.18.0.ebuild
17 new file mode 100644
18 index 0000000..9fd0d6a
19 --- /dev/null
20 +++ b/x11-themes/adwaita-icon-theme/adwaita-icon-theme-3.18.0.ebuild
21 @@ -0,0 +1,76 @@
22 +# Copyright 1999-2015 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI="5"
27 +GCONF_DEBUG="no"
28 +
29 +inherit gnome2 versionator
30 +
31 +DESCRIPTION="GNOME default icon theme"
32 +HOMEPAGE="https://www.gnome.org/ http://people.freedesktop.org/~jimmac/icons/#git"
33 +
34 +SRC_URI="${SRC_URI}
35 + branding? ( http://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz )"
36 +
37 +LICENSE="|| ( LGPL-3 CC-BY-SA-3.0 )
38 + branding? ( CC-Sampling-Plus-1.0 )"
39 +SLOT="0"
40 +IUSE="branding"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
42 +
43 +COMMON_DEPEND="
44 + >=x11-themes/hicolor-icon-theme-0.10
45 +"
46 +RDEPEND="${COMMON_DEPEND}
47 + gnome-base/librsvg:2
48 + !<x11-themes/gnome-themes-standard-3.14
49 +"
50 +DEPEND="${COMMON_DEPEND}
51 + >=dev-util/intltool-0.40
52 + sys-devel/gettext
53 + virtual/pkgconfig
54 +"
55 +# This ebuild does not install any binaries
56 +RESTRICT="binchecks strip"
57 +
58 +src_prepare() {
59 + if use branding; then
60 + for i in 16 22 24 32 48; do
61 + cp "${WORKDIR}"/tango-gentoo-v1.1/${i}x${i}/gentoo.png \
62 + "${S}"/Adwaita/${i}x${i}/places/start-here.png \
63 + || die "Copying gentoo logos failed"
64 + done
65 + fi
66 +
67 + # Install cursors in the right place
68 + sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
69 + -i "${S}"/Makefile.am \
70 + -i "${S}"/Makefile.in || die
71 +
72 + gnome2_src_prepare
73 +}
74 +
75 +src_configure() {
76 + gnome2_src_configure \
77 + --disable-w32-cursors \
78 + --disable-l-xl-variants \
79 + GTK_UPDATE_ICON_CACHE=$(type -P true)
80 +}
81 +
82 +src_install() {
83 + gnome2_src_install
84 + # Buggy directory due to drop of intltool usage
85 + rm -rf "${D}"/usr/locale
86 +}
87 +
88 +pkg_postinst() {
89 + gnome2_pkg_postinst
90 + elog "$PF no longer installs the"
91 + elog "/usr/share/cursors/xorg-x11/default symlink. Instead, desktop"
92 + elog "environments are expected to set the cursor theme using the"
93 + elog "XCURSOR_THEME environment variable or other means."
94 + elog "If you are seeing old-style X11 cursors in GNOME or Cinnamon,"
95 + elog "make sure you have >=gnome-base/gnome-session-3.14.0-r2"
96 + elog "and then log out and log in again."
97 +}