diff options
author | wiz <wiz@pkgsrc.org> | 2016-01-13 20:14:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-01-13 20:14:05 +0000 |
commit | 5f20b8c9257e6130a9761eb8b1d00d5d23298bc2 (patch) | |
tree | 89686dcad73f2d3365aa78418e3eb1e6a2e5485a /devel | |
parent | fb6a78f24f285fc32a0a6146d8d99d8983562abb (diff) | |
download | pkgsrc-5f20b8c9257e6130a9761eb8b1d00d5d23298bc2.tar.gz |
Import SDL2_ttf-2.0.13 as devel/SDL2_ttf.
This is a sample library which allows you to use TrueType fonts in your SDL
applications. It comes with an example program "showfont" which displays an
example string for a given TrueType font file.
This package contains the SDL2 version of the library.
Changes compared to SDL_ttf:
2.0.13:
Sylvain - Sat Jun 28 11:42:42 2014
* Fixed bug rendering text starting with a glyph with negative starting offset
beuc - Sun Jun 15 18:27:28 2014
* Fixed regression loading non-scalable fonts
Sam Lantinga - Sun Jun 15 18:21:04 PDT 2014
* TTF_GetFontKerningSize() gets kerning between two characters, not two glyph indices
David Ludwig - Sun Apr 13 22:28:26 2014
* Added support for building for Windows RT and Windows Phone
2.0.12:
Sam Lantinga - Sat Jun 1 19:11:26 PDT 2013
* Updated for SDL 2.0 release
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SDL2_ttf/DESCR | 5 | ||||
-rw-r--r-- | devel/SDL2_ttf/Makefile | 20 | ||||
-rw-r--r-- | devel/SDL2_ttf/PLIST | 4 | ||||
-rw-r--r-- | devel/SDL2_ttf/buildlink3.mk | 17 | ||||
-rw-r--r-- | devel/SDL2_ttf/distinfo | 6 |
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/SDL2_ttf/DESCR b/devel/SDL2_ttf/DESCR new file mode 100644 index 00000000000..36ea2b919a5 --- /dev/null +++ b/devel/SDL2_ttf/DESCR @@ -0,0 +1,5 @@ +This is a sample library which allows you to use TrueType fonts in your SDL +applications. It comes with an example program "showfont" which displays an +example string for a given TrueType font file. + +This package contains the SDL2 version of the library. diff --git a/devel/SDL2_ttf/Makefile b/devel/SDL2_ttf/Makefile new file mode 100644 index 00000000000..a07298ba0ea --- /dev/null +++ b/devel/SDL2_ttf/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2016/01/13 20:14:05 wiz Exp $ + +DISTNAME= SDL2_ttf-2.0.13 +CATEGORIES= devel +MASTER_SITES= https://www.libsdl.org/projects/SDL_ttf/release/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.libsdl.org/projects/SDL_ttf/ +COMMENT= Use TrueType fonts in your SDL2 applications +LICENSE= zlib + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +PKGCONFIG_OVERRIDE+= SDL2_ttf.pc.in + +.include "../../devel/SDL2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/SDL2_ttf/PLIST b/devel/SDL2_ttf/PLIST new file mode 100644 index 00000000000..fe35e29dadc --- /dev/null +++ b/devel/SDL2_ttf/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2016/01/13 20:14:05 wiz Exp $ +include/SDL2/SDL_ttf.h +lib/libSDL2_ttf.la +lib/pkgconfig/SDL2_ttf.pc diff --git a/devel/SDL2_ttf/buildlink3.mk b/devel/SDL2_ttf/buildlink3.mk new file mode 100644 index 00000000000..1bc1ab44b48 --- /dev/null +++ b/devel/SDL2_ttf/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/01/13 20:14:05 wiz Exp $ + +BUILDLINK_TREE+= SDL2_ttf + +.if !defined(SDL2_TTF_BUILDLINK3_MK) +SDL2_TTF_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.SDL2_ttf+= SDL2_ttf>=2.0.3nb3 +BUILDLINK_ABI_DEPENDS.SDL2_ttf+= SDL2_ttf>=2.0.11nb4 +BUILDLINK_PKGSRCDIR.SDL2_ttf?= ../../devel/SDL2_ttf + +.include "../../devel/SDL2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../graphics/freetype2/buildlink3.mk" +.endif # SDL2_TTF_BUILDLINK3_MK + +BUILDLINK_TREE+= -SDL2_ttf diff --git a/devel/SDL2_ttf/distinfo b/devel/SDL2_ttf/distinfo new file mode 100644 index 00000000000..4de50e15681 --- /dev/null +++ b/devel/SDL2_ttf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/01/13 20:14:05 wiz Exp $ + +SHA1 (SDL2_ttf-2.0.13.tar.gz) = b20dfc67cbd52779abb298ffdc63e500e92f0413 +RMD160 (SDL2_ttf-2.0.13.tar.gz) = 13f7490ec369fa75baee9d0d5e2da2959abf1355 +SHA512 (SDL2_ttf-2.0.13.tar.gz) = 24f7d77c7d46be3c8236d6edde42f40c97c778e2fdb5d7923f1ec473ce19039c382843afe6de79f04c014d3f854cdf912cdfe1e0cf803a2fd246fd4c65360c6b +Size (SDL2_ttf-2.0.13.tar.gz) = 4152978 bytes |