Compare commits

...

2 Commits

Author SHA1 Message Date
7a281867d8 v3.0.1 2025-02-25 20:20:43 -06:00
1aad5778d8 update email 2025-02-25 18:51:10 -06:00
5 changed files with 12 additions and 39 deletions

View File

@ -11,7 +11,7 @@ CATEGORIES = net
HOMEPAGE = https://github.com/machinezone/IXWebSocket HOMEPAGE = https://github.com/machinezone/IXWebSocket
MAINTAINER = "Ed <ed@i2pmail.org>" MAINTAINER = "Ed <ed@groovyexpress.com>"
# BSD3 # BSD3
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes

View File

@ -1,18 +1,17 @@
COMMENT = up-to-date Source Server Query protocol library COMMENT = up-to-date Source Server Query protocol library
V = 3.0.0 V = 3.0.1
REVISION = 1
GH_ACCOUNT = BinaryAlien GH_ACCOUNT = BinaryAlien
GH_PROJECT = libssq GH_PROJECT = libssq
GH_TAGNAME = v${V} GH_TAGNAME = v${V}
SHARED_LIBS = ssq 0.0 #SHARED_LIBS = ssq 0.0
CATEGORIES = net CATEGORIES = net
HOMEPAGE = https://github.com/BinaryAlien/libssq HOMEPAGE = https://github.com/BinaryAlien/libssq
MAINTAINER = "Ed <ed@i2pmail.org>" MAINTAINER = "Ed <ed@groovyexpress.com>"
# MIT # MIT
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes

View File

@ -1,2 +1,2 @@
SHA256 (libssq-3.0.0.tar.gz) = R/1G9YEFh0Jfc1HDMl6rys6pktR4OEtqiDLlw+DbgGs= SHA256 (libssq-3.0.1.tar.gz) = XwYk1tv8wVGbiS3Y0SqLKPElBBMWhRJlSUnFlBQWp9I=
SIZE (libssq-3.0.0.tar.gz) = 13085 SIZE (libssq-3.0.1.tar.gz) = 14047

View File

@ -1,30 +1,13 @@
Index: CMakeLists.txt Index: CMakeLists.txt
--- CMakeLists.txt.orig 2024-06-20 10:21:12.316845829 -0500 --- CMakeLists.txt.orig Tue Feb 25 19:07:00 2025
+++ CMakeLists.txt 2024-06-20 11:39:02.496571773 -0500 +++ CMakeLists.txt Tue Feb 25 19:18:49 2025
@@ -11,7 +11,7 @@ project(ssq VERSION 3.0.0) @@ -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) +add_executable(ssq-demo example/example.c)
+target_link_libraries(ssq-demo ssq) +target_link_libraries(ssq-demo ssq)
+set_target_properties(ssq-demo PROPERTIES OUTPUT_NAME ssq) +set_target_properties(ssq-demo PROPERTIES OUTPUT_NAME ssq)
+ +
+install(TARGETS ssq ARCHIVE) install(TARGETS ssq LIBRARY FILE_SET HEADERS)
+install(TARGETS ssq-shared LIBRARY)
+install(TARGETS ssq-demo RUNTIME) +install(TARGETS ssq-demo RUNTIME)
+install(DIRECTORY include/ssq TYPE INCLUDE)
+

View File

@ -1,6 +1,5 @@
@bin bin/ssq @bin bin/ssq
@static-lib lib/libssq.a @static-lib lib/libssq.a
@lib lib/libssq.so.${LIBssq_VERSION}
include/ssq/ include/ssq/
include/ssq/a2s.h include/ssq/a2s.h
include/ssq/a2s/ include/ssq/a2s/
@ -8,12 +7,4 @@ include/ssq/a2s/info.h
include/ssq/a2s/player.h include/ssq/a2s/player.h
include/ssq/a2s/rules.h include/ssq/a2s/rules.h
include/ssq/error.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.h
include/ssq/server/
include/ssq/server/private.h
include/ssq/server/timeout.h
include/ssq/stream.h