Update to spatialite_gui-2.1.0beta1.

Depends on libspatialite 5.0.0, librasterlite2 1.1.0beta1 and the newly
imported virtualpg.

Disable libxlsxwriter support as we dont have a port (yet?) for
https://libxlsxwriter.github.io/.
This commit is contained in:
landry 2020-10-11 16:37:53 +00:00
parent 204e5af924
commit 5309260a5b
4 changed files with 45 additions and 27 deletions

View File

@ -1,21 +1,24 @@
# $OpenBSD: Makefile,v 1.16 2019/05/17 16:45:26 sthen Exp $
# $OpenBSD: Makefile,v 1.17 2020/10/11 16:37:53 landry Exp $
COMMENT = GUI for spatialite
DISTNAME = spatialite_gui-1.7.1
DISTNAME = spatialite_gui-2.1.0-beta1
PKGNAME = spatialite_gui-2.1.0beta1
PROJECT = spatialite_gui
REVISION = 9
MASTER_SITES = http://www.gaia-gis.it/gaia-sins/spatialite-gui-sources/
LIB_DEPENDS += x11/wxWidgets>=3.0.4 \
databases/sqlite3 \
geo/spatialite/libspatialite \
geo/spatialite/libgaiagraphics
RUN_DEPENDS += devel/desktop-file-utils
geo/spatialite/libspatialite>=5.0.0 \
geo/spatialite/librasterlite2>=1.1.0beta1 \
geo/spatialite/virtualpg
RUN_DEPENDS += devel/desktop-file-utils \
x11/gtk+3,-guic
WANTLIB += ${COMPILER_LIBCXX} ICE SDL2 SM X11 Xcomposite Xcursor
WANTLIB += Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
WANTLIB += atk-1.0 atk-bridge-2.0 atspi c cairo cairo-gobject
WANTLIB += dbus-1 epoxy expat ffi fontconfig freetype freexl fribidi
WANTLIB += gaiagraphics gdk-3 gdk_pixbuf-2.0 geos geos_c geotiff
WANTLIB += atk-1.0 atk-bridge-2.0 c cairo cairo-gobject
WANTLIB += epoxy expat ffi fontconfig freetype freexl fribidi
WANTLIB += gdk-3 gdk_pixbuf-2.0 geos geos_c geotiff
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
WANTLIB += gthread-2.0 gtk-3 harfbuzz iconv intl jpeg lzma m mspack
WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
@ -24,13 +27,16 @@ WANTLIB += usbhid wx_baseu-3.0 wx_baseu_net-3.0 wx_baseu_xml-3.0
WANTLIB += wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0 wx_gtk3u_core-3.0
WANTLIB += wx_gtk3u_html-3.0 wx_gtk3u_qa-3.0 wx_gtk3u_xrc-3.0
WANTLIB += xcb xcb-render xcb-shm xml2 z
WANTLIB += Xss bz2 charset crypto curl gif lz4 minizip nghttp2
WANTLIB += openjp2 pq rasterlite2 rttopo ssl virtualpg webp zstd
COMPILER = base-clang ports-gcc base-gcc
# so that it finds all libs without rpath..
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
CONFIGURE_ARGS += --disable-xlsxwriter
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/{pixmaps,applications}
${INSTALL_DATA} ${WRKSRC}/gnome_resource/*.desktop ${PREFIX}/share/applications/

View File

@ -1,2 +1,2 @@
SHA256 (spatialite_gui-1.7.1.tar.gz) = y5yx7ef4Ol/F9SyDQ35VarnLVNas48VF0xsxf9NvBeQ=
SIZE (spatialite_gui-1.7.1.tar.gz) = 1090178
SHA256 (spatialite_gui-2.1.0-beta1.tar.gz) = ukjZbfGM68P/I/aXlyB64VgszmL0WWtpuuMAyjwj2zM=
SIZE (spatialite_gui-2.1.0-beta1.tar.gz) = 2023014

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-configure,v 1.1 2019/01/02 12:44:07 jca Exp $
Index: configure
--- configure.orig
+++ configure
@@ -15543,7 +15543,7 @@ if test x$WX_CONFIG == xnot_found; then
fi
CXXFLAGS="$(wx-config --cxxflags)"
AM_CXXFLAGS="$(wx-config --cxxflags)"
-WX_LIBS="$(wx-config --libs)"
+WX_LIBS="$(wx-config --libs std,aui)"
# Checks for header files.

View File

@ -1,6 +1,32 @@
@comment $OpenBSD: PLIST,v 1.2 2018/06/27 21:03:52 espie Exp $
@comment $OpenBSD: PLIST,v 1.3 2020/10/11 16:37:53 landry Exp $
@bin bin/spatialite_gui
share/applications/spatialite-gui.desktop
share/icons/hicolor/128x128/apps/spatialite-gui.png
share/icons/hicolor/16x16/apps/spatialite-gui.png
share/icons/hicolor/192x192/apps/spatialite-gui.png
share/icons/hicolor/22x22/apps/spatialite-gui.png
share/icons/hicolor/24x24/apps/spatialite-gui.png
share/icons/hicolor/256x256/apps/spatialite-gui.png
share/icons/hicolor/32x32/apps/spatialite-gui.png
share/icons/hicolor/36x36/apps/spatialite-gui.png
share/icons/hicolor/40x40/
share/icons/hicolor/40x40/apps/
share/icons/hicolor/40x40/apps/spatialite-gui.png
share/icons/hicolor/42x42/
share/icons/hicolor/42x42/apps/
share/icons/hicolor/42x42/apps/spatialite-gui.png
share/icons/hicolor/48x48/apps/spatialite-gui.png
share/icons/hicolor/512x512/apps/spatialite-gui.png
share/icons/hicolor/64x64/apps/spatialite-gui.png
share/icons/hicolor/72x72/apps/spatialite-gui.png
share/icons/hicolor/80x80/
share/icons/hicolor/80x80/apps/
share/icons/hicolor/80x80/apps/spatialite-gui.png
share/icons/hicolor/8x8/
share/icons/hicolor/8x8/apps/
share/icons/hicolor/8x8/apps/spatialite-gui.png
share/icons/hicolor/96x96/apps/spatialite-gui.png
share/pixmaps/
share/pixmaps/spatialite-gui.png
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor