diff options
-rw-r--r-- | libao/libao_0.8.4.oe | 2 | ||||
-rw-r--r-- | libsdl/libsdl-qpe_1.2.7.oe | 40 | ||||
-rw-r--r-- | microwindows/microwindows_0.90.oe | 43 |
3 files changed, 84 insertions, 1 deletions
diff --git a/libao/libao_0.8.4.oe b/libao/libao_0.8.4.oe index 2017aa839a..35ada8a7a9 100644 --- a/libao/libao_0.8.4.oe +++ b/libao/libao_0.8.4.oe @@ -20,5 +20,5 @@ do_stage () { install -m 0644 src/.libs/libao.a ${STAGING_LIBDIR}/ install -m 0644 src/.libs/libao.lai ${STAGING_LIBDIR}/libao.la - oe_soinstall -src/.libs/libao.so.2.1.2 ${STAGING_LIBDIR}/ + oe_soinstall src/.libs/libao.so.2.1.2 ${STAGING_LIBDIR}/ } diff --git a/libsdl/libsdl-qpe_1.2.7.oe b/libsdl/libsdl-qpe_1.2.7.oe index e69de29bb2..0715daeecb 100644 --- a/libsdl/libsdl-qpe_1.2.7.oe +++ b/libsdl/libsdl-qpe_1.2.7.oe @@ -0,0 +1,40 @@ +DESCRIPTION="Simple DirectMedia Layer - QtE-based Palmtop Environments Edition" +SECTION=libs +PRIORITY=optional +MAINTAINER="Michael Lauer <mickey@Vanille.de>" +RDEPENDS=libc6 libqpe1 +DEPENDS=virtual/libc virtual/libqpe +PROVIDES=virtual/libsdl + +SRC_URI = http://www.libsdl.org/release/SDL-1.2.7.tar.gz \ + file://${FILESDIR}/agawa-piro-mickey.patch;patch=1 +S = ${WORKDIR}/SDL-${PV} + +inherit autotools libtool + +EXTRA_OECONF = --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \ + --enable-file --enable-oss --disable-alsa --disable-esd --disable-arts \ + --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ + --disable-mintaudio --disable-nasm --disable-video-x11 --disable-video-dga \ + --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs \ + --disable-video-xbios --disable-video-gem --disable-video-dummy \ + --disable-video-opengl --enable-input-events --enable-pthreads \ + --disable-video-picogui --enable-video-qtopia --enable-dlopen + +do_stage() { + oe_soinstall src/.libs/libSDL-1.2.so.0.7.0 ${STAGING_LIBDIR} + ln -sf libSDL-1.2.so.0.7.0 ${STAGING_LIBDIR}/libSDL.so + install -m 0755 src/main/libSDLmain.a ${STAGING_LIBDIR}/libSDLmain.a + + install -d ${STAGING_INCDIR}/SDL + for f in include/*.h + do + install -m 0644 ${f} ${STAGING_INCDIR}/SDL + done + + cat sdl-config | sed -e "s,-I/usr/include/SDL,-I${STAGING_INCDIR}/SDL," \ + | sed -e "s,libdirs ,mickey_is_cool ," \ + | sed -e "s,-lSDL ,-lSDL-1.2 , "> ${STAGING_BINDIR}/sdl-config + chmod a+rx ${STAGING_BINDIR}/sdl-config +} + diff --git a/microwindows/microwindows_0.90.oe b/microwindows/microwindows_0.90.oe index e69de29bb2..529b5724da 100644 --- a/microwindows/microwindows_0.90.oe +++ b/microwindows/microwindows_0.90.oe @@ -0,0 +1,43 @@ +DESCRIPTION="Microwindows Graphical Engine" +SECTION="gui" +PRIORITY="optional" +MAINTAINER="Jordan Crouse <jordan@cosmicpenguin.net>" +DEPENDS="virtual/libc libpng jpeg" +RDEPENDS="libc6 libpng jpeg" + +SRC_URI="ftp://ftp.microwindows.org/pub/microwindows/microwindows-${PV}.tar.gz" + +export EXTRA_OEMAKE= + +do_compile() { + if [ "${MACHINE}" = "ipaq" ]; then CONFIG=config.ipaq; fi + if [ "${MACHINE}" = "ads" ]; then CONFIG=config.ipaq; fi + if [ "${MACHINE}" = "tuxscreen" ]; then CONFIG=config.ipaq; fi + if [ "${MACHINE}" = "collie" ]; then CONFIG=config.zaurus; fi + if [ "${MACHINE}" = "collie" ]; then CONFIG=config.zaurus; fi + if [ -z "$CONFIG" ]; then CONFIG=config.fb; fi + + cp src/Configs/$CONFIG src/config + + ARCH=`echo ${TARGET_OS}-${TARGET_ARCH} | tr [a-z] [A-Z]` + cd src + oe_runmake "ARCH=$ARCH" "TOOLSPREFIX=${TARGET_PREFIX}" "MICROWIN=N" \ + "MICROWINDEMO=N" "NANOWM=N" "SHAREDLIBS=Y" "DEBUG=N" \ + "INCJPEG=${STAGING_INCDIR}" "LIBJPEG=${STAGING_LIBDIR}/libjpeg.so" +} + +do_stage() { + install -m 0644 src/include/nano-X.h ${STAGING_INCDIR}/ + install -m 0644 src/include/mwtypes.h ${STAGING_INCDIR}/ + install -m 0644 src/include/nxcolors.h ${STAGING_INCDIR}/ + install -m 0644 src/include/nxdraw.h ${STAGING_INCDIR}/ + install -m 0755 src/lib/*.so ${STAGING_LIBDIR}/ + install -m 0644 src/lib/*.a ${STAGING_LIBDIR}/ +} + +do_install() { + install -d ${D}/${bindir} ${D}/${libdir} + install -m 0755 src/lib/*.so ${D}/${libdir} + install -m 0755 src/bin/nano-X ${D}/${bindir}/nano-X + #install -m 0755 src/bin/nxcal ${D}/${bindir}/nxcal +} |