Update to 5.3 and note new home page for project

This commit is contained in:
kmos 2023-01-25 04:39:14 +00:00
parent c0ea514b56
commit a44b5b261e
3 changed files with 12 additions and 13 deletions

View File

@ -1,14 +1,13 @@
COMMENT = library for creating a custom Minecraft launcher
MODPY_EGG_VERSION = 5.2
MODPY_EGG_VERSION = 5.3
DISTNAME = minecraft-launcher-lib-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = games
HOMEPAGE = https://gitlab.com/JakobDev/minecraft-launcher-lib
HOMEPAGE = https://codeberg.org/JakobDev/minecraft-launcher-lib
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>

View File

@ -1,2 +1,2 @@
SHA256 (minecraft-launcher-lib-5.2.tar.gz) = gL9VQoYbowoUUdXLrubklzv+F3snLF9D9MeiBPsMOV4=
SIZE (minecraft-launcher-lib-5.2.tar.gz) = 20810
SHA256 (minecraft-launcher-lib-5.3.tar.gz) = htVhXWyUg2WQNWOF+rwuxDAHeoFsHUla3u/AtR8442k=
SIZE (minecraft-launcher-lib-5.3.tar.gz) = 20899

View File

@ -1,16 +1,16 @@
Index: minecraft_launcher_lib/runtime.py
--- minecraft_launcher_lib/runtime.py.orig
+++ minecraft_launcher_lib/runtime.py
@@ -26,6 +26,8 @@ def _get_jvm_platform_string() -> str:
return "linux"
elif platform.system() == "Darwin":
return "mac-os"
@@ -29,6 +29,8 @@ def _get_jvm_platform_string() -> str:
return "mac-os-arm64"
else:
return "mac-os"
+ elif platform.system() == "OpenBSD":
+ return "openbsd"
+ return "openbsd-" + platform.machine()
else:
return "gamecore"
def get_jvm_runtimes() -> List[str]:
@@ -104,7 +106,13 @@ def get_executable_path(jvm_version: str, minecraft_di
@@ -109,7 +111,13 @@ def get_executable_path(jvm_version: str, minecraft_di
"""
Returns the path to the executable. Returns None if none is found.
"""