Files
macports-ports/devel/geoclue/Portfile
T
2026-04-20 20:19:10 +04:00

48 lines
1.7 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name geoclue
version 0.12.99
revision 6
categories devel net
license LGPL-2.1+
maintainers nomaintainer
description Geolocation library
long_description Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
homepage https://www.freedesktop.org/wiki/Software/GeoClue/
master_sites https://people.freedesktop.org/~hadess/
checksums sha1 32958b36e679c9fb9b35b25d29c43d5ae6a0be27 \
rmd160 f95c8a0aac9ef1d0a011fc2cfc151f62bf400a6c \
sha256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72
patchfiles \
geoclue-0.12.99-gpsd.patch
depends_build \
port:pkgconfig
depends_lib \
path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
port:dbus-glib \
port:dbus \
port:libsoup-2.4
# this old version of geoclue will not build with gpsd API 6.0+ (gpsd 3.12+)
# current geoclue2 versions no longer support gpsd, drop gpsd support here as well
# https://trac.macports.org/ticket/47459
configure.args --disable-gpsd \
--disable-schemas-compile \
--disable-silent-rules
post-activate {
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[\\d.\]+)${extract.suffix}