diff options
author | Alex Ferguson <thoughtmonster@gmail.com> | 2010-12-22 13:51:25 +0200 |
---|---|---|
committer | Kristoffer Ericson <kristoffer.ericson@gmail.com> | 2010-12-23 17:53:02 +0100 |
commit | 5667943cd09eb025ac382535e41269d874a6d560 (patch) | |
tree | b96e226aa2db378603965d0396b552ed902e5094 /recipes/midpath/midpath-core_0.2+0.3rc2.bb | |
parent | 2e02ec3cfae08fc62821a2034210f9bbb6f337d2 (diff) | |
download | openembedded-5667943cd09eb025ac382535e41269d874a6d560.tar.gz |
midpath: Fix midpath-core and midpath-cldc, add patches.
midpath-core was slightly refactored, and now installs the
configuration files needed which are picked up locally and
can be overriden per-platform. A much more elegant solution,
in my opinion. Two patches were added to midpath-core, one
which changes the default UI colors to a more palatable gray
pallete and one which disables the mouse cursor and enables
key repeating for the SDL backend.
midpath-cldc now builds files libmidpathfile and libmidpathnio
(via --enable-cldc-vm) which are required, at least for a jamvm
+ midpath combo. No harm in installing them anyways.
Configuration files moved around, and two more added, one default
and one for the ben-nanonote.
PR bumbed all around.
Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Diffstat (limited to 'recipes/midpath/midpath-core_0.2+0.3rc2.bb')
-rw-r--r-- | recipes/midpath/midpath-core_0.2+0.3rc2.bb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/recipes/midpath/midpath-core_0.2+0.3rc2.bb b/recipes/midpath/midpath-core_0.2+0.3rc2.bb index a23b26f977..6fe3447d9a 100644 --- a/recipes/midpath/midpath-core_0.2+0.3rc2.bb +++ b/recipes/midpath/midpath-core_0.2+0.3rc2.bb @@ -1,8 +1,11 @@ DESCRIPTION = "MIDPath is a Java library which provides a MIDP2 implementation" -PR = "r4" +PR = "r5" -SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz \ + file://configuration.cfg \ + file://ui-colors.patch \ + file://sdl-fixes.patch" S = "${WORKDIR}/midpath-0.3rc2" @@ -24,6 +27,10 @@ RDEPENDS_${PN} += "libkxml2-java" JAR = "midpath.jar" +do_configure() { + mv ${WORKDIR}/configuration.cfg ${S}/configuration/com/sun/midp/configuration/ +} + do_compile() { midpath_build \ --disable-cldc \ @@ -48,6 +55,7 @@ do_install() { oe_libinstall -C dist -so libavetanabtcldc ${D}${libdir_jni} install -d ${D}${datadir}/midpath + cp -R configuration ${D}${datadir}/midpath install -m 0644 dist/${JAR} ${D}${datadir}/midpath install -m 0644 dist/microbackend.jar ${D}${datadir}/midpath install -m 0644 dist/avetanabt-cldc.jar ${D}${datadir}/midpath @@ -76,11 +84,11 @@ FILES_${PN}-ogg = "${datadir}/midpath/jorbis-cldc.jar" FILES_${PN} = "\ ${datadir}/midpath/*.jar \ + ${datadir}/midpath/configuration \ ${datadir}/applications \ ${datadir}/pixmaps \ ${bindir} \ " - SRC_URI[md5sum] = "d03cd88f51f82bbcfcfa5b65df0da5b0" SRC_URI[sha256sum] = "e235ca7470e7cdfb90e3806fbcc1b2c450db286276136a2523c7ae26a804a100" |