/[gentoo-x86]/x11-themes/gnome-themes-standard/gnome-themes-standard-3.6.1.ebuild
Gentoo

Contents of /x11-themes/gnome-themes-standard/gnome-themes-standard-3.6.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Oct 17 07:39:33 2012 UTC (23 months, 1 week ago) by tetromino
Branch: MAIN
Version bump with gnome-3.6 visual fixes. Use a single flag for gtk2 and gtk3 engines for simplicity. Drop old.

(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/gnome-themes-standard/gnome-themes-standard-3.6.0.2.ebuild,v 1.1 2012/09/25 20:13:37 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2
10
11 DESCRIPTION="Adwaita theme for GNOME Shell"
12 HOMEPAGE="http://www.gnome.org/"
13
14 LICENSE="LGPL-2.1+"
15 SLOT="0"
16 IUSE="+gtk"
17 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
18
19 COMMON_DEPEND="gnome-base/librsvg:2
20 x11-libs/cairo
21 gtk? (
22 x11-libs/gtk+:2
23 >=x11-libs/gtk+-3.5.17:3[X] )
24 >=x11-themes/gtk-engines-2.15.3:2"
25 DEPEND="${COMMON_DEPEND}
26 >=dev-util/intltool-0.40
27 sys-devel/gettext
28 virtual/pkgconfig"
29 # gnome-themes{,-extras} are OBSOLETE for GNOME 3
30 # http://comments.gmane.org/gmane.comp.gnome.desktop/44130
31 # Depend on gsettings-desktop-schemas-3.4 to make sure 3.2 users don't lose
32 # their default background image
33 RDEPEND="${COMMON_DEPEND}
34 >=gnome-base/gsettings-desktop-schemas-3.4
35 !<x11-themes/gnome-themes-2.32.1-r1"
36
37 pkg_setup() {
38 DOCS="ChangeLog NEWS"
39 # The icon cache needs to be generated in pkg_postinst()
40 G2CONF="${G2CONF}
41 --disable-static
42 --disable-placeholders
43 $(use_enable gtk gtk2-engine)
44 $(use_enable gtk gtk3-engines)
45 GTK_UPDATE_ICON_CACHE=$(type -P true)"
46 }
47
48 src_prepare() {
49 gnome2_src_prepare
50 # Install cursors in the right place
51 sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
52 -i themes/Adwaita/cursors/Makefile.am \
53 -i themes/Adwaita/cursors/Makefile.in || die
54 }
55
56 src_install() {
57 gnome2_src_install
58
59 # Make it the default cursor theme
60 cd "${ED}/usr/share/cursors/xorg-x11" || die
61 ln -sfn Adwaita default || die
62 }

  ViewVC Help
Powered by ViewVC 1.1.20