summaryrefslogtreecommitdiff
path: root/gnuboy
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /gnuboy
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'gnuboy')
-rw-r--r--gnuboy/qtopiagnuboy_1.0.3.oe37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnuboy/qtopiagnuboy_1.0.3.oe b/gnuboy/qtopiagnuboy_1.0.3.oe
index e69de29bb2..0eedde2369 100644
--- a/gnuboy/qtopiagnuboy_1.0.3.oe
+++ b/gnuboy/qtopiagnuboy_1.0.3.oe
@@ -0,0 +1,37 @@
+DESCRIPTION = "GameBoy Emulator based on SDL, QtE based Palmtop Environments Edition"
+SECTION = "base"
+PRIORITY = "optional"
+RDEPENDS = "libc6 libsdl-qpe"
+DEPENDS = "virtual/libc libsdl-qpe"
+
+SRC_URI = http://www.warmi.net/zaurus/files/gnuboy-${PV}-qtopia3.tar.gz \
+ file://${FILESDIR}/qtopiagnuboyl-hwkeys.patch;patch=1 \
+ file://${FILESDIR}/gcc3.patch;patch=1
+S = "${WORKDIR}/gnuboy"
+
+FILES=
+FILES_${PN}=/opt/QtPalmtop
+
+QMAKE = "${STAGING_BINDIR}/qmake"
+QMAKESPEC = "${QMAKE_MKSPEC_PATH}/qws/${TARGET_OS}-${TARGET_ARCH}-g++"
+
+EXTRA_QMAKEVARS_POST = "QMAKE_UIC=${STAGING_BINDIR}/uic QMAKE_MOC=${STAGING_BINDIR}/moc QMAKE_RPATH=-Wl,-rpath-link,"
+
+qtopiadir = "${S}/gnuboy-${PV}-qtopia2"
+
+do_compile() {
+ cd ${qtopiadir}
+ oe_runmake -f Makefile.qtopia SYS_INCS="-DQWS -I${qtopiadir}/sys/nix" CXXFLAGS="${CXXFLAGS} -DQWS -fno-rtti -fno-exceptions" \
+ QTOPIA_LIBS="-L${STAGING_LIBDIR} -Wl,-rpath-link,${STAGING_LIBDIR} -lqpe -lqte" LD="${CC}"
+ cd ${S}/qtopiagnuboyl
+ ${QMAKE} -spec ${QMAKESPEC} -after ${EXTRA_QMAKEVARS_POST} qtopiagnuboyl.pro
+ oe_runmake CXXFLAGS="${CXXFLAGS} -DQWS -fno-rtti -fno-exceptions"
+}
+
+do_install() {
+ install -m 755 -d ${D}/opt/QtPalmtop
+ install -m 755 -D qpe/bin/qtopiagnuboy ${D}/opt/QtPalmtop/bin/qtopiagnuboy
+ install -m 755 -D qpe/bin/qtopiagnuboyl ${D}/opt/QtPalmtop/bin/qtopiagnuboyl
+ install -m 644 -D qpe/pics/Gnuboy.png ${D}/opt/QtPalmtop/pics/Gnuboy.png
+ install -m 644 -D qpe/apps/Games/qtopiagnuboy.desktop ${D}/opt/QtPalmtop/apps/Games/qtopiagnuboy.desktop
+}