v3.0.1
This commit is contained in:
parent
1aad5778d8
commit
7a281867d8
@ -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 <ed@i2pmail.org>"
|
||||
MAINTAINER = "Ed <ed@groovyexpress.com>"
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
+
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user