import geoclue-2.0.0 which is a rewrite of the current geo/geoclue

and dependant ports (most notably webkit) cannot handle this newness yet

ok aja@
This commit is contained in:
jasper 2013-09-26 08:41:46 +00:00
parent b7a6715154
commit 855815966f
4 changed files with 63 additions and 0 deletions

43
geo/geoclue2/Makefile Normal file
View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/09/26 08:41:46 jasper Exp $
COMMENT= modular geoinformation service on top of D-Bus
VERSION= 2.0.0
DISTNAME= geoclue-${VERSION}
PKGNAME= geoclue2-${VERSION}
CATEGORIES= geo devel
HOMEPAGE= http://geoclue.freedesktop.org/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://freedesktop.org/software/geoclue/releases/${VERSION:R}/
EXTRACT_SUFX= .tar.xz
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 json-glib-1.0
WANTLIB += m pcre pthread soup-2.4 sqlite3 xml2 z
MODULES= devel/gettext \
textproc/intltool
LIB_DEPENDS = devel/libsoup \
devel/json-glib
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS+= DBUS_SYS_DIR=${PREFIX}/share/examples/geoclue/
# If one of these tools is found at configure stage, it might be used,
# no matter whether we use --disable-gtk-doc or not.
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
ac_cv_path_GTKDOC_REBASE="" \
ac_cv_path_GTKDOC_MKPDF=""
.include <bsd.port.mk>

2
geo/geoclue2/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (geoclue-2.0.0.tar.xz) = SoLxhOVaFj2G4K1pu+G7qZYLtQlCIP4fATULztqMZ6E=
SIZE (geoclue-2.0.0.tar.xz) = 284592

4
geo/geoclue2/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Geoclue is a D-Bus service that provides location information. The primary
goal of 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.

14
geo/geoclue2/pkg/PLIST Normal file
View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/09/26 08:41:46 jasper Exp $
lib/pkgconfig/
lib/pkgconfig/geoclue-2.0.pc
@bin libexec/geoclue
share/dbus-1/
share/dbus-1/system-services/
share/dbus-1/system-services/org.freedesktop.GeoClue2.service
share/examples/geoclue/
@sample ${SYSCONFDIR}/dbus-1/
@sample ${SYSCONFDIR}/dbus-1/system.d/
share/examples/geoclue/org.freedesktop.GeoClue2.conf
@sample ${SYSCONFDIR}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
share/geoclue-2.0/
share/geoclue-2.0/geoclue-interface.xml