aboutsummaryrefslogtreecommitdiff
path: root/graphics/sdl2_ttf
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2022-01-12 12:49:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2022-01-12 14:16:50 +0000
commit68d149ef6d4c8b0f80071c1a9632f5d8fb8384ec (patch)
treeef57c78da1e2e873f135a7448eca1ef83c6d4c5d /graphics/sdl2_ttf
parent038bcb21cbd11930ab3317a137ec012c3ff3f6f4 (diff)
downloadports-68d149ef6d4c8b0f80071c1a9632f5d8fb8384ec.tar.gz
ports-68d149ef6d4c8b0f80071c1a9632f5d8fb8384ec.zip
graphics/sdl2_ttf: update to 2.0.18
Diffstat (limited to 'graphics/sdl2_ttf')
-rw-r--r--graphics/sdl2_ttf/Makefile10
-rw-r--r--graphics/sdl2_ttf/distinfo6
-rw-r--r--graphics/sdl2_ttf/pkg-descr2
-rw-r--r--graphics/sdl2_ttf/pkg-plist2
4 files changed, 13 insertions, 7 deletions
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,5 +1,5 @@
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}
@@ -17,10 +17,16 @@ 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
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
@@ -5,4 +5,4 @@ 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
@@ -2,7 +2,7 @@
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