| 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.2.1.ebuild,v 1.11 2012/09/25 15:20:05 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=""
|
| 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/gtk+-3.1.18:3
|
| 21 |
>=x11-themes/gtk-engines-2.15.3:2"
|
| 22 |
DEPEND="${COMMON_DEPEND}
|
| 23 |
virtual/pkgconfig
|
| 24 |
>=dev-util/intltool-0.40
|
| 25 |
sys-devel/gettext"
|
| 26 |
# gnome-themes{,-extras} are OBSOLETE for GNOME 3
|
| 27 |
# http://comments.gmane.org/gmane.comp.gnome.desktop/44130
|
| 28 |
RDEPEND="${COMMON_DEPEND}
|
| 29 |
!<x11-themes/gnome-themes-2.32.1-r1"
|
| 30 |
|
| 31 |
# FIXME: --enable-placeholders fails
|
| 32 |
G2CONF="--disable-static --disable-placeholders"
|
| 33 |
DOCS="ChangeLog NEWS"
|
| 34 |
|
| 35 |
src_prepare() {
|
| 36 |
gnome2_src_prepare
|
| 37 |
# Install cursors in the right place
|
| 38 |
sed -e 's:^\(cursordir.*\)icons\(.*\):\1cursors/xorg-x11\2:' \
|
| 39 |
-i themes/Adwaita/cursors/Makefile.am \
|
| 40 |
-i themes/Adwaita/cursors/Makefile.in || die
|
| 41 |
}
|
| 42 |
|
| 43 |
src_install() {
|
| 44 |
gnome2_src_install
|
| 45 |
|
| 46 |
# Make it the default cursor theme
|
| 47 |
cd "${ED}/usr/share/cursors/xorg-x11" || die
|
| 48 |
ln -sfn Adwaita default || die
|
| 49 |
}
|