update to more recent commit that stops building Steamworks.NET.dll and steam.hdll (hlsteam) by default. These are no longer needed and this will save cycles on build machines

This commit is contained in:
thfr 2023-01-04 03:37:18 +00:00
parent b15e18ff24
commit 927cc8f8c8
5 changed files with 7 additions and 79 deletions

View File

@ -1,9 +1,12 @@
COMMENT = Steamworks stub libraries
V = 0.4.1
V = 0.4.1pl0
DISTNAME = Steamworks-nosteam-v${V}
PKGNAME = steamworks-nosteam-${V}
REVISION = 1
GH_ACCOUNT = rfht
GH_PROJECT = Steamworks-nosteam
# checkout from 2023-01-03
GH_COMMIT = bcaa5eb0ff8d2e5c6c5841ad86dacfdbf2496fa2
SHARED_LIBS += cestub 0.0 # 0.4.1
@ -11,20 +14,14 @@ CATEGORIES = games
HOMEPAGE = https://github.com/rfht/Steamworks-nosteam
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
WANTLIB += ${COMPILER_LIBCXX} hl m
FIX_EXTRACT_PERMISSIONS = Yes
# MIT (Steamworks.NET), zlib (libSteamworksNative)
PERMIT_PACKAGE = Yes
MASTER_SITES = https://github.com/rfht/Steamworks-nosteam/releases/download/v${V}/
# C++
COMPILER = base-clang ports-gcc
MODULES = lang/mono
LIB_DEPENDS = lang/hashlink
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (Steamworks-nosteam-v0.4.1.tar.gz) = ryYzrEFPXBDeHXSwXINmluNl6Yb5u2gH7vxcyqcjIq4=
SIZE (Steamworks-nosteam-v0.4.1.tar.gz) = 274745
SHA256 (Steamworks-nosteam-v0.4.1pl0-bcaa5eb0.tar.gz) = eiYIQ9VjD89PwUdQizo0BjlAl/YNyKBywwQJjFKH8ls=
SIZE (Steamworks-nosteam-v0.4.1pl0-bcaa5eb0.tar.gz) = 277696

View File

@ -1,22 +0,0 @@
remove build of Steamworks.NET.dll
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -1,6 +1,6 @@
PREFIX ?= /usr/local
-all: Steamworks.NET/bin/Steamworks.NET.dll native wrapper cestub hlsteam
+all: native wrapper cestub hlsteam
Steamworks.NET/bin/Steamworks.NET.dll: Steamworks.NET/*.cs \
Steamworks.NET/*.csproj \
@@ -29,8 +29,6 @@ Steamworks.NET/bin/Steamworks.NET.dll: Steamworks.NET/
install: all
install -d $(PREFIX)/lib/steamworks-nosteam/
- install Steamworks.NET/bin/Steamworks.NET.dll \
- $(PREFIX)/lib/steamworks-nosteam/
install native/libSteamworksNative.so.* \
$(PREFIX)/lib/steamworks-nosteam/
install wrapper/libsteamwrapper.so.* \

View File

@ -1,46 +0,0 @@
add stubs to steam.hdll
Index: hlsteam/native/common.cpp
--- hlsteam/native/common.cpp.orig
+++ hlsteam/native/common.cpp
@@ -141,6 +141,31 @@ HL_PRIM bool HL_NAME(is_steam_running)(){
return false;
}
+HL_PRIM bool HL_NAME(delete_item)(){
+ printf("%s\n", __func__);
+ return false;
+}
+
+HL_PRIM bool HL_NAME(get_app_dependencies)(){
+ printf("%s\n", __func__);
+ return false;
+}
+
+HL_PRIM bool HL_NAME(is_subscribed_from_family_sharing)(){
+ printf("%s\n", __func__);
+ return false;
+}
+
+HL_PRIM bool HL_NAME(remove_app_dependency)(){
+ printf("%s\n", __func__);
+ return false;
+}
+
+HL_PRIM void HL_NAME(add_app_dependency)(){
+ printf("%s\n", __func__);
+ return;
+}
+
HL_PRIM vbyte *HL_NAME(get_current_game_language)(){
printf("%s\n", __func__);
if (!CheckInit()) return NULL;
@@ -191,3 +216,8 @@ DEFINE_PRIM(_BYTES, get_current_game_language, _NO_ARG
DEFINE_PRIM(_BYTES, get_auth_ticket, _REF(_I32) _REF(_I32));
DEFINE_PRIM(_VOID, cancel_call_result, _CRESULT);
DEFINE_PRIM(_BYTES, get_current_beta_name, _NO_ARG);
+DEFINE_PRIM(_BOOL, delete_item, _NO_ARG);
+DEFINE_PRIM(_BOOL, get_app_dependencies, _NO_ARG);
+DEFINE_PRIM(_BOOL, is_subscribed_from_family_sharing, _NO_ARG);
+DEFINE_PRIM(_BOOL, remove_app_dependency, _NO_ARG);
+DEFINE_PRIM(_VOID, add_app_dependency, _NO_ARG);

View File

@ -2,4 +2,3 @@ lib/steamworks-nosteam/
lib/steamworks-nosteam/libSteamworksNative.so.0.0
@lib lib/steamworks-nosteam/libcestub.so.${LIBcestub_VERSION}
lib/steamworks-nosteam/libsteamwrapper.so.0.0
@bin lib/steamworks-nosteam/steam.hdll