blob: 5056ba8329d20dd416812921b5ad42a9e15c83aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gnome-themes-standard/gnome-themes-standard-3.0.1.ebuild,v 1.1 2011/05/01 13:02:30 nirbheek Exp $
EAPI="3"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
inherit gnome2
DESCRIPTION="Adwaita theme for GNOME Shell"
HOMEPAGE="http://www.gnome.org/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
COMMON_DEPEND=">=x11-libs/gtk+-3.0.8:3
>=x11-themes/gtk-engines-2.15.3:2"
DEPEND="${COMMON_DEPEND}
>=x11-misc/icon-naming-utils-0.8.7
>=dev-util/pkgconfig-0.19
>=dev-util/intltool-0.40
sys-devel/gettext"
# gnome-themes{,-extras} are OBSOLETE for GNOME 3
# http://comments.gmane.org/gmane.comp.gnome.desktop/44130
RDEPEND="${COMMON_DEPEND}
!x11-themes/gnome-themes
!x11-themes/gnome-themes-extras"
# This ebuild does not install any binaries
RESTRICT="binchecks strip"
# FIXME: --enable-placeholders fails
G2CONF="--disable-static --disable-placeholders"
DOCS="ChangeLog NEWS"
src_prepare() {
gnome2_src_prepare
# Install cursors in the right place
sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
-i themes/Adwaita/cursors/Makefile.am \
-i themes/Adwaita/cursors/Makefile.in || die
}
src_install() {
gnome2_src_install
# Make it the default cursor theme
cd "${ED}/usr/share/cursors/xorg-x11" || die
ln -sfn Adwaita default || die
}
|