astro/mepo: add new port

Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile
Linux devices (like the PinePhone, Librem 5, pmOS devices etc.) and both
environment's various user interfaces (Wayland & X inclusive). Mepo
works both offline and online, features a minimalist both touch/mouse
and keyboard compatible interface, and offers a UNIX-philosophy
inspired underlying design, exposing a powerful command language called
Mepolang capable of being scripted to provide things like custom
bounding-box search scripts, bookmarks, and more.

https://sr.ht/~mil/Mepo/
main
Jan Beich 1 week ago
parent add1cd7e99
commit 8fe61f2101
  1. 1
      astro/Makefile
  2. 43
      astro/mepo/Makefile
  3. 3
      astro/mepo/distinfo
  4. 8
      astro/mepo/pkg-descr
  5. 24
      astro/mepo/pkg-plist

@ -33,6 +33,7 @@
SUBDIR += luna
SUBDIR += marble
SUBDIR += match
SUBDIR += mepo
SUBDIR += merkaartor
SUBDIR += mkgmap
SUBDIR += mkgmap-splitter

@ -0,0 +1,43 @@
PORTNAME= mepo
DISTVERSION= 1.0_rc1
CATEGORIES= astro geography wayland
MASTER_SITES= https://git.sr.ht/~mil/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Fast, simple, and hackable OSM map viewer
WWW= https://sr.ht/~mil/Mepo/
LICENSE= GPLv3+ OFL11
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= zig>=0.9.0:lang/zig
LIB_DEPENDS= libcurl.so:ftp/curl
RUN_DEPENDS= jq:textproc/jq
USES= pkgconfig sdl shebangfix
USE_SDL= gfx2 image2 ttf2
SHEBANG_FILES= scripts/*
SHEBANG_LANG= sh
sh_CMD= /bin/sh
MAKE_ENV= DESTDIR="${STAGEDIR}"
CONFIGURE_ARGS= --prefix "${PREFIX}" \
${WITH_DEBUG:D:U-Drelease-fast} \
-Dcpu=${CPUTYPE:Ubaseline} \
--verbose
NO_INSTALL= yes # strip(1) breaks runtime
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},' \
${WRKSRC}/scripts/mepo_ui_menu_user_pin_updater.sh
@${REINPLACE_CMD} -e 's/pidof/pgrep/' \
-e 's/busctl/basuctl/' \
${WRKSRC}/scripts/mepo_ui_helper_menu.sh
do-build:
@(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS})
do-test:
@(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS})
.include <bsd.port.mk>

@ -0,0 +1,3 @@
TIMESTAMP = 1663709891
SHA256 (mepo-1.0_rc1.tar.gz) = 6ed729463a0244d7425c05e92cbef69fc456a39975d93912678b82c140e2afb0
SIZE (mepo-1.0_rc1.tar.gz) = 5426562

@ -0,0 +1,8 @@
Mepo is a fast, simple, and hackable OSM map viewer for desktop & mobile
Linux devices (like the PinePhone, Librem 5, pmOS devices etc.) and both
environment's various user interfaces (Wayland & X inclusive). Mepo
works both offline and online, features a minimalist both touch/mouse
and keyboard compatible interface, and offers a UNIX-philosophy
inspired underlying design, exposing a powerful command language called
Mepolang capable of being scripted to provide things like custom
bounding-box search scripts, bookmarks, and more.

@ -0,0 +1,24 @@
bin/mepo
bin/mepo_dl.sh
bin/mepo_generated_osmtags.sh
bin/mepo_ui_central_menu.sh
bin/mepo_ui_helper_menu.sh
bin/mepo_ui_helper_pref_pan.sh
bin/mepo_ui_menu_dbg_queueclear.sh
bin/mepo_ui_menu_dbg_queuedownloadinteractive.sh
bin/mepo_ui_menu_dbg_queuedownloadnoninteractive.sh
bin/mepo_ui_menu_pin_editor.sh
bin/mepo_ui_menu_pref_fontsize.sh
bin/mepo_ui_menu_pref_network.sh
bin/mepo_ui_menu_pref_url.sh
bin/mepo_ui_menu_pref_zoom.sh
bin/mepo_ui_menu_reposition_nominatim.sh
bin/mepo_ui_menu_route_graphhopper.sh
bin/mepo_ui_menu_route_overpassrelation.sh
bin/mepo_ui_menu_search_nominatim.sh
bin/mepo_ui_menu_search_overpass.sh
bin/mepo_ui_menu_user_pin_updater.sh
share/applications/mepo.desktop
share/icons/hicolor/128x128/apps/mepo.png
share/icons/hicolor/512x512/apps/mepo.png
share/pixmaps/mepo.png
Loading…
Cancel
Save