summaryrefslogtreecommitdiff
blob: fad8dc7ade3c6e2ac79d39da7039bf0374db5f3a (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gnome2

DESCRIPTION="Base library of defunct IDE for GNOME to run applications"
HOMEPAGE="https://wiki.gnome.org/Apps/Anjuta https://gitlab.gnome.org/Archive/anjuta"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

DEPEND="
	>=dev-libs/gdl-3.5.5:3=
	>=dev-libs/glib-2.34:2[dbus]
	>=dev-libs/libxml2-2.4.23
	x11-libs/gdk-pixbuf:2
	>=x11-libs/gtk+-3.10:3
	x11-libs/pango
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}"/${PV}-minimal.patch
)

LA="libanjuta-${PV%%.*}.la"

src_configure() {
	gnome2_src_configure \
		--disable-debug \
		--disable-introspection \
		--disable-neon \
		--disable-nls \
		--disable-plugin-subversion \
		--disable-serf \
		--disable-static
}

src_compile() {
	emake -C libanjuta/interfaces libanjuta-interfaces.la
	emake -C libanjuta ${LA}
}

src_install() {
	emake DESTDIR="${D}" -C libanjuta install-am
	emake DESTDIR="${D}" -C libanjuta/interfaces install-am
	emake DESTDIR="${D}" -C src install-dist_anjuta_pixmapsDATA
	rm -v "${ED}"/usr/$(get_libdir)/${LA} || die
}