1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

games/abstreet: Update 0.2.2-23 -> 0.2.2-28

Also add all city data that is currently available for abstreet.
This commit is contained in:
Yuri Victorovich 2020-07-08 07:22:06 +00:00
parent 2b8a1b4ad4
commit 2f66dcfd17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541467
3 changed files with 16 additions and 10 deletions

View File

@ -2,8 +2,8 @@
PORTNAME= abstreet
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.2-23
DISTVERSIONSUFFIX= -g35768dfb
DISTVERSION= 0.2.2-28
DISTVERSIONSUFFIX= -ge50cd776
CATEGORIES= games
MASTER_SITES= LOCAL/yuri:data
DISTFILES= ${PORTNAME}-data-${DISTVERSION}.tgz:data # updated by the update-data target
@ -14,12 +14,12 @@ COMMENT= Game exploring how changes to city affect drivers/cyclists/pedestrians
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo python:build localbase:ldflags xorg
USES= cargo localbase:ldflags python:build xorg
USE_GITHUB= yes
GH_ACCOUNT= dabreegster
USE_XORG= xcb
MAKE_ENV= ABST_DATA_DIR=${DATADIR}
MAKE_ENV= ABST_DATA_DIR=${DATADIR} ABST_PLAYER_HOME_DIR=1
GH_TUPLE= easbar:fast_paths:cfb19807c0dae0b6a5034d62959a6bd2abe45079:fast_paths \
dabreegster:seattle_traffic_signals:c5a882dcd5065f931006c1aa2963168e1fe82a51:seattle_traffic_signals
@ -466,7 +466,9 @@ BINARY_ALIAS= python3=${PYTHON_CMD}
# 2. Upload the abstreet-data distfile
# 3. Run 'make makesum clean'
update-data: configure
update-data: configure # see https://github.com/dabreegster/abstreet/blob/master/docs/dev.md#getting-started for a list of supported cities
@(${ECHO} "runtime: seattle,huge_seattle,austin" && \
${ECHO} "input: seattle,huge_seattle,austin") > ${WRKSRC}/data/config
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${CARGO_CARGO_RUN} run --bin updater && \
${TAR} czf ${DISTDIR}/${PORTNAME}-data-${DISTVERSION}.tgz data/system/cities data/system/maps data/system/prebaked_results data/system/scenarios data/config && \

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1594158198
SHA256 (abstreet-data-0.2.2-23.tgz) = 2de109923629410cc5db1e61a303e31d57127bf3e267b94a84a79eeec4095635
SIZE (abstreet-data-0.2.2-23.tgz) = 181992479
TIMESTAMP = 1594181043
SHA256 (abstreet-data-0.2.2-28.tgz) = e3b54259abca01abfebe86077404fa455156ef9c4de8689fb372747f7b0fc3cd
SIZE (abstreet-data-0.2.2-28.tgz) = 379870649
SHA256 (rust/crates/RustyXML-0.1.1.tar.gz) = 9222d58bccd9e6e3b82098a2ec142ad34e5d433de986d46cec03ad3a2b5fd529
SIZE (rust/crates/RustyXML-0.1.1.tar.gz) = 12688
SHA256 (rust/crates/aabb-quadtree-0.1.0.tar.gz) = 08e73342dae2885db4bdffbc75ffe3a668153720a95a6e57266a0ee8aacc96ca
@ -869,8 +869,8 @@ SHA256 (rust/crates/xmlwriter-0.1.0.tar.gz) = ec7a2a501ed189703dba8b08142f057e88
SIZE (rust/crates/xmlwriter-0.1.0.tar.gz) = 6261
SHA256 (rust/crates/zip-0.5.5.tar.gz) = 6df134e83b8f0f8153a094c7b0fd79dfebe437f1d76e7715afa18ed95ebe2fd7
SIZE (rust/crates/zip-0.5.5.tar.gz) = 33064
SHA256 (dabreegster-abstreet-v0.2.2-23-g35768dfb_GH0.tar.gz) = 79a57e6b347cb6f5cf14b1ab6311dedbc5ac1a052d32e08765326013e2315349
SIZE (dabreegster-abstreet-v0.2.2-23-g35768dfb_GH0.tar.gz) = 21137234
SHA256 (dabreegster-abstreet-v0.2.2-28-ge50cd776_GH0.tar.gz) = 1b32f5f714168f8e05baeb4d2d1975510281906e6f932a8da019056c13e7bce9
SIZE (dabreegster-abstreet-v0.2.2-28-ge50cd776_GH0.tar.gz) = 21123082
SHA256 (easbar-fast_paths-cfb19807c0dae0b6a5034d62959a6bd2abe45079_GH0.tar.gz) = b426e5728d7e37e885e7ec59a8da1730e491272e186e5090117f178439177484
SIZE (easbar-fast_paths-cfb19807c0dae0b6a5034d62959a6bd2abe45079_GH0.tar.gz) = 1108433
SHA256 (dabreegster-seattle_traffic_signals-c5a882dcd5065f931006c1aa2963168e1fe82a51_GH0.tar.gz) = 84fc15ceece08679883226c2a440d3fa4e33d6d2e2f91a64a0083fd85692550b

View File

@ -104,6 +104,9 @@ bin/abstreet-game
%%DATADIR%%/system/fonts/Overpass-SemiBold.ttf
%%DATADIR%%/system/maps/ballard.bin
%%DATADIR%%/system/maps/downtown.bin
%%DATADIR%%/system/maps/downtown_atx.bin
%%DATADIR%%/system/maps/huge_austin.bin
%%DATADIR%%/system/maps/huge_seattle.bin
%%DATADIR%%/system/maps/lakeslice.bin
%%DATADIR%%/system/maps/montlake.bin
%%DATADIR%%/system/maps/south_seattle.bin
@ -118,6 +121,7 @@ bin/abstreet-game
%%DATADIR%%/system/proposals/stay healthy lake wash blvd.json
%%DATADIR%%/system/scenarios/ballard/weekday.bin
%%DATADIR%%/system/scenarios/downtown/weekday.bin
%%DATADIR%%/system/scenarios/huge_seattle/weekday.bin
%%DATADIR%%/system/scenarios/lakeslice/weekday.bin
%%DATADIR%%/system/scenarios/montlake/weekday.bin
%%DATADIR%%/system/scenarios/south_seattle/weekday.bin