1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

games/veloren: switch to upstream fix for assets

This commit is contained in:
Jan Beich 2020-05-18 17:36:46 +00:00
parent 83223512e5
commit 161aeda388
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535761
2 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,9 @@ DISTFILES= android-icon-192x192.png:icon \
${PORTNAME}-assets-${DISTVERSIONFULL}.tar.xz:assets
EXTRACT_ONLY= ${DISTFILES:N*\:icon:C/:.*//}
PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/commit/
PATCHFILES+= 886cad910372.diff:-p1 # https://gitlab.com/veloren/veloren/merge_requests/1003
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Multiplayer voxel RPG written in Rust
@ -587,8 +590,8 @@ post-patch:
-e "/GIT_DATE/s/=.*/= \"$$(date -r $$(${AWK} '/TIMESTAMP/ { print $$3 }' \
${DISTINFO_FILE}) +'%Y-%m-%d-%H:%M')\";/" \
${WRKSRC}/common/src/util/mod.rs
# Enable system assets
@${REINPLACE_CMD} -e '/linux/d; s,/usr/share,${DATADIR:H},' \
# Respect PREFIX != /usr/local for system assets
@${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/common/src/assets/mod.rs
# lang/python3 cannot be used as a dependency
@${REINPLACE_CMD} -e 's/"python3"/"${PYTHON_CMD:T}"/' \

View File

@ -1051,3 +1051,5 @@ SHA256 (veloren-specs-idvs-111548cf44e9bb4c43feb12aa3fc253953ac6e4a_GL0.tar.gz)
SIZE (veloren-specs-idvs-111548cf44e9bb4c43feb12aa3fc253953ac6e4a_GL0.tar.gz) = 2455
SHA256 (yusdacra-treeculler-6c0fdf1c1cbf00be22e37410985d6a3973cd9bed_GL0.tar.gz) = a3cbbee898e79ed4c88f6c1b99ff03e1840c528e4c7ec615349bd0ddd5c3271f
SIZE (yusdacra-treeculler-6c0fdf1c1cbf00be22e37410985d6a3973cd9bed_GL0.tar.gz) = 3999
SHA256 (886cad910372.diff) = 2ff31c1d9b218ec8b462b5bf6d49ba847a9aed336672c29c6e792f616f89247a
SIZE (886cad910372.diff) = 589