summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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