Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-themes/gnome-themes-standard/
Date: Sun, 01 Dec 2013 16:18:21
Message-Id: 1385908502.0a4a8b55d6bacfa41dee4db044c1b6266fe96611.eva@gentoo
1 commit: 0a4a8b55d6bacfa41dee4db044c1b6266fe96611
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 15 09:48:01 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 14:35:02 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=0a4a8b55
7
8 x11-themes/gnome-themes-standard: 3.8.4 → 3.10.0
9
10 ---
11 ....ebuild => gnome-themes-standard-3.10.0.ebuild} | 59 ++++++++++------------
12 .../gnome-themes-standard-9999.ebuild | 52 ++++++++++---------
13 x11-themes/gnome-themes-standard/metadata.xml | 5 ++
14 3 files changed, 59 insertions(+), 57 deletions(-)
15
16 diff --git a/x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild b/x11-themes/gnome-themes-standard/gnome-themes-standard-3.10.0.ebuild
17 similarity index 52%
18 copy from x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild
19 copy to x11-themes/gnome-themes-standard/gnome-themes-standard-3.10.0.ebuild
20 index c532a1a..79491e3 100644
21 --- a/x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild
22 +++ b/x11-themes/gnome-themes-standard/gnome-themes-standard-3.10.0.ebuild
23 @@ -1,69 +1,64 @@
24 -# Copyright 1999-2012 Gentoo Foundation
25 +# Copyright 1999-2013 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 # $Header: $
28
29 -EAPI="4"
30 +EAPI="5"
31 GCONF_DEBUG="no"
32 GNOME2_LA_PUNT="yes"
33
34 inherit gnome2
35 -if [[ ${PV} = 9999 ]]; then
36 - inherit gnome2-live
37 -fi
38
39 -DESCRIPTION="Adwaita theme for GNOME Shell"
40 -HOMEPAGE="http://www.gnome.org/"
41 +DESCRIPTION="Standard Themes for GNOME Applications"
42 +HOMEPAGE="https://git.gnome.org/browse/gnome-themes-standard/"
43
44 LICENSE="LGPL-2.1+"
45 SLOT="0"
46 IUSE="+gtk"
47 -if [[ ${PV} = 9999 ]]; then
48 - KEYWORDS=""
49 -else
50 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
51 -fi
52 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
53
54 -COMMON_DEPEND="gnome-base/librsvg:2
55 +COMMON_DEPEND="
56 + gnome-base/librsvg:2
57 x11-libs/cairo
58 + >=x11-themes/gtk-engines-2.15.3:2
59 gtk? (
60 - x11-libs/gtk+:2
61 - >=x11-libs/gtk+-3.5.17:3[X] )
62 - >=x11-themes/gtk-engines-2.15.3:2"
63 + >=x11-libs/gtk+-2.24.15:2
64 + >=x11-libs/gtk+-3.9.12:3 )
65 +"
66 DEPEND="${COMMON_DEPEND}
67 >=dev-util/intltool-0.40
68 sys-devel/gettext
69 - virtual/pkgconfig"
70 + virtual/pkgconfig
71 +"
72 # gnome-themes{,-extras} are OBSOLETE for GNOME 3
73 # http://comments.gmane.org/gmane.comp.gnome.desktop/44130
74 # Depend on gsettings-desktop-schemas-3.4 to make sure 3.2 users don't lose
75 # their default background image
76 RDEPEND="${COMMON_DEPEND}
77 >=gnome-base/gsettings-desktop-schemas-3.4
78 - !<x11-themes/gnome-themes-2.32.1-r1"
79 -
80 -pkg_setup() {
81 - DOCS="ChangeLog NEWS"
82 - # The icon cache needs to be generated in pkg_postinst()
83 - G2CONF="${G2CONF}
84 - --disable-static
85 - --disable-placeholders
86 - $(use_enable gtk gtk2-engine)
87 - $(use_enable gtk gtk3-engines)
88 - GTK_UPDATE_ICON_CACHE=$(type -P true)"
89 -}
90 + !<x11-themes/gnome-themes-2.32.1-r1
91 +"
92
93 src_prepare() {
94 - gnome2_src_prepare
95 # Install cursors in the right place
96 sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
97 -i themes/Adwaita/cursors/Makefile.am \
98 -i themes/Adwaita/cursors/Makefile.in || die
99 +
100 + gnome2_src_prepare
101 +}
102 +
103 +src_configure() {
104 + # The icon cache needs to be generated in pkg_postinst()
105 + gnome2_src_configure \
106 + --disable-static \
107 + $(use_enable gtk gtk2-engine) \
108 + $(use_enable gtk gtk3-engine) \
109 + GTK_UPDATE_ICON_CACHE=$(type -P true)
110 }
111
112 src_install() {
113 gnome2_src_install
114
115 # Make it the default cursor theme
116 - cd "${ED}/usr/share/cursors/xorg-x11" || die
117 - ln -sfn Adwaita default || die
118 + dosym Adwaita /usr/share/cursors/xorg-x11/default
119 }
120
121 diff --git a/x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild b/x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild
122 index c532a1a..aec975a 100644
123 --- a/x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild
124 +++ b/x11-themes/gnome-themes-standard/gnome-themes-standard-9999.ebuild
125 @@ -1,8 +1,8 @@
126 -# Copyright 1999-2012 Gentoo Foundation
127 +# Copyright 1999-2013 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $Header: $
130
131 -EAPI="4"
132 +EAPI="5"
133 GCONF_DEBUG="no"
134 GNOME2_LA_PUNT="yes"
135
136 @@ -11,8 +11,8 @@ if [[ ${PV} = 9999 ]]; then
137 inherit gnome2-live
138 fi
139
140 -DESCRIPTION="Adwaita theme for GNOME Shell"
141 -HOMEPAGE="http://www.gnome.org/"
142 +DESCRIPTION="Standard Themes for GNOME Applications"
143 +HOMEPAGE="https://git.gnome.org/browse/gnome-themes-standard/"
144
145 LICENSE="LGPL-2.1+"
146 SLOT="0"
147 @@ -20,50 +20,52 @@ IUSE="+gtk"
148 if [[ ${PV} = 9999 ]]; then
149 KEYWORDS=""
150 else
151 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
152 + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-solaris ~x86-solaris"
153 fi
154
155 -COMMON_DEPEND="gnome-base/librsvg:2
156 +COMMON_DEPEND="
157 + gnome-base/librsvg:2
158 x11-libs/cairo
159 + >=x11-themes/gtk-engines-2.15.3:2
160 gtk? (
161 - x11-libs/gtk+:2
162 - >=x11-libs/gtk+-3.5.17:3[X] )
163 - >=x11-themes/gtk-engines-2.15.3:2"
164 + >=x11-libs/gtk+-2.24.15:2
165 + >=x11-libs/gtk+-3.9.12:3 )
166 +"
167 DEPEND="${COMMON_DEPEND}
168 >=dev-util/intltool-0.40
169 sys-devel/gettext
170 - virtual/pkgconfig"
171 + virtual/pkgconfig
172 +"
173 # gnome-themes{,-extras} are OBSOLETE for GNOME 3
174 # http://comments.gmane.org/gmane.comp.gnome.desktop/44130
175 # Depend on gsettings-desktop-schemas-3.4 to make sure 3.2 users don't lose
176 # their default background image
177 RDEPEND="${COMMON_DEPEND}
178 >=gnome-base/gsettings-desktop-schemas-3.4
179 - !<x11-themes/gnome-themes-2.32.1-r1"
180 -
181 -pkg_setup() {
182 - DOCS="ChangeLog NEWS"
183 - # The icon cache needs to be generated in pkg_postinst()
184 - G2CONF="${G2CONF}
185 - --disable-static
186 - --disable-placeholders
187 - $(use_enable gtk gtk2-engine)
188 - $(use_enable gtk gtk3-engines)
189 - GTK_UPDATE_ICON_CACHE=$(type -P true)"
190 -}
191 + !<x11-themes/gnome-themes-2.32.1-r1
192 +"
193
194 src_prepare() {
195 - gnome2_src_prepare
196 # Install cursors in the right place
197 sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
198 -i themes/Adwaita/cursors/Makefile.am \
199 -i themes/Adwaita/cursors/Makefile.in || die
200 +
201 + gnome2_src_prepare
202 +}
203 +
204 +src_configure() {
205 + # The icon cache needs to be generated in pkg_postinst()
206 + gnome2_src_configure \
207 + --disable-static \
208 + $(use_enable gtk gtk2-engine) \
209 + $(use_enable gtk gtk3-engine) \
210 + GTK_UPDATE_ICON_CACHE=$(type -P true)
211 }
212
213 src_install() {
214 gnome2_src_install
215
216 # Make it the default cursor theme
217 - cd "${ED}/usr/share/cursors/xorg-x11" || die
218 - ln -sfn Adwaita default || die
219 + dosym Adwaita /usr/share/cursors/xorg-x11/default
220 }
221
222 diff --git a/x11-themes/gnome-themes-standard/metadata.xml b/x11-themes/gnome-themes-standard/metadata.xml
223 new file mode 100644
224 index 0000000..da6fd63
225 --- /dev/null
226 +++ b/x11-themes/gnome-themes-standard/metadata.xml
227 @@ -0,0 +1,5 @@
228 +<?xml version="1.0" encoding="UTF-8"?>
229 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
230 +<pkgmetadata>
231 +<herd>gnome</herd>
232 +</pkgmetadata>