From nobody Wed Aug 31 10:16:20 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MHg7T1Vnfz4ZvNB; Wed, 31 Aug 2022 10:16:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MHg7T0Sldz460S; Wed, 31 Aug 2022 10:16:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661940981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3/itpHc4il5Jt9tDU4DWib0bjPe4vczcPHbI8n2V2qk=; b=pn48gH5UvdN6kbJx0zHeyI2jb2+L5aoeJVmrFaXccFXEKYAyft9cxtgLHtjNYbPfrnse0h qiGEecuNzaJ0mn+QYDkYcKJYjWDM/3zQJzTCvrhSg8UOB0atVDHWYsvekkU6zQzTkoH+9r fw1W1mIPiPPWZeq7dKylqgmqbGJLlgUgHgIfX4Ey18hgXv+kLYeot+JKHyOxKSnviFETMr 6U3NQ7+qa0aYlgty5FSVjH9vtNzkjoRZMgcYLzoHWAiA/Ovd7vwROBHjPEEN/q7NUA6xDy FmoP7SAXVl3UVtUTP78/rwOyt5pPiCT+cJiYe5GWSoRKPauJcdr8a6922cPZ2Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MHg7S6hJBz15PT; Wed, 31 Aug 2022 10:16:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27VAGK8w080066; Wed, 31 Aug 2022 10:16:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VAGK9I080065; Wed, 31 Aug 2022 10:16:20 GMT (envelope-from git) Date: Wed, 31 Aug 2022 10:16:20 GMT Message-Id: <202208311016.27VAGK9I080065@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: e06560dd18c1 - main - =?utf-8?Q?net/sdl2_net:=20update=202.0.1=20=E2=86=92=202.2.0?= List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e06560dd18c102e5c732342c9f1da4d727cec655 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661940981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3/itpHc4il5Jt9tDU4DWib0bjPe4vczcPHbI8n2V2qk=; b=T6LQmLsQqLeOuEfnjm/v5ozjvkKRnOXWUSFhqU/cmjJ80A9xOx6eiyYqerCgobXN73yEYs pTO4fw1KQgRr+7n4UgxLXCPEnsCPd1OUBwfdqCdk3eVYkGf0U+I0Q0BNlWVwZUbaTUWvO6 hvL3Qx6514m1fbLehiiMPWXss/DO96MRgc9ebvJaLbSJDFCRFSbfpbAXw2pyDIeLTBnvb/ s6pDoI76TP2MNZU8pXMv88ojGKjvZ5meWxn9t2LZ2yRDaw4u2znt+ldx5u4PoM9Pd/osQi 0vQyuNJRlEsXRWcYuded1+5YbuYRuGAj0FxLEZ7bO6bX6U+WY+Z+uKcJNB5smg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661940981; a=rsa-sha256; cv=none; b=GudS/FvuDiIvv91QLDU8P4Fx/iw5JOyGN43mOtjtYDP9ZzsImx88pdEUFlX1N/cc2kyeSo 67sELLrfnXj1+xPyPIMpyIg3M7MeqLosGkY0WZ8J5crwssRSjp/Q3iWCIdNJyuaYO2aS+k WUIw2ZpzHNWp2BwJ9s3FsCAvDaQo8EkggQ1dQhE9GwMkMGLuLhWtljF/wTe2rx+xyyXiqt 5iUOH8c0ulWR8aTxXUOAbVjt2HV7s4McGo4UlXTEvz/MnQx88m+1/qDwF85fua2UE8yp0D EFPhZgruAnJpCFnuUt3czoOz2rM4E/BP1HndtTr74aJi05YspUVbUrrUKGiVZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=e06560dd18c102e5c732342c9f1da4d727cec655 commit e06560dd18c102e5c732342c9f1da4d727cec655 Author: Dmitry Marakasov AuthorDate: 2022-08-30 17:03:58 +0000 Commit: Dmitry Marakasov CommitDate: 2022-08-31 10:15:29 +0000 net/sdl2_net: update 2.0.1 → 2.2.0 --- net/sdl2_net/Makefile | 18 +++++++++--------- net/sdl2_net/distinfo | 5 +++-- net/sdl2_net/files/patch-CMakeLists.txt | 11 +++++++++++ net/sdl2_net/pkg-descr | 6 ++---- net/sdl2_net/pkg-plist | 8 ++++++-- 5 files changed, 31 insertions(+), 17 deletions(-) diff --git a/net/sdl2_net/Makefile b/net/sdl2_net/Makefile index 8a5457e290e7..81b3ea8008c1 100644 --- a/net/sdl2_net/Makefile +++ b/net/sdl2_net/Makefile @@ -1,21 +1,21 @@ PORTNAME= sdl2_net -PORTVERSION= 2.0.1 +DISTVERSIONPREFIX= release- +DISTVERSION= 2.2.0 CATEGORIES= net -MASTER_SITES= https://www.libsdl.org/projects/SDL_net/release/ -DISTNAME= SDL2_net-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Small sample cross-platform networking library LICENSE= ZLIB -LICENSE_FILE= ${WRKSRC}/COPYING.txt +LICENSE_FILE= ${WRKSRC}/LICENSE.txt +USES= cmake sdl +USE_GITHUB= yes +GH_ACCOUNT= libsdl-org +GH_PROJECT= SDL_net USE_SDL= sdl2 -USES= gmake libtool pathfix pkgconfig:build sdl -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip USE_LDCONFIG= yes - -CONFIGURE_ARGS= --disable-gui +CMAKE_OFF= SDL2NET_SAMPLES +CMAKE_ARGS= -DSDL2NET_DEBUG_POSTFIX:STRING= .include diff --git a/net/sdl2_net/distinfo b/net/sdl2_net/distinfo index 906f07b47fba..9084ef589a15 100644 --- a/net/sdl2_net/distinfo +++ b/net/sdl2_net/distinfo @@ -1,2 +1,3 @@ -SHA256 (SDL2_net-2.0.1.tar.gz) = 15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21 -SIZE (SDL2_net-2.0.1.tar.gz) = 347436 +TIMESTAMP = 1661877280 +SHA256 (libsdl-org-SDL_net-release-2.2.0_GH0.tar.gz) = 08d741282c0c22b82ed134f09cd319803132289cae06fb47b5ada2752faf0493 +SIZE (libsdl-org-SDL_net-release-2.2.0_GH0.tar.gz) = 8698437 diff --git a/net/sdl2_net/files/patch-CMakeLists.txt b/net/sdl2_net/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..d0a6c7001225 --- /dev/null +++ b/net/sdl2_net/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2022-08-19 16:58:25 UTC ++++ CMakeLists.txt +@@ -227,7 +227,7 @@ if(SDL2NET_INSTALL) + endif() + # Only install a SDL2_net.pc file in Release mode + install(CODE " +- if(CMAKE_INSTALL_CONFIG_NAME MATCHES \"Release\") ++ if(1) + # FIXME: use file(COPY_FILE) if minimum CMake version >= 3.21 + execute_process(COMMAND \"\${CMAKE_COMMAND}\" -E copy_if_different + \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_net-$.pc\" diff --git a/net/sdl2_net/pkg-descr b/net/sdl2_net/pkg-descr index 15996f1c2d45..3d985968589b 100644 --- a/net/sdl2_net/pkg-descr +++ b/net/sdl2_net/pkg-descr @@ -1,5 +1,3 @@ -This is a small sample cross-platform networking library, with a sample chat -client and server application. The chat client uses the GUIlib GUI framework -library. +This is an example portable network library for use with SDL. -WWW: https://www.libsdl.org/projects/SDL_net/ +WWW: https://github.com/libsdl-org/SDL_net diff --git a/net/sdl2_net/pkg-plist b/net/sdl2_net/pkg-plist index 924a27e5aa14..c8d7b3b10a6a 100644 --- a/net/sdl2_net/pkg-plist +++ b/net/sdl2_net/pkg-plist @@ -1,6 +1,10 @@ include/SDL2/SDL_net.h +lib/cmake/SDL2_net/SDL2_net-shared-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/SDL2_net/SDL2_net-shared-targets.cmake +lib/cmake/SDL2_net/SDL2_netConfig.cmake +lib/cmake/SDL2_net/SDL2_netConfigVersion.cmake +lib/libSDL2_net-2.0.so lib/libSDL2_net-2.0.so.0 -lib/libSDL2_net-2.0.so.0.0.1 -lib/libSDL2_net.a +lib/libSDL2_net-2.0.so.0.200.0 lib/libSDL2_net.so libdata/pkgconfig/SDL2_net.pc