summaryrefslogtreecommitdiff
path: root/packages/konqueror/konqueror-embedded_20050322.bb
blob: ca11edbfe41cece08b95311b34cfdea32cee958a (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
37
38
39
40
41
42
43
44
45
46
47
48
49
DESCRIPTION = "KDE Web Browser Konqueror, QtE based Palmtop Environments Edition"
BROKEN = "1"
SECTION = "applications"
PRIORITY = "optional"
HOMEPAGE = "http://www.cirulla.net/kdenox-snapshots/"
DEPENDS = "openssl pcre"
LICENSE = "LGPL/GPL"
PR = "r3"

SRC_URI = "http://www.cirulla.net/kdenox-snapshots/snapshots/konqueror3-embedded-0.2-${PV}.tar.bz2 \
           file://qt-embedded.patch;patch=1"
S = "${WORKDIR}/konqueror3-embedded-0.2-${PV}"

DEFAULT_PREFERENCE = "-1"

inherit autotools

FILES_${PN} = "${palmtopdir}"

export QMAKE = "${STAGING_BINDIR}/qmake"
export MOC = "${STAGING_BINDIR}/moc"
export UIC = "${STAGING_BINDIR}/uic"
export exec_prefix = "${STAGING_LIBDIR}/.."

EXTRA_OECONF  = '--prefix=${palmtopdir} --exec-prefix=${palmtopdir}'
EXTRA_OECONF += '--with-extra-includes=${STAGING_INCDIR} --with-extra-libs=${STAGING_LIBDIR}'
EXTRA_OECONF += '--enable-static --disable-shared --disable-debug'
EXTRA_OECONF += '--enable-qt-embedded --enable-embedded --without-arts'
EXTRA_OECONF += '--with-javascript=static --with-gui=kiosk'
EXTRA_OECONF += '--disable-selection --disable-scrollbars --disable-bookmarks'
EXTRA_OECONF += '--with-ssl-version=0.9.7e --with-ssl-dir=${STAGING_LIBDIR}/..'
EXTRA_OECONF += '--with-qt-includes=${STAGING_INCDIR}/qt3'
EXTRA_OECONF += '--with-qt-libraries=${STAGING_LIBDIR}'

MOC = ${STAGING_BINDIR}/moc3
UIC = ${STAGING_BINDIR}/uic3

do_compile_prepend() {
	perl admin/am_edit
}

do_install() {
    install -d ${D}${palmtopdir}/share/
    install -d ${D}${palmtopdir}/share/config/
    
    install -m 0644 ${WORKDIR}/konq-embedrc ${D}${palmtopdir}/share/config/
    
    autotools_do_install
}