1SUMMARY = "A library to access weather information from online services"
2
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6GNOMEBN = "libgweather"
7S = "${WORKDIR}/${GNOMEBN}-${PV}"
8
9inherit gnomebase gsettings gobject-introspection gettext gi-docgen vala features_check
10
11REQUIRED_DISTRO_FEATURES = "opengl"
12
13SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch"
14SRC_URI[archive.sha256sum] = "a6e427b4770ada48945f3aa906af710fc833cff0d42df91f1828302740d794ec"
15
16GTKDOC_MESON_OPTION = "gtk_doc"
17VALA_MESON_OPTION = "enable_vala"
18
19DEPENDS = " \
20    geocode-glib \
21    gtk4 \
22    json-glib \
23    libsoup-3.0 \
24    python3-pygobject-native \
25"
26
27FILES:${PN} += " \
28    ${datadir}/libgweather-4 \
29    ${libdir}/libgweather-4 \
30"
31