From: Paul Eggleton Date: Tue, 14 Oct 2008 11:38:02 +0000 (+0000) Subject: corsair: fix compile for qte/qte-mt selection X-Git-Tag: Release-2010-05/1~5820 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5296249776a7d81ee2db426e6f109de7e23b7053;p=openembedded.git corsair: fix compile for qte/qte-mt selection --- 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 " 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