summaryrefslogtreecommitdiff
blob: 8431a5e96689eb787ddbd3a8ecd86a40349edad2 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/glipper/glipper-1.0.ebuild,v 1.6 2008/01/03 18:38:29 swegener Exp $

GCONF_DEBUG="no"

inherit gnome2 python

DESCRIPTION="GNOME Clipboard Manager"
HOMEPAGE="http://glipper.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

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

DEPEND=">=dev-lang/python-2.4
	>=dev-python/pygobject-2.6
	>=dev-python/pygtk-2.6
	>=dev-python/gnome-python-2.10
	>=dev-python/gnome-python-desktop-2.10
	>=dev-python/gnome-python-extras-2.10
	>=gnome-base/gnome-desktop-2.10"
RDEPEND="${DEPEND}"

DOCS="AUTHORS ChangeLog NEWS"

src_install() {
	gnome2_src_install py_compile=true
}

pkg_postinst() {
	gnome2_pkg_postinst
	python_mod_optimize "${ROOT}"/usr/lib*/python*/site-packages/glipper

	elog "Glipper has been completely rewritten as a panel applet. Please remove your"
	elog "existing ~/.glipper directory and then add glipper as a new panel applet."
}

pkg_postrm() {
	gnome2_pkg_postrm
	python_mod_cleanup
}