Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # $OpenBSD: Makefile,v 1.34 2017/05/29 14:43:53 jasper Exp $
  2. COMMENT= modular geoinformation service on top of D-Bus
  3. VERSION= 2.4.7
  4. DISTNAME= geoclue-${VERSION}
  5. PKGNAME= geoclue2-${VERSION}
  6. CATEGORIES= geo devel
  7. SHARED_LIBS += geoclue-2 0.1 # 0.0
  8. HOMEPAGE= http://geoclue.freedesktop.org/
  9. MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
  10. Antoine Jacoutot <ajacoutot@openbsd.org>
  11. # LGPLv2
  12. PERMIT_PACKAGE_CDROM= Yes
  13. MASTER_SITES= http://freedesktop.org/software/geoclue/releases/${VERSION:R}/
  14. EXTRACT_SUFX= .tar.xz
  15. WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 json-glib-1.0
  16. WANTLIB += lzma m pcre pthread soup-2.4 sqlite3 xml2 z iconv intl
  17. WANTLIB += avahi-client avahi-common avahi-glib dbus-1
  18. MODULES= textproc/intltool \
  19. x11/gnome
  20. LIB_DEPENDS= devel/libsoup \
  21. devel/json-glib \
  22. net/avahi
  23. # XXX requires DBus support in wpa_supplicant
  24. # (wpa_supplicant in OpenBSD is also crippled in other ways)
  25. #RUN_DEPENDS= security/wpa_supplicant
  26. # /usr/local/share/dbus-1/system-services/
  27. RUN_DEPENDS += x11/dbus,-suid
  28. MODGNOME_TOOLS= desktop-file-utils gobject-introspection
  29. USE_GMAKE= Yes
  30. CONFIGURE_STYLE= gnu
  31. CONFIGURE_ARGS= --with-dbus-service-user=_geoclue
  32. # disable all components requiring ModemManager
  33. CONFIGURE_ARGS += --disable-3g-source \
  34. --disable-modem-gps-source \
  35. --disable-cdma-source
  36. FAKE_FLAGS= DBUS_SYS_DIR=${PREFIX}/share/examples/geoclue/dbus-1/system.d \
  37. sysconfdir=${PREFIX}/share/examples/geoclue/
  38. # don't install the demo agent .desktop file (agent requires MM)
  39. FAKE_FLAGS += apps_DATA=geoclue-where-am-i.desktop
  40. .include <bsd.port.mk>