diff --git a/net/geoclue/Makefile b/net/geoclue/Makefile index 833a1e7ce1e7..e366572490fa 100644 --- a/net/geoclue/Makefile +++ b/net/geoclue/Makefile @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= geoclue -PORTVERSION= 2.4.12 +PORTVERSION= 2.5.5 CATEGORIES= net devel gnome -MASTER_SITES= http://www.freedesktop.org/software/geoclue/releases/${PORTVERSION:R}/ MAINTAINER= gnome@FreeBSD.org COMMENT= D-Bus service that provides location information @@ -12,19 +11,37 @@ COMMENT= D-Bus service that provides location information LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi +BUILD_DEPENDS= valac:lang/vala LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libsoup-2.4.so:devel/libsoup \ libnotify.so:devel/libnotify -USES= gettext gmake gnome libtool localbase pathfix \ - pkgconfig tar:xz -USE_GNOME= glib20 intlhack introspection:build -GNU_CONFIGURE= yes +USES= gettext gnome meson pkgconfig tar:xz + +USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes -CONFIGURE_ARGS= --disable-3g-source \ - --disable-cdma-source \ - --disable-nmea-source \ - --disable-modem-gps-source -INSTALL_TARGET= install-strip + +USE_GITLAB= yes +GL_SITE= https://gitlab.freedesktop.org +GL_COMMIT= 9519d67c7a9a0e97a75115f9ff99d4fb0bb81b21 + +MESON_ARGS= -D3g-source=false \ + -Dcdma-source=false \ + -Dnmea-source=false \ + -Dmodem-gps-source=false + +OPTIONS_SUB= yes +OPTIONS_DEFINE= DEMO DOCS + +DEMO_DESC= Install geoclue demo agent +DEMO_LIB_DEPENDS= libnotify.so:devel/libnotify +DEMO_MESON_TRUE= demo-agent + +DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc +DOCS_MESON_TRUE= gtk-doc + +post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/geoclue/geoclue.conf \ + ${STAGEDIR}${PREFIX}/etc/geoclue/geoclue.conf.sample .include diff --git a/net/geoclue/distinfo b/net/geoclue/distinfo index f2c7b6408159..02809dc35cde 100644 --- a/net/geoclue/distinfo +++ b/net/geoclue/distinfo @@ -1,3 +1,3 @@ TIMESTAMP = 1577366911 -SHA256 (geoclue-2.4.12.tar.xz) = 05d0e2ec077a685de2a9c63973fe6d18366ca53881d1f0750110b93c5c68caca -SIZE (geoclue-2.4.12.tar.xz) = 398124 +SHA256 (geoclue-geoclue-9519d67c7a9a0e97a75115f9ff99d4fb0bb81b21_GL0.tar.gz) = 3a8f6efad90d203c30c4e6e01a7deb23b2680ecaab9582cfb28e43af38febdb7 +SIZE (geoclue-geoclue-9519d67c7a9a0e97a75115f9ff99d4fb0bb81b21_GL0.tar.gz) = 114264 diff --git a/net/geoclue/pkg-descr b/net/geoclue/pkg-descr index e70212fb3890..6289d91f0c22 100644 --- a/net/geoclue/pkg-descr +++ b/net/geoclue/pkg-descr @@ -3,4 +3,4 @@ the Geoclue project is to make creating location-aware applications as simple as possible, while the secondary goal is to ensure that no application can access location information without explicit permission from user. -WWW: http://geoclue.freedesktop.org/ +WWW: https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home diff --git a/net/geoclue/pkg-plist b/net/geoclue/pkg-plist index 1cec391f7283..954e61820ec0 100644 --- a/net/geoclue/pkg-plist +++ b/net/geoclue/pkg-plist @@ -1,7 +1,7 @@ etc/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf etc/dbus-1/system.d/org.freedesktop.GeoClue2.conf -%%ETCDIR%%/geoclue.conf -etc/xdg/autostart/geoclue-demo-agent.desktop +@sample %%ETCDIR%%/geoclue.conf.sample +%%DEMO%%etc/xdg/autostart/geoclue-demo-agent.desktop include/libgeoclue-2.0/gclue-client.h include/libgeoclue-2.0/gclue-enum-types.h include/libgeoclue-2.0/gclue-enums.h @@ -17,9 +17,10 @@ lib/libgeoclue-2.so.0.0.0 libdata/pkgconfig/geoclue-2.0.pc libdata/pkgconfig/libgeoclue-2.0.pc libexec/geoclue +%%DEMO%%libexec/geoclue-2.0/demos/agent libexec/geoclue-2.0/demos/where-am-i -libexec/geoclue-2.0/demos/agent -share/applications/geoclue-demo-agent.desktop +man/man5/geoclue.5.gz +%%DEMO%%share/applications/geoclue-demo-agent.desktop share/applications/geoclue-where-am-i.desktop share/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml share/dbus-1/interfaces/org.freedesktop.GeoClue2.Client.xml @@ -28,3 +29,50 @@ share/dbus-1/interfaces/org.freedesktop.GeoClue2.Manager.xml share/dbus-1/interfaces/org.freedesktop.GeoClue2.xml share/dbus-1/system-services/org.freedesktop.GeoClue2.service share/gir-1.0/Geoclue-2.0.gir +%%DOCS%%share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Agent.html +%%DOCS%%share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Client.html +%%DOCS%%share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Location.html +%%DOCS%%share/gtk-doc/html/geoclue/gdbus-org.freedesktop.GeoClue2.Manager.html +%%DOCS%%share/gtk-doc/html/geoclue/geoclue-gclue-enums.html +%%DOCS%%share/gtk-doc/html/geoclue/geoclue.devhelp2 +%%DOCS%%share/gtk-doc/html/geoclue/home.png +%%DOCS%%share/gtk-doc/html/geoclue/index.html +%%DOCS%%share/gtk-doc/html/geoclue/ix01.html +%%DOCS%%share/gtk-doc/html/geoclue/left-insensitive.png +%%DOCS%%share/gtk-doc/html/geoclue/left.png +%%DOCS%%share/gtk-doc/html/geoclue/license.html +%%DOCS%%share/gtk-doc/html/geoclue/ref-agent-dbus.html +%%DOCS%%share/gtk-doc/html/geoclue/ref-dbus.html +%%DOCS%%share/gtk-doc/html/geoclue/right-insensitive.png +%%DOCS%%share/gtk-doc/html/geoclue/right.png +%%DOCS%%share/gtk-doc/html/geoclue/style.css +%%DOCS%%share/gtk-doc/html/geoclue/up-insensitive.png +%%DOCS%%share/gtk-doc/html/geoclue/up.png +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueClient.html +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueClientProxy.html +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueLocation.html +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueLocationProxy.html +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueManager.html +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueManagerProxy.html +%%DOCS%%share/gtk-doc/html/libgeoclue/GClueSimple.html +%%DOCS%%share/gtk-doc/html/libgeoclue/annotation-glossary.html +%%DOCS%%share/gtk-doc/html/libgeoclue/ch01.html +%%DOCS%%share/gtk-doc/html/libgeoclue/ch02.html +%%DOCS%%share/gtk-doc/html/libgeoclue/ch03.html +%%DOCS%%share/gtk-doc/html/libgeoclue/ch04.html +%%DOCS%%share/gtk-doc/html/libgeoclue/ch05.html +%%DOCS%%share/gtk-doc/html/libgeoclue/home.png +%%DOCS%%share/gtk-doc/html/libgeoclue/index.html +%%DOCS%%share/gtk-doc/html/libgeoclue/ix01.html +%%DOCS%%share/gtk-doc/html/libgeoclue/left-insensitive.png +%%DOCS%%share/gtk-doc/html/libgeoclue/left.png +%%DOCS%%share/gtk-doc/html/libgeoclue/libgeoclue-gclue-enums.html +%%DOCS%%share/gtk-doc/html/libgeoclue/libgeoclue.devhelp2 +%%DOCS%%share/gtk-doc/html/libgeoclue/license.html +%%DOCS%%share/gtk-doc/html/libgeoclue/right-insensitive.png +%%DOCS%%share/gtk-doc/html/libgeoclue/right.png +%%DOCS%%share/gtk-doc/html/libgeoclue/style.css +%%DOCS%%share/gtk-doc/html/libgeoclue/up-insensitive.png +%%DOCS%%share/gtk-doc/html/libgeoclue/up.png +share/vala/vapi/libgeoclue-2.0.deps +share/vala/vapi/libgeoclue-2.0.vapi