summaryrefslogtreecommitdiff
path: root/packages/qpdf2/qpdf2_2.2.1.bb
blob: 6e31f40bd6b2196b76d3741097e9fa30c807d10e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
DESCRIPTION = "QPDF2 is a Viewer for PDF documents. An unnecessary fork based on opie-qpdf."
PRIORITY = "optional"
SECTION = "opie/applications"
HOMEPAGE = "http://qpdf2.sf.net"
LICENSE = "GPL"
DEPENDS = "t1lib freetype"
APPNAME = "qpdf"
APPTYPE = "binary"
APPDESKTOP = "${S}/ipkg-render-freetype/opt/QtPalmtop/apps/Applications"
PR = "r3"

SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf2/qpdf2_2.2.1_20040217b.tgz \
           file://hack-the-hack.patch;patch=1 \
           file://fix-sigsegv.patch;patch=1 \
           file://fix_qtversion_check.patch;patch=1 \
           file://gcc4.patch;patch=1"
S = "${WORKDIR}/qpdf2_${PV}"

inherit opie

QMAKE_PROFILES = "qpdf_render-freetype.pro"
EXTRA_QMAKEVARS_POST = "TARGET=qpdf"
export OE_QMAKE_LINK="${CXX}"

do_configure_prepend() {
	find . -name "Makefile"|xargs rm -f
	find . -name "*.o"|xargs rm -f
	find . -name "*.a"|xargs rm -f
	find . -name "*.la"|xargs rm -f
}

do_install() {
	install -d ${D}${palmtopdir}/pics/qpdf
	install -m 0644 ipkg-render-freetype/opt/QtPalmtop/pics/qpdf/*.* ${D}${palmtopdir}/pics/qpdf/
}