summaryrefslogtreecommitdiff
blob: 242b23aacf564c418ecf5bf7490d565968b658a3 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/ooqstart-gnome/ooqstart-gnome-0.8.3.ebuild,v 1.3 2005/01/16 15:31:13 suka Exp $

inherit eutils

DESCRIPTION="OpenOffice.org Quickstarter Applet for Gnome 2.x"
HOMEPAGE="http://ooqstart.sourceforge.net/"
MY_P="ooqstart-${PV}"
SRC_URI="mirror://sourceforge/ooqstart/${MY_P}.tgz"
S="${WORKDIR}/${MY_P}"

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

RDEPEND=">=gnome-base/libgnome-2
	>=gnome-base/libgnomeui-2
	>=gnome-base/gnome-panel-2
	>=dev-libs/glib-2
	>=x11-libs/gtk+-2"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/gnome2update.patch.bz2
}

src_install() {
	make ROOT=${D} install-gnome || die
	insinto /usr/share/pixmaps
	doins ${FILESDIR}/gnome-ooqstart.png
}

pkg_postinst() {
	einfo "If you are you using openoffice-ximian please correct"
	einfo "the path in the preferences of the applet to"
	einfo "'/usr/bin/xooffice' after the first start"
}