summaryrefslogtreecommitdiff
path: root/recipes/sugar/sugar-base_0.83.2.bb
blob: 911b84c26b297f824bcc15b8515e845543281ff4 (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
DESCRIPTION = "Sugar base system"
LICENSE = "LGPLv2"

PR = "r1"

DEPENDS = "python-pygtk sugar-toolkit"
RDEPENDS = "librsvg-gtk \
            ohm-plugin-x11 ohm \
	    hippo-canvas \
            python-datetime \
            python-netclient \
	    python-pygtk \
	    sugar-toolkit \
	    python-logging \
	    python-dbus \
	    python-subprocess \
	    telepathy-gabble telepathy-salut telepathy-python \
	    sugar-presence-service \
	    python-crypt \
	    python-numpy \
	    python-compression \
	    python-gst \
	    python-simplejson \
	    python-misc \
	    python-xmlrpc \
	    python-compiler \
	    python-pydoc \
	    python-mmap \
	    python-doctest \
	    ssh-keygen"

inherit gnome distutils-base

SRC_URI = "http://download.sugarlabs.org/sources/sucrose/glucose/sugar-base/${PN}-${PV}.tar.bz2"

SRC_URI += "file://acinclude.m4"

EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"

do_configure_prepend() {
	install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
}

FILES_${PN} += "${datadir}/${PN} \
		${datadir}/dbus-1 \
		${sysconfdir} "

FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/sugar/.debug"

AUTOTOOLS_STAGE_PKGCONFIG = "1"

do_stage() {
        autotools_stage_all
}