diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-08-08 21:15:31 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-08-08 21:15:31 +0000 |
commit | d9e16f02594b391b5e04f960b38e19d48f564d08 (patch) | |
tree | a6baf51cf828c2c71df43c6a20802913c288307b /packages/midpath/midpath-gtk_svn.bb | |
parent | fe54cefe6eb9875b1c7db019bd3528d4398fbebc (diff) |
midpath: inital support for midpath
* puts java-cldc1.1 support in oe
* split in servals packages, because more than one native UI is
support
* its support for now qte, qt3x11, x11 and awt
* there is more work to do for integrate more modules
like bluetooth, sdl or pluseaudio
* upstream will start to switch to autotools
Diffstat (limited to 'packages/midpath/midpath-gtk_svn.bb')
-rw-r--r-- | packages/midpath/midpath-gtk_svn.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/midpath/midpath-gtk_svn.bb b/packages/midpath/midpath-gtk_svn.bb new file mode 100644 index 0000000000..3ee0d40f3d --- /dev/null +++ b/packages/midpath/midpath-gtk_svn.bb @@ -0,0 +1,43 @@ + +require midpath_${PV}.bb + +DEPENDS += "gtk+" +RDEPENDS = "gtk+" + +do_configure() { + + cd ${S}/resources-embedded/com/sun/midp/configuration + sed -i -e "s|ui.backend:AWT|ui.backend:GTK|" configuration.cfg + + cd ${S}/native/gtk + sed -i -e "s|\-I/usr/include/classpath|\-I${STAGING_INCDIR}/classpath-minimal|" Makefile + +} + +do_compile() { + +mkdir -p ${S}/dist + +# Build the GTK native part +cd ${S}/native/gtk +make || exit 1 +cp *.so ${S}/dist + +} + +do_install() { + install -d ${D}${libdir} + install -m 0644 dist/libmidpathgtk.so ${D}${libdir} + install -d ${D}${libdir}/java/resources-embedded/com/sun/midp/configuration + install -m 0644 resources-embedded/com/sun/midp/configuration/configuration.cfg ${D}${libdir}/java/resources-embedded/com/sun/midp/configuration/ +} + +do_stage() { + : +} + +PACKAGES = "${PN}" + +FILES_${PN} = "${libdir}/libmidpathgtk.so \ + ${libdir}/java/resources-embedded/com/sun/midp/configuration/configuration.cfg \ + " |