Changeset View
Changeset View
Standalone View
Standalone View
games/veloren/Makefile
Show All 13 Lines | |||||
ONLY_FOR_ARCHS= aarch64 amd64 | ONLY_FOR_ARCHS= aarch64 amd64 | ||||
# https://gitlab.com/veloren/veloren/-/issues/1006 | # https://gitlab.com/veloren/veloren/-/issues/1006 | ||||
ONLY_FOR_ARCHS_REASON= unsupported platform by https://github.com/wasmerio/wasmer | ONLY_FOR_ARCHS_REASON= unsupported platform by https://github.com/wasmerio/wasmer | ||||
LIB_DEPENDS= libasound.so:audio/alsa-lib | LIB_DEPENDS= libasound.so:audio/alsa-lib | ||||
RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins | RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins | ||||
USES= cargo python:3.4+,build xorg | # https://gitlab.com/veloren/veloren/issues/264 | ||||
USES= cargo python:3.4+,build rust:nightly xorg | |||||
USE_XORG= xcb | USE_XORG= xcb | ||||
USE_GITHUB= nodefault | USE_GITHUB= nodefault | ||||
GH_TUPLE= hecrj:iced:8d882d787e6b7fd7c2435f42f82933e2ed904edf:iced_core \ | GH_TUPLE= hecrj:iced:8d882d787e6b7fd7c2435f42f82933e2ed904edf:iced_core \ | ||||
xMAC94x:portpicker-rs:df6b37872f3586ac3b21d08b56c8ec7cd92fb172:portpicker \ | xMAC94x:portpicker-rs:df6b37872f3586ac3b21d08b56c8ec7cd92fb172:portpicker \ | ||||
amethyst:specs:5a9b71035007be0e3574f35184acac1cd4530496:specs \ | amethyst:specs:5a9b71035007be0e3574f35184acac1cd4530496:specs \ | ||||
fdehau:tui-rs:54b841fab6cfdb38e8dc1382176e965787964b4c:tui | fdehau:tui-rs:54b841fab6cfdb38e8dc1382176e965787964b4c:tui | ||||
USE_GITLAB= yes | USE_GITLAB= yes | ||||
GL_COMMIT= 1afe3b7de53804b3650d7762810cdc54213eb5db | GL_COMMIT= 1afe3b7de53804b3650d7762810cdc54213eb5db | ||||
GL_TUPLE= veloren:auth:fb3dcbc4962b367253f8f2f92760ef44d2679c9a:authcommon \ | GL_TUPLE= veloren:auth:fb3dcbc4962b367253f8f2f92760ef44d2679c9a:authcommon \ | ||||
veloren:conrod:1ae5193588fb662a7189d81edd9f2d653c7f1da0:conrod_core \ | veloren:conrod:1ae5193588fb662a7189d81edd9f2d653c7f1da0:conrod_core \ | ||||
veloren:specs-idvs:b65fb220e94f5d3c9bc30074a076149763795556:specsidvs \ | veloren:specs-idvs:b65fb220e94f5d3c9bc30074a076149763795556:specsidvs \ | ||||
veloren:vek:df6842cc874a697dec8896c66851817e744af7e8:vek \ | veloren:vek:df6842cc874a697dec8896c66851817e744af7e8:vek \ | ||||
veloren:winit:488c511802dfd95ca54f6f76a38547c93c7b02c9:winit | veloren:winit:488c511802dfd95ca54f6f76a38547c93c7b02c9:winit | ||||
CARGO_ENV= VELOREN_USERDATA_STRATEGY=system | MAKE_ENV= VELOREN_USERDATA_STRATEGY=system | ||||
PLIST_FILES= bin/${PORTNAME}-server-cli \ | PLIST_FILES= bin/${PORTNAME}-server-cli \ | ||||
bin/${PORTNAME}-voxygen \ | bin/${PORTNAME}-voxygen \ | ||||
share/applications/net.veloren.veloren.desktop \ | share/applications/net.veloren.veloren.desktop \ | ||||
share/pixmaps/net.veloren.veloren.png | share/pixmaps/net.veloren.veloren.png | ||||
PORTDATA= * | PORTDATA= * | ||||
.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld | .if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld | ||||
# veloren_voxygen*rcgu* has 71718 section headers, breaking old GNU ld.bfd in base | # veloren_voxygen*rcgu* has 71718 section headers, breaking old GNU ld.bfd in base | ||||
▲ Show 20 Lines • Show All 600 Lines • ▼ Show 20 Lines | CARGO_CRATES= ab_glyph-0.2.10 \ | ||||
xattr-0.2.2 \ | xattr-0.2.2 \ | ||||
xcb-0.9.0 \ | xcb-0.9.0 \ | ||||
xcursor-0.3.3 \ | xcursor-0.3.3 \ | ||||
xdg-2.2.0 \ | xdg-2.2.0 \ | ||||
xi-unicode-0.3.0 \ | xi-unicode-0.3.0 \ | ||||
xkb-0.2.1 \ | xkb-0.2.1 \ | ||||
xkbcommon-sys-0.7.4 \ | xkbcommon-sys-0.7.4 \ | ||||
xml-rs-0.8.3 | xml-rs-0.8.3 | ||||
CARGO_USE_GITHUB= yes | |||||
CARGO_USE_GITLAB= yes | |||||
CARGO_GIT_SUBDIR= authcommon:authc:authc \ | CARGO_GIT_SUBDIR= authcommon:authc:authc \ | ||||
conrod_core:conrod_core:conrod_core \ | conrod_core:conrod_core:conrod_core \ | ||||
conrod_core:conrod_winit:backends/conrod_winit \ | conrod_core:conrod_winit:backends/conrod_winit \ | ||||
iced_core:iced:native \ | iced_core:iced:native \ | ||||
iced_core:iced_winit:winit | iced_core:iced_winit:winit | ||||
# https://gitlab.com/veloren/veloren/issues/264 | |||||
CARGO_ENV+= RUSTC_BOOTSTRAP=1 | |||||
# XXX https://github.com/rust-lang/cargo/issues/4101 | # XXX https://github.com/rust-lang/cargo/issues/4101 | ||||
CARGO_INSTALL_PATH= server-cli voxygen | CARGO_INSTALL_PATH= server-cli voxygen | ||||
post-patch: | post-patch: | ||||
# .git/ directory is missing, so don't abort if git binary is also missing | # .git/ directory is missing, so don't abort if git binary is also missing | ||||
@${REINPLACE_CMD} -e 's/"git"/"${TRUE}"/' \ | @${REINPLACE_CMD} -e 's/"git"/"${TRUE}"/' \ | ||||
${WRKSRC}/common/build.rs | ${WRKSRC}/common/build.rs | ||||
# Extract (snapshot) version from the port instead of empty file | # Extract (snapshot) version from the port instead of empty file | ||||
Show All 20 Lines |