From nobody Tue Jul 19 21:34:03 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 4LnXCJ17WFz4X677; Tue, 19 Jul 2022 21:34:04 +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 4LnXCJ0hTLz3GQP; Tue, 19 Jul 2022 21:34:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658266444; 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=8a7+n3a1zJrHRgZ8MfP99PXlqaSCM/EtAeQYBUcaxCw=; b=LwVg44AiHGQxrBlmZUO3Dfx34Gycysu5eatedUDOdwwVdWfUgD3WmoMZMGiY4PNco63k3q oTVArM/lhUKFWzZpBm7zKd4TZQwmEgLvLEGgGV8GcFQvX04llR500LfcljNRimM4uy1wBs ya0Sq612dMxwJW/J2p4jJaPYxdxhRCUep4sVp6uDg23xMtDApo9y5W/6EUB/ESdiiavZzk H1HkcgCdmJpf0q3RvEtmMZvLxLnZIBtRXWIzu9ZqiVg5HKdnwEgBcyG96VOOKanp2oEY85 /ck3JSax/yYVq9XefG/iRFxfwsQCQIb9UuArQlHrZd2gK27RF146OozX3CKpnw== 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 4LnXCH6sYwzYVl; Tue, 19 Jul 2022 21:34:03 +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 26JLY3qN061726; Tue, 19 Jul 2022 21:34:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26JLY3Em061725; Tue, 19 Jul 2022 21:34:03 GMT (envelope-from git) Date: Tue, 19 Jul 2022 21:34:03 GMT Message-Id: <202207192134.26JLY3Em061725@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: a0f35b3aa523 - main - =?utf-8?Q?graphics/sdl2_ttf:=20update=202.0.18=20=E2=86=92=202.20.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: a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658266444; 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=8a7+n3a1zJrHRgZ8MfP99PXlqaSCM/EtAeQYBUcaxCw=; b=RRecY0SHk1CKfBaKY36gY1NoKMI3yuNkzqIPzyMu33dL8kNMYjOvsIzfPsiJyRTCQ5IGOY 232Z70djvVwgrTnHglCmqTWxW1YbSp0v5jawKswWisz336Mu4eqhYMSX7Qk6CCAS1fRxeq +ohzViqpTkXY50+JQZKI38GlxDVCN0mHvTnegiqYJyQi4ZsSyTND4JyAhC9m1TxtU6KPdr cMNCIqnvd6S3nrfUrbb3Hqaa29DCokDFSIe59tF2Wrl5Xf3lz6+PoDW2wgkUG2JRsBpNTO o6hvPAV0NAaBTJHV094yaF5MgLCYgteqdKxza5BTJokK7NRVnG3YLvk9H1gzTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658266444; a=rsa-sha256; cv=none; b=l5TXY5uKmdxOffLx0zEojQYTfg95wwYeiD9BZkUNedBrtqXvWXDLsBx00yWdESEYdHQ+as vCO7yS+p8YZkwLnravb9GKcmuCwmkAlIzdmvdEVtOm6Tb3ZREjIKsN/dQZkhnttlbnGG7M pfgHleUkxslzmcWPnl1nbfBIWh+pHApTdlOlNHpiQ6DNr+JnuOfSZJUD5hZS35VWrCA+7L 5pFpVJlqybpnjs6lxH26cshGVXLZ7qAd4GlKFyAZc8sMi8jXZsqlQgayBDYs5g5Rc4zv6Z WYgwRZntJwURW+KilQ0AA2d63+NDdzOvyKWjloZluLEJVIG2Ce/QiggAbqZWSw== 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=a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0 commit a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0 Author: Dmitry Marakasov AuthorDate: 2022-07-19 20:22:24 +0000 Commit: Dmitry Marakasov CommitDate: 2022-07-19 21:32:21 +0000 graphics/sdl2_ttf: update 2.0.18 → 2.20.0 --- graphics/sdl2_ttf/Makefile | 37 +++++++++++++++---------------------- graphics/sdl2_ttf/distinfo | 6 +++--- graphics/sdl2_ttf/pkg-plist | 10 ++++++---- 3 files changed, 24 insertions(+), 29 deletions(-) diff --git a/graphics/sdl2_ttf/Makefile b/graphics/sdl2_ttf/Makefile index 304eeb1c668d..41bc36c1701a 100644 --- a/graphics/sdl2_ttf/Makefile +++ b/graphics/sdl2_ttf/Makefile @@ -1,43 +1,36 @@ PORTNAME= sdl2_ttf -PORTVERSION= 2.0.18 +DISTVERSIONPREFIX= release- +DISTVERSION= 2.20.0 CATEGORIES= graphics -MASTER_SITES= https://www.libsdl.org/projects/SDL_ttf/release/ -DISTNAME= SDL2_ttf-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Library to use TrueType fonts to render text in SDL applications LICENSE= ZLIB -LICENSE_FILE= ${WRKSRC}/COPYING.txt +LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libfreetype.so:print/freetype2 -USES= gmake libtool localbase pathfix pkgconfig sdl +USES= cmake sdl +USE_GITHUB= yes +GH_ACCOUNT= libsdl-org +GH_PROJECT= SDL_ttf USE_SDL= sdl2 -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip +CMAKE_OFF= SDL2TTF_SAMPLES USE_LDCONFIG= yes -CONFIGURE_ARGS= --disable-harfbuzz-builtin --disable-freetype-builtin -OPTIONS_DEFINE= HARFBUZZ OPENGL +PORTDOCS= * + +OPTIONS_DEFINE= HARFBUZZ DOCS OPTIONS_DEFAULT=HARFBUZZ OPTIONS_SUB= yes HARFBUZZ_DESC= Enable HarfBuzz support HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz -HARFBUZZ_CONFIGURE_ENABLE= harfbuzz - -OPENGL_DESC= Build sdl2-glfont demo program -OPENGL_USES= gl -OPENGL_USE= GL=gl - -post-patch-OPENGL-off: - @${REINPLACE_CMD} -e '/have_opengl=yes/d' ${WRKSRC}/configure - -post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${STAGEDIR}${PREFIX}/bin/sdl2-showfont +HARFBUZZ_CMAKE_BOOL= SDL2TTF_HARFBUZZ -post-install-OPENGL-on: - ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin/sdl2-glfont +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ .include diff --git a/graphics/sdl2_ttf/distinfo b/graphics/sdl2_ttf/distinfo index d140824017ff..49a0d332ff50 100644 --- a/graphics/sdl2_ttf/distinfo +++ b/graphics/sdl2_ttf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1641985674 -SHA256 (SDL2_ttf-2.0.18.tar.gz) = 7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251 -SIZE (SDL2_ttf-2.0.18.tar.gz) = 14896353 +TIMESTAMP = 1658256602 +SHA256 (libsdl-org-SDL_ttf-release-2.20.0_GH0.tar.gz) = 3b3ec3e00dcfd188f572b50daa74b1cb8f40120ab094ce3d9e289705fd178183 +SIZE (libsdl-org-SDL_ttf-release-2.20.0_GH0.tar.gz) = 8809737 diff --git a/graphics/sdl2_ttf/pkg-plist b/graphics/sdl2_ttf/pkg-plist index 63e1aa3b0285..d5e4cf3779f4 100644 --- a/graphics/sdl2_ttf/pkg-plist +++ b/graphics/sdl2_ttf/pkg-plist @@ -1,8 +1,10 @@ -%%OPENGL%%bin/sdl2-glfont -bin/sdl2-showfont include/SDL2/SDL_ttf.h +lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/SDL2_ttf/SDL2_ttf-shared-targets.cmake +lib/cmake/SDL2_ttf/SDL2_ttfConfig.cmake +lib/cmake/SDL2_ttf/SDL2_ttfConfigVersion.cmake +lib/libSDL2_ttf-2.0.so lib/libSDL2_ttf-2.0.so.0 -lib/libSDL2_ttf-2.0.so.0.18.0 -lib/libSDL2_ttf.a +lib/libSDL2_ttf-2.0.so.0.2000.0 lib/libSDL2_ttf.so libdata/pkgconfig/SDL2_ttf.pc