summaryrefslogtreecommitdiff
blob: 5dcc76eafbc7f43c64a72e9d2a4ab6eb979d5010 (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-2005 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.8 2005/07/22 17:12:12 dholm 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="~amd64 ~ppc 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
	epatch ${FILESDIR}/${P}-gcc4.patch
}

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"
}