blob: b5608266629a437974fb7d33b4db3f903e8ecf10 (
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
50
51
52
53
54
55
56
57
58
|
DESCRIPTION = "C++ Bindings for the Enlightenment Foundation Libraries"
SECTION = "e/libs"
LICENSE = "LGPL"
AUTHOR = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
MAINTAINER = "${AUTHOR}"
HOMEPAGE = "http://www.Vanille.de/projects/efl++.html"
DEPENDS = "virtual/evas virtual/ecore edje libsigc++-2.0"
PROVIDES = "virtual/efl++"
SRC_URI = "http://www.Vanille.de/download/efl/efl++_${PV}.tar.bz2 \
file://fix-src.pro.patch;patch=1 \
file://disable-smart.patch;patch=1"
S = "${WORKDIR}/efl++-${PV}"
inherit qmake qt4x11
PARALLEL_MAKE = ""
QMAKE_PROFILES = "efl++.pro"
EXTRA_QMAKEVARS_POST = "DESTDIR=${S}"
export OE_QMAKE_LINK="${CXX}"
export EDIR="${S}"
do_configure_prepend() {
rm include.pro
cat <<EOF >include.pro
include ( common.pro )
LIBS += -L${EDIR}
EFLCONFIG = console release eflbasic angstrom
INCLUDEPATH += ${EDIR}/src/common ${EDIR}/src/extra ${EDIR}/src/misc
INCLUDEPATH += ${EDIR}/src/evas ${EDIR}/src/ecore ${EDIR}/src/edje
INCLUDEPATH += ${EDIR}/src/esmart ${EDIR}/src/ewl
DEFINES += DATADIR=\"${datadir}/efl++/\"
EOF
}
do_stage() {
for i in src/common/*.h src/evas/*.h src/ecore/*.h src/edje/*.h
do
install -m 0644 $i ${STAGING_INCDIR}
done
oe_libinstall -so -C ${S} libefl++ ${STAGING_LIBDIR}
}
do_install() {
oe_libinstall -so -C ${S} libefl++ ${D}${libdir}
install -d ${D}${bindir}
install *-* ${D}${bindir}
install -d ${D}${datadir}/efl++
cp -pPR data/* ${D}${datadir}/efl++
}
PACKAGES =+ "efl++-examples"
FILES_${PN} = "${libdir}"
FILES_efl++-examples = "${bindir} ${datadir}"
|