blob: 938d68f1639db4e5b8bd8ac377e021309c003771 (
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
|
DESCRIPTION = "Simple image viewer"
HOMEPAGE = "http://neon.projects.openmoko.org/"
LICENSE = "GPLv3"
AUTHOR = "Valéry Febvre <vfebvre@easter-eggs.com>"
SECTION = "x11/applications"
PRIORITY = "optional"
DEPENDS = "edje-native python-native"
SRCREV = "68"
PV = "1.0.0+svnr${SRCPV}"
PR = "r3"
S = "${WORKDIR}/trunk"
# Pure Python plus Edje interface
PACKAGE_ARCH = "all"
SRC_URI = "svn://svn.projects.openmoko.org/svnroot/neon;module=trunk"
inherit distutils
FILES_${PN} += "${datadir}/neon ${datadir}/applications/neon.desktop ${datadir}/pixmaps"
RDEPENDS_${PN} += "python-textutils python-evas python-ecore python-edje"
do_compile_prepend() {
sed -i "s/\/opt\/bin\/edje_cc -v/${@"${STAGING_BINDIR_NATIVE}".replace('/', '\/')}\/edje_cc/g" ${S}/build_edje.py
sed -i "s/#THEMES_DIR = '\/usr\/share\/neon\/themes'/THEMES_DIR = '\/usr\/share\/neon\/themes'/g" ${S}/neon/neon.py
sed -i "s/THEMES_DIR = '..\/data\/themes'/#THEMES_DIR = '..\/data\/themes'/g" ${S}/neon/neon.py
}
|