blob: 426f0a3dbdb26c2d4687237ccc21272b4dfab063 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-1.2.4-r1.ebuild,v 1.10 2007/04/17 17:05:43 compnerd Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
inherit eutils gnome2 multilib autotools
DESCRIPTION="A versatile IDE for GNOME"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://anjuta.sourceforge.net/"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc sparc x86"
RDEPEND=">=dev-libs/glib-2.0.6
>=x11-libs/gtk+-2.0.8
>=gnome-base/orbit-2.10.3
>=gnome-base/libglade-2
>=gnome-base/libgnome-2.0.2
>=gnome-base/libgnomeui-2.0.2
>=gnome-base/libgnomeprint-2.0.1
>=gnome-base/libgnomeprintui-2.0.1
>=gnome-base/gnome-vfs-2.0.2
>=gnome-base/libbonobo-2
>=gnome-base/libbonoboui-2.0.1
>=x11-libs/vte-0.9
>=dev-libs/libxml2-2.4.23
>=x11-libs/pango-1.1.1
dev-libs/libpcre
app-text/scrollkeeper"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/pkgconfig"
# The build is finiky
MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/anjuta-1.2.4-gtk-fix.patch
sed -i -e "s:packageplugindir=lib:packageplugindir=$(get_libdir):" \
configure.in
cp "/usr/share/gettext/config.rpath" "${S}"
eautoreconf
gnome2_omf_fix
}
src_install() {
# Fix docs installation (per bug #61344)
sed -i "s:share/doc/${PN}:share/doc/${PF}:g" Makefile
sed -i "s:share/doc/${PN}:share/doc/${PF}/html:g" doc/Makefile
gnome2_src_install
prepalldocs
}
pkg_postinst() {
gnome2_pkg_postinst
elog
elog "Some project templates may require additional development"
elog "libraries to function correctly. It goes beyond the scope"
elog "of this ebuild to provide them."
elog
ewarn "If code autocompletion is missing gtk+ and other pkg-config"
ewarn "managed package headers, resolve any errors produced by the"
ewarn "following command, and then re-emerge anjuta:"
ewarn
ewarn "# pkg-config --cflags \`pkg-config --list-all 2>/dev/null | awk '{printf(\"%s \",\$1);}'\`"
ewarn
}
|