1*8460358cSPatrick WilliamsSUMMARY = "The Geolocation Service"
2*8460358cSPatrick WilliamsDESCRIPTION = "Geoclue is a D-Bus service that provides location information. \
3*8460358cSPatrick WilliamsThe primary goal of the Geoclue project is to make creating location-aware applications \
4*8460358cSPatrick Williamsas simple as possible, while the secondary goal is to ensure that no application \
5*8460358cSPatrick Williamscan access location information without explicit permission from user."
6*8460358cSPatrick WilliamsLICENSE = "GPL-2.0-or-later"
7*8460358cSPatrick WilliamsSECTION = "console/network"
8*8460358cSPatrick Williams
9*8460358cSPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6"
10*8460358cSPatrick Williams
11*8460358cSPatrick WilliamsDEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native"
12*8460358cSPatrick Williams
13*8460358cSPatrick Williamsinherit meson pkgconfig gtk-doc gobject-introspection vala
14*8460358cSPatrick Williams
15*8460358cSPatrick WilliamsSRCREV = "ab0a7a447ac037d5043aa04df3030796bf47d94d"
16*8460358cSPatrick WilliamsSRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \
17*8460358cSPatrick Williams file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \
18*8460358cSPatrick Williams"
19*8460358cSPatrick Williams
20*8460358cSPatrick WilliamsS = "${WORKDIR}/git"
21*8460358cSPatrick Williams
22*8460358cSPatrick Williams# Without this line, package is declared a library and named libgeoclue*
23*8460358cSPatrick WilliamsAUTO_LIBNAME_PKGS = ""
24*8460358cSPatrick Williams
25*8460358cSPatrick WilliamsPACKAGECONFIG ??= "3g modem-gps cdma nmea lib agent"
26*8460358cSPatrick WilliamsPACKAGECONFIG[3g] = "-D3g-source=true,-D3g-source=false,modemmanager"
27*8460358cSPatrick WilliamsPACKAGECONFIG[modem-gps] = "-Dmodem-gps-source=true,-Dmodem-gps-source=false,modemmanager"
28*8460358cSPatrick WilliamsPACKAGECONFIG[cdma] = "-Dcdma-source=true,-Dcdma-source=false,modemmanager"
29*8460358cSPatrick WilliamsPACKAGECONFIG[nmea] = "-Dnmea-source=true,-Dnmea-source=false,avahi,avahi-daemon"
30*8460358cSPatrick WilliamsPACKAGECONFIG[lib] = "-Dlibgeoclue=true,-Dlibgeoclue=false"
31*8460358cSPatrick WilliamsPACKAGECONFIG[agent] = "-Ddemo-agent=true,-Ddemo-agent=false,libnotify"
32*8460358cSPatrick Williams
33*8460358cSPatrick WilliamsGTKDOC_MESON_OPTION = "gtk-doc"
34