source: trunk/dports/devel/geoclue/Portfile

Last change on this file was 147899, checked in by ryandesign@…, 19 months ago

geoclue: use https for homepage and master_sites

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 147899 2016-04-20 04:13:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                geoclue
7version             0.12.99
8revision            5
9categories          devel net
10license             LGPL-2.1+
11platforms           darwin
12maintainers         nomaintainer
13description         Geolocation library
14long_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.
15
16homepage            https://www.freedesktop.org/wiki/Software/GeoClue/
17master_sites        https://people.freedesktop.org/~hadess/
18
19checksums           sha1    32958b36e679c9fb9b35b25d29c43d5ae6a0be27 \
20                    rmd160  f95c8a0aac9ef1d0a011fc2cfc151f62bf400a6c \
21                    sha256  fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72
22
23patchfiles \
24        geoclue-0.12.99-gpsd.patch
25
26depends_build   \
27        port:pkgconfig
28
29depends_lib     \
30        port:gtk2 \
31        port:dbus-glib \
32        port:libsoup
33
34# this old version of geoclue will not build with gpsd API 6.0+ (gpsd 3.12+)
35# current geoclue2 versions no longer support gpsd, drop gpsd support here as well
36# https://trac.macports.org/ticket/47459
37
38configure.args      --disable-gpsd \
39                    --disable-schemas-compile \
40                    --disable-silent-rules
41
42post-activate {
43        system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" 
44}
45
46livecheck.type      regex
47livecheck.url       ${master_sites}
48livecheck.regex     ${name}-(\[\\d.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.