aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-01-31 15:30:47 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-02-01 00:52:21 +0000
commita0d0fa9e979085fa180b5cbcf654f6d86b6e0b93 (patch)
tree80760ea09553c685b48bf45246f42611a4c608b7 /games
parent971a9cbb943290a88f90ffdf99c8d8863be9e90d (diff)
downloadports-a0d0fa9e979085fa180b5cbcf654f6d86b6e0b93.tar.gz
ports-a0d0fa9e979085fa180b5cbcf654f6d86b6e0b93.zip
games/veloren-weekly: update to s20240131
Diffstat (limited to 'games')
-rw-r--r--games/veloren-weekly/Makefile4
-rw-r--r--games/veloren-weekly/distinfo6
-rw-r--r--games/veloren-weekly/files/patch-unix24
3 files changed, 29 insertions, 5 deletions
diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile
index 5f44583ee7cb..e687bb50d45e 100644
--- a/games/veloren-weekly/Makefile
+++ b/games/veloren-weekly/Makefile
@@ -1,5 +1,5 @@
PORTNAME= veloren
-PORTVERSION= s20240126
+PORTVERSION= s20240131
CATEGORIES= games wayland
PKGNAMESUFFIX= -weekly
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-pl
USES= cargo xorg
USE_XORG= xcb
USE_GITLAB= yes
-GL_TAGNAME= v0.15.0-934-g77af5ef09 # git describe --match='v[0-9]*' weekly
+GL_TAGNAME= v0.15.0-982-gcbcf1965b # git describe --match='v[0-9]*' weekly
CARGO_ENV= VELOREN_USERDATA_STRATEGY=system SHADERC_LIB_DIR="${LOCALBASE}/lib"
PLIST_FILES= bin/${PORTNAME}-server-cli \
bin/${PORTNAME}-voxygen \
diff --git a/games/veloren-weekly/distinfo b/games/veloren-weekly/distinfo
index 06ab356356f1..f3bc57366ae1 100644
--- a/games/veloren-weekly/distinfo
+++ b/games/veloren-weekly/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1706294081
+TIMESTAMP = 1706744278
SHA256 (rust/crates/ab_glyph-0.2.21.crate) = 5110f1c78cf582855d895ecd0746b653db010cec6d9f5575293f27934d980a39
SIZE (rust/crates/ab_glyph-0.2.21.crate) = 17764
SHA256 (rust/crates/ab_glyph_rasterizer-0.1.8.crate) = c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046
@@ -1553,5 +1553,5 @@ SHA256 (yoanlcq-vek-84d5cb65841d46599a986c5477341bea4456be26_GH0.tar.gz) = f6fc0
SIZE (yoanlcq-vek-84d5cb65841d46599a986c5477341bea4456be26_GH0.tar.gz) = 90485
SHA256 (Imberflur-winit-raw-window-handle-0.4-retro-support-v1_GH0.tar.gz) = 55b7e0bfdf87aca662e4ae0a8abd4cbe0cf5d2d2e9f9a61f8b40f02ab769d04f
SIZE (Imberflur-winit-raw-window-handle-0.4-retro-support-v1_GH0.tar.gz) = 402612
-SHA256 (veloren-v0.15.0-934-g77af5ef09.tar.bz2) = 6f5ae4d15b6cb9ba68e6e3117a580f87959831a108d3c885bb5fc6303fb8c440
-SIZE (veloren-v0.15.0-934-g77af5ef09.tar.bz2) = 290408888
+SHA256 (veloren-v0.15.0-982-gcbcf1965b.tar.bz2) = 6dc46be2a9eb7e58e632d92281f27ba9b972c35e675c5842d3a0e9f2a7fb0c07
+SIZE (veloren-v0.15.0-982-gcbcf1965b.tar.bz2) = 290589065
diff --git a/games/veloren-weekly/files/patch-unix b/games/veloren-weekly/files/patch-unix
new file mode 100644
index 000000000000..10603bce2e3e
--- /dev/null
+++ b/games/veloren-weekly/files/patch-unix
@@ -0,0 +1,24 @@
+Relax Linux checks for the code works on any non-Windows platform.
+
+--- server-cli/src/main.rs.orig 2024-01-31 15:30:47 UTC
++++ server-cli/src/main.rs
+@@ -57,7 +57,7 @@ fn main() -> io::Result<()> {
+
+ let sigusr1_signal = Arc::new(AtomicBool::new(false));
+
+- #[cfg(any(target_os = "linux", target_os = "macos"))]
++ #[cfg(not(target_os = "windows"))]
+ let _ = signal_hook::flag::register(signal_hook::consts::SIGUSR1, Arc::clone(&sigusr1_signal));
+
+ let (_guards, _guards2) = if basic {
+--- voxygen/src/main.rs.orig 2024-01-31 15:30:47 UTC
++++ voxygen/src/main.rs
+@@ -51,7 +51,7 @@ fn main() {
+ cli::Commands::ListWgpuBackends => {
+ #[cfg(target_os = "windows")]
+ let backends = &["dx11", "dx12", "vulkan"];
+- #[cfg(target_os = "linux")]
++ #[cfg(not(any(target_os = "windows", target_os = "macos")))]
+ let backends = &["vulkan"];
+ #[cfg(target_os = "macos")]
+ let backends = &["metal"];