1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= SDL1 TrueType font rendering library
9 HOMEPAGE= https://github.com/libsdl-org/SDL_ttf
13 SITES[main]= https://leaf.dragonflybsd.org/~marino/orphaned-distfiles/
14 DISTFILE[1]= SDL_ttf-2.0.11.tar.gz:main
16 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= libglvnd:dev:standard
24 BUILDRUN_DEPENDS= libglvnd:primary:standard
26 USES= cpe gmake iconv libtool pkgconfig zlib:build
27 freetype fbsd10fix mbsdfix
31 DISTNAME= SDL_ttf-2.0.11
35 FPC_EQUIVALENT= graphics/sdl_ttf
39 INSTALL_TARGET= install-strip
41 LDFLAGS= {{ICONV_LIB}}
44 ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin
45 ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \
46 ${STAGEDIR}${PREFIX}/bin/sdl-showfont
48 [FILE:537:descriptions/desc.primary]
49 This library is a wrapper around the excellent FreeType library.
51 This library allows you to use TrueType fonts to render text in SDL
54 Be careful when including fonts with your application, as many of them are
55 copyrighted. The Microsoft fonts, for example, are not freely
56 redistributable and even the free "web" fonts they provide are only
57 redistributable in their special executable installer form (May 1998).
58 There are plenty of freeware and shareware fonts available on the Internet
59 though, and may suit your purposes.
63 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7 4053686 SDL_ttf-2.0.11.tar.gz
66 [FILE:79:manifests/plist.primary]
72 libSDL_ttf-2.0.so.0.10.1
75 [FILE:81:manifests/plist.dev]
80 lib/pkgconfig/SDL_ttf.pc
83 [FILE:618:patches/patch-bug1433]
84 Description: Fix bug report "TTF_RenderGlyph_Shaded is broken"
85 Introduced in 2.0.11-2 (Sat, 03 Mar 2012).
87 Last-Update: 2012-03-03
88 Bug-Debian: http://bugs.debian.org/661987
89 Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433
94 /* Copy the character from the pixmap */
95 src = glyph->pixmap.buffer;
96 dst = (Uint8*) textbuf->pixels;
97 - for ( row = 0; row < glyph->bitmap.rows; ++row ) {
98 + for ( row = 0; row < glyph->pixmap.rows; ++row ) {
99 memcpy( dst, src, glyph->pixmap.width );
100 src += glyph->pixmap.pitch;
101 dst += textbuf->pitch;