summaryrefslogtreecommitdiff
path: root/packages/zbedic/zbedic_1.0.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-04-07 14:47:29 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-07 14:47:29 +0000
commit06dc0b52aa94cbaf9eaa30a0c842e1d00cd2b1b2 (patch)
tree45c2ddc4521c6410e6dda1b8571655aac8b38e33 /packages/zbedic/zbedic_1.0.bb
parent155dd1246a7686074983d72cd6c6b2c9c74e66c4 (diff)
zbedic: updated to 1.0
Diffstat (limited to 'packages/zbedic/zbedic_1.0.bb')
-rw-r--r--packages/zbedic/zbedic_1.0.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/zbedic/zbedic_1.0.bb b/packages/zbedic/zbedic_1.0.bb
new file mode 100644
index 0000000000..d7218a241d
--- /dev/null
+++ b/packages/zbedic/zbedic_1.0.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "A dictionary application for Qt/E based Palmtop Environments"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
+LICENSE = "GPL"
+DEPENDS = "libbedic"
+APPTYPE = "binary"
+APPDESKTOP = "${WORKDIR}/misc"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bedic/zbedic_${PV}-0.tgz \
+ file://opie-icons.patch;patch=1 \
+ file://version.patch;patch=1 \
+ file://qtopia17.patch;patch=1"
+
+S = "${WORKDIR}"
+
+inherit opie
+export OE_QMAKE_LINK="${CXX}"
+
+
+do_configure() {
+ cd ${S} && rm -rf *~ && qmake -project && qmake -makefile -spec ${QMAKESPEC} -after \
+ INCLUDEPATH=${STAGING_INCDIR}/libbedic DEFINES+=QWS \
+ LIBS+=-lqpe LIBS+=-lbedic LIBS+=-lsqlite3 DESTDIR=${S} TARGET=zbedic
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/pics/zbedic/
+ install -d ${D}${palmtopdir}/help/html/
+ # we copy small icons - in other way QVGA users will complain
+ install -m 0644 ${S}/misc/small_icons/*.png ${D}${palmtopdir}/pics/zbedic/
+ install -m 0644 ${S}/misc/large_icons/zbedic.png ${D}${palmtopdir}/pics/
+ install -m 0644 ${S}/doc/manual/*.html ${D}${palmtopdir}/help/html/
+ rm ${D}${palmtopdir}/pics/zbedic/zbedic.png
+
+ # those ones are taken from OPIE so they have proper size (depend on device)
+ rm ${D}${palmtopdir}/pics/zbedic/back.png
+ rm ${D}${palmtopdir}/pics/zbedic/forward.png
+}
+
+PACKAGES =+ "zbedic-help-en"
+FILES_zbedic-help-en = "${palmtopdir}/help/html/*"