diff --git a/graphics/sdl2_ttf/Makefile b/graphics/sdl2_ttf/Makefile index 4445c5e3501a..304eeb1c668d 100644 --- a/graphics/sdl2_ttf/Makefile +++ b/graphics/sdl2_ttf/Makefile @@ -1,37 +1,43 @@ PORTNAME= sdl2_ttf -PORTVERSION= 2.0.15 +PORTVERSION= 2.0.18 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 LIB_DEPENDS= libfreetype.so:print/freetype2 USES= gmake libtool localbase pathfix pkgconfig sdl USE_SDL= sdl2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes +CONFIGURE_ARGS= --disable-harfbuzz-builtin --disable-freetype-builtin -OPTIONS_DEFINE= OPENGL +OPTIONS_DEFINE= HARFBUZZ OPENGL +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 post-install-OPENGL-on: ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin/sdl2-glfont .include diff --git a/graphics/sdl2_ttf/distinfo b/graphics/sdl2_ttf/distinfo index 1a1da9e55767..d140824017ff 100644 --- a/graphics/sdl2_ttf/distinfo +++ b/graphics/sdl2_ttf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1551469142 -SHA256 (SDL2_ttf-2.0.15.tar.gz) = a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33 -SIZE (SDL2_ttf-2.0.15.tar.gz) = 4479718 +TIMESTAMP = 1641985674 +SHA256 (SDL2_ttf-2.0.18.tar.gz) = 7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251 +SIZE (SDL2_ttf-2.0.18.tar.gz) = 14896353 diff --git a/graphics/sdl2_ttf/pkg-descr b/graphics/sdl2_ttf/pkg-descr index eda3458f54fc..51e470abd11e 100644 --- a/graphics/sdl2_ttf/pkg-descr +++ b/graphics/sdl2_ttf/pkg-descr @@ -1,8 +1,8 @@ SDL_ttf is a TrueType font rendering library that is used with the SDL library, and almost as portable. It depends on freetype2 to handle the TrueType font data. It allows a programmer to use multiple TrueType fonts without having to code a font rendering routine themselves. With the power of outline fonts and antialiasing, high quality text output can be obtained without much effort. -WWW: https://www.libsdl.org/projects/SDL_ttf/ +WWW: https://github.com/libsdl-org/SDL_ttf diff --git a/graphics/sdl2_ttf/pkg-plist b/graphics/sdl2_ttf/pkg-plist index c1bd8bfa5563..63e1aa3b0285 100644 --- a/graphics/sdl2_ttf/pkg-plist +++ b/graphics/sdl2_ttf/pkg-plist @@ -1,8 +1,8 @@ %%OPENGL%%bin/sdl2-glfont bin/sdl2-showfont include/SDL2/SDL_ttf.h lib/libSDL2_ttf-2.0.so.0 -lib/libSDL2_ttf-2.0.so.0.14.1 +lib/libSDL2_ttf-2.0.so.0.18.0 lib/libSDL2_ttf.a lib/libSDL2_ttf.so libdata/pkgconfig/SDL2_ttf.pc