blob: ce0a41ee6d4ebda0a3d841a0bd7ed9fe859ddb50 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gdome2/gdome2-0.8.1-r2.ebuild,v 1.3 2011/10/22 13:07:13 eva Exp $
inherit eutils gnome2 autotools
DESCRIPTION="The DOM C library for the GNOME project"
HOMEPAGE="http://gdome2.cs.unibo.it/"
SRC_URI="http://gdome2.cs.unibo.it/tarball/${P}.tar.gz"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="doc"
RDEPEND=">=dev-libs/glib-2.2.0
>=dev-libs/libxml2-2.4.26"
DEPEND="${RDEPEND}
doc? ( >=dev-util/gtk-doc-1 )
dev-util/pkgconfig"
DOCS="AUTHORS ChangeLog INSTALL MAINTAINERS NEWS README*"
src_unpack() {
unpack ${A}
cd "${S}"
# Fix broken GLIB_CONFIG in configure.in, see #114542
epatch "${FILESDIR}"/gdome2-0.8.1-gdome2-config.patch
eautoconf || die
# make docs honor DESTDIR
epatch "${FILESDIR}/${P}-docs-destdir.patch"
# prevent gtk-fixxref from running (will cause sandbox violation)
cd "${S}"/gtk-doc
sed -e 's:gtkdoc-fixxref:#gtkdoc-fixxref:' -i Makefile.in
}
|