aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openmoko-3rdparty/neomis_svn.bb
blob: 706261b81326dcf45bfc2cf9a2888024fdf514dd (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
DESCRIPTION = "A computer version of the well-known electronic game named Simon"
HOMEPAGE = "http://code.google.com/p/neomis/"
LICENSE = "GPLv3"
AUTHOR = "Valéry Febvre <vfebvre@easter-eggs.com>"
SECTION = "x11/applications"
PRIORITY = "optional"
DEPENDS = "python-native edje-native"

SRCREV = "8"
# actually it's 1.0.3 :/ but don't want to downgrade now/bump PE
PV = "1.1.0+svnr${SRCPV}"
PR = "r2"

S = "${WORKDIR}/trunk"

PACKAGE_ARCH = "all"

SRC_URI = "svn://neomis.googlecode.com/svn;module=trunk;proto=http"

inherit distutils

do_configure_prepend_shr() {
	sed -e 's,^Exec=,Exec=/usr/bin/fsoraw -r Display ,g' -i ${S}/data/neomis.desktop
}

FILES_${PN} += "${datadir}/neomis ${datadir}/applications/neomis.desktop ${datadir}/pixmaps"

RDEPENDS_${PN} += "python-audio python-pyalsaaudio python-elementary" 

do_compile_prepend() {
	${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/data ${S}/data/neomis.edc
}