summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2008-10-14 11:38:02 +0000
committerPaul Eggleton <bluelightning@bluelightning.org>2008-10-14 11:38:02 +0000
commit5296249776a7d81ee2db426e6f109de7e23b7053 (patch)
tree423f6809810e0361de0033c52158012c57fad2ef /packages
parent6d247c0711f5fd8d8fe4bbd8e3af5df9cba17b7e (diff)
corsair: fix compile for qte/qte-mt selection
Diffstat (limited to 'packages')
-rw-r--r--packages/corsair/corsair_0.2.6.bb6
-rw-r--r--packages/corsair/files/corsair-opie.patch2
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/corsair/corsair_0.2.6.bb b/packages/corsair/corsair_0.2.6.bb
index 125d419c22..280d10681c 100644
--- a/packages/corsair/corsair_0.2.6.bb
+++ b/packages/corsair/corsair_0.2.6.bb
@@ -5,6 +5,8 @@ AUTHOR = "Joe Rumsey <joe@rumsey.org>"
HOMEPAGE = "http://corsair.sf.net/"
RDEPENDS = "opie-pics"
+PR = "r1"
+
inherit palmtop
SRC_URI = "${SOURCEFORGE_MIRROR}/corsair/corsair-${PV}.tar.gz \
@@ -15,6 +17,10 @@ S = "${WORKDIR}/corsair"
do_configure() {
}
+do_compile() {
+ oe_runmake LIBS="-l${QT_LIBRARY} -lqpe"
+}
+
do_install() {
install -d ${D}${palmtopdir}/pics/
install -d ${D}${palmtopdir}/apps/Applications/
diff --git a/packages/corsair/files/corsair-opie.patch b/packages/corsair/files/corsair-opie.patch
index d1f9401c19..49f9244904 100644
--- a/packages/corsair/files/corsair-opie.patch
+++ b/packages/corsair/files/corsair-opie.patch
@@ -45,7 +45,7 @@
+INCLUDES=-I$(QTDIR)/include
+CXXFLAGS += $(INCLUDES) -DQWS -fno-rtti -fno-exceptions
+LDFLAGS +=-L $(QTDIR)/lib/
-+LIBS=-lqte -lqpe
++
+
SOURCES = main.cpp corsair.cpp feeds.cpp download.cpp info.cpp
MOCS = corsair_moc.cpp download_moc.cpp feeds_moc.cpp info_moc.cpp