summaryrefslogtreecommitdiff
blob: c5ab9df3765008f1933e88df440990a13cfa09f2 (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
45
46
47
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-utils/gnome-utils-2.4.1.ebuild,v 1.7 2004/03/02 13:10:32 agriffis Exp $

inherit gnome2

DESCRIPTION="Utilities for the Gnome2 desktop"
HOMEPAGE="http://www.gnome.org/"

IUSE="ipv6"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc alpha sparc hppa ~amd64 ia64"

RDEPEND=">=gnome-base/libgnome-2
	>=gnome-base/libgnomeui-2.2
	>=gnome-base/gnome-desktop-2.2
	>=gnome-base/libglade-2
	>=gnome-base/libbonoboui-2
	>=gnome-base/gnome-vfs-2.4
	>=gnome-base/gnome-panel-2
	>=gnome-base/gconf-1.2.1
	sys-fs/e2fsprogs
	app-text/scrollkeeper
	dev-libs/popt"

DEPEND="${RDEPEND}
	>=dev-util/intltool-0.21
	>=dev-util/pkgconfig-0.12.0"

G2CONF="${G2CONF} $(use_enable ipv6)"

DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS"

src_compile() {
	gnome2_src_configure

	# This fixes compilation on ia64.  I wish I knew the "right"
	# solution but this will have to do for now.
	# (01 Mar 2004 agriffis)
	if use ia64; then
		sed -i -e 's/^DEFS.*/& -Ds64=__s64 -Du64=__u64 -Ds32=__s32 -Du32=__u32/' \
			gfloppy/src/Makefile || die "ia64 sed failed"
	fi

	emake || die "emake failed"
}