You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.3 KiB
69 lines
1.3 KiB
# 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.6 2013/05/14 23:21:56 vincent Exp $
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_6 python2_7 )
|
|
PYTHON_REQ_USE="sqlite"
|
|
|
|
inherit 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
|
|
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
|
|
}
|
|
|
|
src_prepare() {
|
|
distutils-r1_src_prepare
|
|
}
|
|
|
|
src_compile() {
|
|
distutils-r1_src_compile
|
|
}
|
|
|
|
src_install() {
|
|
distutils-r1_src_install
|
|
}
|
|
|
|
pkg_preinst() {
|
|
games_pkg_preinst
|
|
gnome2_icon_savelist
|
|
}
|
|
|
|
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
|
|
}
|