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/gnome-themes-standard/files/, x11-themes/gnome-themes-standard/
Date: Fri, 02 Oct 2015 12:51:01
Message-Id: 1443782569.4713dacb7aa247b52fb77e7b6828f15c0b593608.tranquility@gentoo
1 commit: 4713dacb7aa247b52fb77e7b6828f15c0b593608
2 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 10:42:49 2015 +0000
4 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 10:42:49 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=4713dacb
7
8 x11-themes/gnome-themes-standard: Bump version to 3.18.0
9
10 Package-Manager: portage-2.2.22
11 Manifest-Sign-Key: 7E8B4D42
12
13 .../gnome-themes-standard-3.14.2.3-srcdir.patch | 26 +++++++
14 .../gnome-themes-standard-3.18.0.ebuild | 85 ++++++++++++++++++++++
15 2 files changed, 111 insertions(+)
16
17 diff --git a/x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch b/x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch
18 new file mode 100644
19 index 0000000..717613b
20 --- /dev/null
21 +++ b/x11-themes/gnome-themes-standard/files/gnome-themes-standard-3.14.2.3-srcdir.patch
22 @@ -0,0 +1,26 @@
23 +From db1e859fa27a4d3ca8a45937c2730f83c34405c6 Mon Sep 17 00:00:00 2001
24 +From: Alexandre Rostovtsev <tetromino@g.o>
25 +Date: Sat, 28 Mar 2015 00:28:16 -0400
26 +Subject: [PATCH] HC: fix out-of-tree builds
27 +
28 +https://bugzilla.gnome.org/show_bug.cgi?id=746920
29 +---
30 + themes/HighContrast/icons/Makefile.am | 2 +-
31 + 1 file changed, 1 insertion(+), 1 deletion(-)
32 +
33 +diff --git a/themes/HighContrast/icons/Makefile.am b/themes/HighContrast/icons/Makefile.am
34 +index 76e824d..5545157 100644
35 +--- a/themes/HighContrast/icons/Makefile.am
36 ++++ b/themes/HighContrast/icons/Makefile.am
37 +@@ -6,7 +6,7 @@ render_sizes = "16x16" "22x22" "24x24" "32x32" "48x48" "256x256" "scalable"
38 + THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$$size/* -type d`; do printf "$$dir,"; done; done;)
39 +
40 + %.theme: %.theme.in Makefile
41 +- dirs="`echo $(THEME_DIRS) | sed -e 's#\./##g'`"; \
42 ++ dirs="`echo $(THEME_DIRS) | sed -e \"s#$(srcdir)/*##g\"`"; \
43 + sed -e "s|\@THEME_DIRS\@|$$dirs|g" < $< > $@; \
44 + echo "" >> $@; \
45 + for dir in `echo $$dirs | sed -e "s/,/ /g"`; do \
46 +--
47 +2.3.3
48 +
49
50 diff --git a/x11-themes/gnome-themes-standard/gnome-themes-standard-3.18.0.ebuild b/x11-themes/gnome-themes-standard/gnome-themes-standard-3.18.0.ebuild
51 new file mode 100644
52 index 0000000..246bba3
53 --- /dev/null
54 +++ b/x11-themes/gnome-themes-standard/gnome-themes-standard-3.18.0.ebuild
55 @@ -0,0 +1,85 @@
56 +# Copyright 1999-2015 Gentoo Foundation
57 +# Distributed under the terms of the GNU General Public License v2
58 +# $Id$
59 +
60 +EAPI="5"
61 +GCONF_DEBUG="no"
62 +GNOME2_LA_PUNT="yes"
63 +
64 +inherit autotools eutils gnome2 multilib-minimal
65 +
66 +DESCRIPTION="Standard Themes for GNOME Applications"
67 +HOMEPAGE="https://git.gnome.org/browse/gnome-themes-standard/"
68 +
69 +LICENSE="LGPL-2.1+"
70 +SLOT="0"
71 +IUSE="+gtk"
72 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
73 +
74 +COMMON_DEPEND="
75 + gnome-base/librsvg:2[${MULTILIB_USEDEP}]
76 + x11-libs/cairo[${MULTILIB_USEDEP}]
77 + gtk? (
78 + >=x11-libs/gtk+-2.24.15:2[${MULTILIB_USEDEP}]
79 + >=x11-libs/gtk+-3.12:3[${MULTILIB_USEDEP}] )
80 +"
81 +DEPEND="${COMMON_DEPEND}
82 + >=dev-util/intltool-0.40
83 + sys-devel/gettext
84 + virtual/pkgconfig
85 +"
86 +# gnome-themes{,-extras} are OBSOLETE for GNOME 3
87 +# http://comments.gmane.org/gmane.comp.gnome.desktop/44130
88 +# Depend on gsettings-desktop-schemas-3.4 to make sure 3.2 users don't lose
89 +# their default background image
90 +RDEPEND="${COMMON_DEPEND}
91 + >=gnome-base/gsettings-desktop-schemas-3.4
92 + !<x11-themes/gnome-themes-2.32.1-r1
93 +"
94 +
95 +src_prepare() {
96 + # https://bugzilla.gnome.org/show_bug.cgi?id=746920
97 + epatch "${FILESDIR}/${PN}-3.14.2.3-srcdir.patch"
98 + eautoreconf
99 +
100 + gnome2_src_prepare
101 +}
102 +
103 +multilib_src_configure() {
104 + # The icon cache needs to be generated in pkg_postinst()
105 + ECONF_SOURCE="${S}" \
106 + gnome2_src_configure \
107 + --disable-static \
108 + $(use_enable gtk gtk2-engine) \
109 + $(use_enable gtk gtk3-engine) \
110 + GTK_UPDATE_ICON_CACHE=$(type -P true)
111 +}
112 +
113 +emake_engines_only() {
114 + pushd themes/Adwaita/gtk-2.0 > /dev/null || die
115 + if [[ $1 = install ]]; then
116 + emake DESTDIR="${D}" install-engineLTLIBRARIES
117 + else
118 + emake libadwaita.la
119 + fi
120 + popd > /dev/null
121 +}
122 +
123 +multilib_src_compile() {
124 + # processing >3500 icons is slow on old hard drives, do it only for native ABI
125 + if multilib_is_native_abi; then
126 + gnome2_src_compile
127 + elif use gtk; then
128 + emake_engines_only
129 + fi
130 +}
131 +
132 +multilib_src_install() {
133 + # processing >3500 icons is slow on old hard drives, do it only for native ABI
134 + if multilib_is_native_abi; then
135 + gnome2_src_install
136 + elif use gtk; then
137 + emake_engines_only install
138 + prune_libtool_files --modules
139 + fi
140 +}