summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/efl/libeweather_svn.bb
blob: 934efa10f3615a3867ba9190af669b3c5f3b53b0 (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
DESCRIPTION = "EFL-based weather widget library"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
                    file://COPYING-PLAIN;md5=c910b645eda0005ccec46f75203dc96e"

DEPENDS = "ecore edje"
PV = "0.0.0+svnr${SRCPV}"
SRCREV = "${EFL_SRCREV}"

inherit efl
SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep"
S = "${WORKDIR}/${SRCNAME}"

EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"

RSUGGESTS_${PN} = "elementary-tests"

do_compile_append() {
        sed -i -e s:${STAGING_DIR_TARGET}::g \
               -e s:/${TARGET_SYS}::g \
                  eweather.pc
}

PACKAGES += "${PN}-plugins"

FILES_${PN}-themes = "\
  ${datadir} \
"

FILES_${PN}-plugins = "\
  ${libdir}/eweather/plugins/*.so \
"

FILES_${PN}-dbg += "\
  ${libdir}/eweather/plugins/.debug \
"

FILES_${PN}-dev += "\
  ${libdir}/eweather/plugins/*.a \
  ${libdir}/eweather/plugins/*.la \
"

RRECOMMENDS_${PN} = "\
  ${PN}-themes \
  ${PN}-plugins \
"