summaryrefslogtreecommitdiff
blob: 9bbf0bd6b3517085914434f15c3d958bc0ee910a (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
48
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gal/gal-1.99.7.ebuild,v 1.3 2003/07/06 11:29:41 gmsoft Exp $

IUSE="doc"

inherit gnome2 gnome.org libtool

S="${WORKDIR}/${P}"
DESCRIPTION="The Gnome Application Libraries"
HOMEPAGE="http://www.gnome.org/"

LICENSE="GPL-2 LGPL-2.1"
SLOT="2"
KEYWORDS="~x86 ~ppc ~sparc hppa"

RDEPEND=">=gnome-base/libgnomeprint-2.2.0
	>=gnome-base/libgnomeprintui-2.2.1
    >=gnome-base/libglade-2.0
    >=gnome-base/libgnomeui-2.0
    >=gnome-base/libgnomecanvas-2.0
    >=dev-libs/libxml2-2.0"
    
DEPEND="sys-devel/gettext
        doc? ( dev-util/gtk-doc )
        ${RDEPEND}"

MAKEOPTS="-j1"
USE_DESTDIR="1"

src_unpack() {
	unpack ${A}
	gnome2_omf_fix
	
	# remove gtkdoc-fixxref
	cd ${S}; patch -p1 < ${FILESDIR}/gal-1.99.3-docfix.patch
}	     

src_install() {
	gnome2_src_install
	
	# HACK HACK HACK !!
	# See libgtkhtml-3.x for more info. but basically this is here
	# for exactly the same reason. We should NOT release this until
	# we get those libtool problems fixed! However, this is the
	# temporary workaround. - <liquidx@gentoo.org>
	dosym /usr/lib/libgal-2.0.so.3 /usr/lib/libgal-2.0.so.2
}