diff options
author | Philip Balister <philip@balister.org> | 2007-08-08 23:08:40 +0000 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2007-08-08 23:08:40 +0000 |
commit | 2834b0db4e4bad2956bf51638d1d3f4e7b48f25c (patch) | |
tree | d129788e0b39e34a4fc77d41d617a6fd7dda69af /packages/midpath/midpath-qt3x11_svn.bb | |
parent | 8546864754d38a632194f52d15a554c33728a554 (diff) | |
parent | 1c512d6f768199951cc7e0b97576761a0700776e (diff) |
merge of '036e2e71bb09d2efdeab9165b6946b947e4316b2'
and '73523d2b53ed38a63f46fcb966b7de6091c0c9d5'
Diffstat (limited to 'packages/midpath/midpath-qt3x11_svn.bb')
-rw-r--r-- | packages/midpath/midpath-qt3x11_svn.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/midpath/midpath-qt3x11_svn.bb b/packages/midpath/midpath-qt3x11_svn.bb new file mode 100644 index 0000000000..30e855a636 --- /dev/null +++ b/packages/midpath/midpath-qt3x11_svn.bb @@ -0,0 +1,48 @@ + +require midpath_${PV}.bb + +DEPENDS += "qt-mt" +RDEPENDS = "qt-mt" +RCONFILCTS = "midpath-qte" + +inherit qt3x11 + +do_configure() { + + cd ${S}/resources-embedded/com/sun/midp/configuration + sed -i -e "s|ui.backend:AWT|ui.backend:QT|" configuration.cfg + + cd ${S}/native/qt + sed -i -e "s|\-I/usr/include/classpath|\-I${STAGING_INCDIR}/classpath-minimal|" \ + -e "s|\`pkg\-config \-\-cflags qt\-mt\`|\-I${QTDIR}/include/ -DQT_THREAD_SUPPORT|" \ + -e "s|\`pkg\-config \-\-libs qt\-mt\`|\-L${QTDIR}/lib \-lqt-mt -lsupc++|" \ + Makefile +} + +do_compile() { + +mkdir -p ${S}/dist + +# Build the QT native part +cd ${S}/native/qt +make || exit 1 +cp *.so ${S}/dist + +} + +do_install() { + install -d ${D}${libdir} + install -m 0644 dist/libmidpathqt.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}/libmidpathqt.so \ + ${libdir}/java/resources-embedded/com/sun/midp/configuration/configuration.cfg \ + " |