From 7a281867d88178347ccf20b08b28e5e760bd8e58 Mon Sep 17 00:00:00 2001 From: edshot99 Date: Tue, 25 Feb 2025 20:20:43 -0600 Subject: [PATCH] v3.0.1 --- net-libssq/Makefile | 7 +++--- net-libssq/distinfo | 4 ++-- net-libssq/patches/patch-CMakeLists_txt | 29 +++++-------------------- net-libssq/pkg/PLIST | 9 -------- 4 files changed, 11 insertions(+), 38 deletions(-) diff --git a/net-libssq/Makefile b/net-libssq/Makefile index 47f1904..4ff61e9 100644 --- a/net-libssq/Makefile +++ b/net-libssq/Makefile @@ -1,18 +1,17 @@ COMMENT = up-to-date Source Server Query protocol library -V = 3.0.0 -REVISION = 1 +V = 3.0.1 GH_ACCOUNT = BinaryAlien GH_PROJECT = libssq GH_TAGNAME = v${V} -SHARED_LIBS = ssq 0.0 +#SHARED_LIBS = ssq 0.0 CATEGORIES = net HOMEPAGE = https://github.com/BinaryAlien/libssq -MAINTAINER = "Ed " +MAINTAINER = "Ed " # MIT PERMIT_PACKAGE = Yes diff --git a/net-libssq/distinfo b/net-libssq/distinfo index 11a4dc8..c47d3dd 100644 --- a/net-libssq/distinfo +++ b/net-libssq/distinfo @@ -1,2 +1,2 @@ -SHA256 (libssq-3.0.0.tar.gz) = R/1G9YEFh0Jfc1HDMl6rys6pktR4OEtqiDLlw+DbgGs= -SIZE (libssq-3.0.0.tar.gz) = 13085 +SHA256 (libssq-3.0.1.tar.gz) = XwYk1tv8wVGbiS3Y0SqLKPElBBMWhRJlSUnFlBQWp9I= +SIZE (libssq-3.0.1.tar.gz) = 14047 diff --git a/net-libssq/patches/patch-CMakeLists_txt b/net-libssq/patches/patch-CMakeLists_txt index d6b5cc8..af4b852 100644 --- a/net-libssq/patches/patch-CMakeLists_txt +++ b/net-libssq/patches/patch-CMakeLists_txt @@ -1,30 +1,13 @@ Index: CMakeLists.txt ---- CMakeLists.txt.orig 2024-06-20 10:21:12.316845829 -0500 -+++ CMakeLists.txt 2024-06-20 11:39:02.496571773 -0500 -@@ -11,7 +11,7 @@ project(ssq VERSION 3.0.0) +--- CMakeLists.txt.orig Tue Feb 25 19:07:00 2025 ++++ CMakeLists.txt Tue Feb 25 19:18:49 2025 +@@ -20,4 +20,9 @@ target_sources(ssq PUBLIC FILE_SET HEADERS BASE_DIRS i + add_subdirectory(src) + add_subdirectory(include) - include_directories(include) - --add_library(ssq STATIC -+set(SSQ_SOURCES - src/a2s/info.c - src/a2s/player.c - src/a2s/rules.c -@@ -22,3 +22,17 @@ add_library(ssq STATIC - src/server.c - src/stream.c - ) -+ -+add_library(ssq STATIC "${SSQ_SOURCES}") -+add_library(ssq-shared SHARED "${SSQ_SOURCES}") -+set_target_properties(ssq-shared PROPERTIES OUTPUT_NAME ssq) -+ +add_executable(ssq-demo example/example.c) +target_link_libraries(ssq-demo ssq) +set_target_properties(ssq-demo PROPERTIES OUTPUT_NAME ssq) + -+install(TARGETS ssq ARCHIVE) -+install(TARGETS ssq-shared LIBRARY) + install(TARGETS ssq LIBRARY FILE_SET HEADERS) +install(TARGETS ssq-demo RUNTIME) -+install(DIRECTORY include/ssq TYPE INCLUDE) -+ diff --git a/net-libssq/pkg/PLIST b/net-libssq/pkg/PLIST index def0ad3..64db0db 100644 --- a/net-libssq/pkg/PLIST +++ b/net-libssq/pkg/PLIST @@ -1,6 +1,5 @@ @bin bin/ssq @static-lib lib/libssq.a -@lib lib/libssq.so.${LIBssq_VERSION} include/ssq/ include/ssq/a2s.h include/ssq/a2s/ @@ -8,12 +7,4 @@ include/ssq/a2s/info.h include/ssq/a2s/player.h include/ssq/a2s/rules.h include/ssq/error.h -include/ssq/helper.h -include/ssq/packet.h -include/ssq/query.h -include/ssq/response.h include/ssq/server.h -include/ssq/server/ -include/ssq/server/private.h -include/ssq/server/timeout.h -include/ssq/stream.h