forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
guile-gnome-platform-2.16.2.ebuild
61 lines (50 loc) · 1.22 KB
/
guile-gnome-platform-2.16.2.ebuild
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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
AUTOTOOLS_AUTORECONF=true
inherit autotools-utils multilib
DESCRIPTION="Guile Scheme code that wraps the GNOME developer platform"
HOMEPAGE="https://www.gnu.org/software/guile-gnome/"
SRC_URI="https://ftp.gnu.org/pub/gnu/guile-gnome/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="static-libs"
RDEPEND="
dev-libs/atk
>=dev-libs/g-wrap-1.9.14
dev-libs/glib:2
dev-scheme/guile:12
dev-scheme/guile-cairo
dev-scheme/guile-lib
gnome-base/gconf:2
gnome-base/gnome-vfs:2
gnome-base/libbonobo
gnome-base/libglade:2.0
gnome-base/libgnomecanvas
gnome-base/libgnomeui
gnome-base/orbit:2
x11-libs/gtk+:2
x11-libs/pango"
DEPEND="${RDEPEND}
virtual/pkgconfig"
#needs guile with networking
RESTRICT=test
MAKEOPTS+=" -j1"
src_prepare() {
PATCHES=(
"${FILESDIR}/2.16.1-glib-single-include.patch"
)
autotools-utils_src_prepare
}
src_compile() {
autotools-utils_src_compile \
guilegnomedir=/usr/share/guile/site \
guilegnomelibdir=/usr/$(get_libdir)
}
src_install() {
autotools-utils_src_install \
guilegnomedir=/usr/share/guile/site \
guilegnomelibdir=/usr/$(get_libdir)
}