summaryrefslogtreecommitdiff
blob: 0da831b0edd9d100ea814246cf10e6ecb7a7fe0b (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-user-docs/gnome-user-docs-2.26.2.ebuild,v 1.4 2009/10/24 16:36:18 nixnut Exp $

GCONF_DEBUG="no"

inherit autotools eutils gnome2

DESCRIPTION="GNOME end user documentation"
HOMEPAGE="http://www.gnome.org/"

LICENSE="FDL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="test"

RDEPEND=""
DEPEND="app-text/scrollkeeper
	>=app-text/gnome-doc-utils-0.5.6
	>=dev-util/pkgconfig-0.9
	test? (
		~app-text/docbook-xml-dtd-4.1.2
		~app-text/docbook-xml-dtd-4.3 )"

DOCS="AUTHORS ChangeLog NEWS README"

pkg_setup() {
	G2CONF="${G2CONF} --disable-scrollkeeper"
}

src_unpack() {
	gnome2_src_unpack

	# Fix parallel make, bug #252163
	epatch "${FILESDIR}/${PN}-2.24.2-parallel-make.patch"
	epatch "${FILESDIR}/${PN}-2.24.2-parallel-make-gdu.patch"

	# Ugly ugly hack but gnome-doc-utils isn't actually
	# parallel make safe.
	sed "s/install-data-local/install-data-hook/" \
		-i gnome-doc-utils.make || die "sed failed"

	eautoreconf
}