summaryrefslogtreecommitdiff
path: root/packages/qscintilla/qscintilla_1.65-gpl-1.6.bb
blob: d0b061938632a3c94a4408c8033e55005900e517 (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
DESCRIPTION = "Qt/Embedded bindings for the Scintilla source code editor component"
SECTION = "opie/libs"
LICENSE = "GPL"
FILE_PR = "r0"

SRC_URI = "http://www.mneuroth.de/privat/zaurus/qscintilla-${PV}_zaurus.tar.gz \
           file://no-external-lexers.patch;patch=1;pnum=0"

S = "${WORKDIR}/qscintilla-${PV}/qt"

inherit opie

QMAKE_PROFILES = "qscintilla.pro"

EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${S}/patches \
                         DEFINES+=ZPATCH DEFINES+=ZAURUS \
			 HEADERS-=qextscintillaprinter.h \
			 SOURCES-=qextscintillaprinter.cpp \
			 SOURCES+=patches/qsettings.cpp \
			 SOURCES+=patches/qsettings_unix.cpp \
			 HEADERS+=patches/qsettings.h"

PARALLEL_MAKE = ""

do_stage() {
	install -m 0644 qextscintilla*.h ${STAGING_INCDIR}/
	oe_libinstall -so libqscintilla ${STAGING_LIBDIR}
}

do_install() {
	install -d ${D}${libdir}
	oe_libinstall -so libqscintilla ${D}${libdir}
}

FILES_${PN} = "${libdir}"