summaryrefslogtreecommitdiff
blob: 73d725337940a9ff5ff1a8e9f1d8c7d8951599b0 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/slibo/slibo-0.4.4.ebuild,v 1.14 2009/01/29 08:20:51 mr_bones_ Exp $

EAPI=2
inherit eutils kde

DESCRIPTION="A comfortable replacement for the xboard chess interface"
HOMEPAGE="http://slibo.sourceforge.net/"
SRC_URI="mirror://sourceforge/slibo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="=dev-db/sqlite-2*
	x11-libs/qt:3[opengl]"
need-kde 3

PATCHES=( "${FILESDIR}"/${PV}-gcc34.patch "${FILESDIR}"/${P}-gcc41.patch "${FILESDIR}"/${P}-gcc42.patch )

src_prepare() {
	: # work around kde.eclass lacking eapi=2 support
}
src_install() {
	kde_src_install
	# whack empty doc files (bug #137114)
	rm -f "${D}"/usr/share/doc/${PF}/{README.gz,TODO.gz}
}

pkg_postinst() {
	elog "If you updated from an older version, please do a"
	elog "    rm ~/.kde/share/apps/slibo/sliboui.rc"
	elog "to get rid of old configuration files, otherwise"
	elog "new menu items etc. will not appear"
}