blob: 671b9c1c1c00adfe04b7a30721d557407375377b (
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
52
53
54
55
56
57
58
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/pychess/pychess-0.10.1-r1.ebuild,v 1.1 2013/01/11 16:32:10 hasufell Exp $
EAPI=5
PYTHON_COMPAT=( python2_6 python2_7 )
# inherit base explicitly to avoid overrides on distutils-r1
inherit base fdo-mime gnome2-utils distutils-r1 games
DESCRIPTION="A chess client for Gnome"
HOMEPAGE="http://pychess.googlepages.com/home"
SRC_URI="http://pychess.googlecode.com/files/${P/_/}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gstreamer"
DEPEND="dev-python/librsvg-python
dev-python/pycairo
dev-python/pygobject:2
dev-python/pygtk
dev-python/pygtksourceview
dev-python/pysqlite
gstreamer? ( dev-python/gst-python )
dev-python/gconf-python
x11-themes/gnome-icon-theme"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${P/_/}
python_install() {
distutils-r1_python_install --install-scripts="${GAMES_BINDIR}"
}
python_install_all() {
dodoc AUTHORS README
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
fdo-mime_desktop_database_update
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
fdo-mime_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
}
|