From d9e16f02594b391b5e04f960b38e19d48f564d08 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 8 Aug 2007 21:15:31 +0000 Subject: 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 --- packages/midpath/midpath-alsa_svn.bb | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 packages/midpath/midpath-alsa_svn.bb (limited to 'packages/midpath/midpath-alsa_svn.bb') diff --git a/packages/midpath/midpath-alsa_svn.bb b/packages/midpath/midpath-alsa_svn.bb new file mode 100644 index 0000000000..7d230f3cd0 --- /dev/null +++ b/packages/midpath/midpath-alsa_svn.bb @@ -0,0 +1,42 @@ + +require midpath_${PV}.bb + +DEPENDS += "alsa-lib" +RDEPENDS = "alsa-lib" + +do_configure() { + cd ${S}/native/alsa + sed -i -e "s|\-I/usr/include/classpath|\-I${STAGING_INCDIR}/classpath-minimal|" Makefile + cd ${S}/resources-embedded/com/sun/midp/configuration + sed -i -e "s|sound.backend:NULL|sound.backend:ALSA|" configuration.cfg +} + +do_compile() { + +mkdir -p ${S}/dist + +# Build native code + +# Build the ALSA native part +cd ${S}/native/alsa +make || exit 1 +cp *.so ${S}/dist + +} + +do_install() { + install -d ${D}${libdir} + install -m 0644 dist/libmidpathalsa.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}/libmidpathalsa.so \ + ${libdir}/java/resources-embedded/com/sun/midp/configuration/configuration.cfg \ + " -- cgit 1.2.3-korg