git: a0f35b3aa523 - main - graphics/sdl2_ttf: update 2.0.18 → 2.20.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Jul 2022 21:34:03 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0 commit a0f35b3aa52335d0661df3f0dd2a284e60ad0ae0 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-07-19 20:22:24 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> 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 <bsd.port.mk> 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