aboutsummaryrefslogtreecommitdiff
path: root/recipes/dasher/dasher-gpe_0.0-svn.bb
blob: a63c6e9cb26002d4c821e861656d00cb454b753c (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
LICENSE="GPL"
PV = "0.0+svnr${SRCPV}"
PR = "r1"
SRCREV = "1251"
DEPENDS = "libxsettings-client libglade libxtst gconf gtk+"
SECTION = "gpe"
SRC_URI = "svn://svn.gnome.org/svn/dasher;module=trunk;proto=http \
	file://configure-lossage.patch"

S = "${WORKDIR}/trunk"
FILES_${PN} += "${datadir}/dasher"

inherit autotools


EXTRA_OECONF = "--with-gpe --without-gnome --without-speech --without-a11y"
LDFLAGS_append = '-Wl,--export-dynamic'

do_configure_prepend() {
	rm -f m4/libtool.m4
	intltoolize --force
}

do_install_append () {
	install -d ${D}${datadir}/pixmaps/
	mv ${D}${datadir}/icons/dasher.png ${D}${datadir}/pixmaps/
}

python populate_packages_prepend () {
	do_split_packages(d, bb.data.expand("${datadir}/dasher", d), "training_(.*).txt", "dasher-training-data-%s", "Dasher training data for %s", prepend=True)
}