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.
56 lines
1.1 KiB
56 lines
1.1 KiB
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-office/gtg/gtg-0.2.4-r1.ebuild,v 1.4 2011/10/23 22:02:52 tetromino Exp $
|
|
|
|
EAPI="3"
|
|
|
|
PYTHON_DEPEND="2:2.6"
|
|
SUPPORT_PYTHON_ABIS="1"
|
|
RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
|
|
|
|
inherit eutils fdo-mime gnome2-utils distutils
|
|
|
|
DESCRIPTION="Personal organizer for the GNOME desktop environment"
|
|
HOMEPAGE="http://gtg.fritalk.com/"
|
|
SRC_URI="http://launchpad.net/${PN}/${PV:0:3}/${PV}/+download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
dev-python/configobj
|
|
dev-python/dbus-python
|
|
dev-python/pycairo
|
|
dev-python/pygobject:2
|
|
dev-python/pygtk
|
|
dev-python/pyxdg
|
|
dev-python/simplejson"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-hamster.patch
|
|
distutils_src_prepare
|
|
}
|
|
|
|
pkg_preinst() {
|
|
gnome2_icon_savelist
|
|
}
|
|
|
|
pkg_postinst() {
|
|
distutils_pkg_postinst
|
|
|
|
fdo-mime_desktop_database_update
|
|
fdo-mime_mime_database_update
|
|
gnome2_icon_cache_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
distutils_pkg_postrm
|
|
|
|
fdo-mime_desktop_database_update
|
|
fdo-mime_mime_database_update
|
|
gnome2_icon_cache_update
|
|
}
|