openbsd-ports/geo/osm-gps-map/Makefile

48 lines
1.3 KiB
Makefile

COMMENT= Gtk+ Widget for Displaying OpenStreetMap tiles
GH_ACCOUNT = nzjrs
GH_PROJECT = osm-gps-map
GH_TAGNAME = 1.1.0
REVISION = 4
CATEGORIES= geo x11
SHARED_LIBS += osmgpsmap-1.0 1.0 # 0.0
HOMEPAGE= https://nzjrs.github.io/osm-gps-map/
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB = ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi cairo
WANTLIB += cairo-gobject dbus-1 epoxy expat ffi fontconfig freetype
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += graphite2 gthread-2.0 gtk-3 harfbuzz iconv intl lzma m
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre2-8 pixman-1 png
WANTLIB += pthread soup-2.4 sqlite3 xcb xcb-render xcb-shm xml2 z
WANTLIB += Xau Xdmcp brotlicommon brotlidec ${COMPILER_LIBCXX} execinfo
WANTLIB += fribidi idn2 jpeg psl unistring
BUILD_DEPENDS= devel/gobject-introspection
LIB_DEPENDS= devel/libsoup \
x11/gtk+3
USE_GMAKE= Yes
CONFIGURE_STYLE= autoreconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FAKE_FLAGS= osm_gps_mapdocdir=${PREFIX}/share/doc/osm-gps-map/
AUTOMAKE_VERSION= 1.14
AUTOCONF_VERSION= 2.69
BUILD_DEPENDS += textproc/gtk-doc
post-patch:
cp ${LOCALBASE}/share/gtk-doc/data/gtk-doc.make ${WRKSRC}
.include <bsd.port.mk>