summaryrefslogtreecommitdiff
blob: 6922dab9bfb42e42c71fcaf95842647827971fb1 (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.3 2009/10/16 22:22:44 maekke 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
}