Ravenports generated: 19 Jun 2017 16:54
[ravenports.git] / bucket_73 / sdl1_ttf
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               sdl1_ttf
4 VERSION=                2.0.11
5 KEYWORDS=               graphics
6 VARIANTS=               standard
7 SDESC[standard]=        SDL1 TrueType font rendering library
8 HOMEPAGE=               http://www.libsdl.org/projects/SDL_ttf/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://www.libsdl.org/projects/SDL_ttf/release/
13 DISTFILE[1]=            SDL_ttf-2.0.11.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILDRUN_DEPENDS=       freetype:primary:standard
21
22 USES=                   gmake iconv libtool pkgconfig mesa
23 SDL_COMPONENTS=         sdl1
24 XORG_COMPONENTS=        x11
25
26 DISTNAME=               SDL_ttf-2.0.11
27
28 FPC_EQUIVALENT=         graphics/sdl_ttf
29
30 MUST_CONFIGURE=         gnu
31
32 INSTALL_TARGET=         install-strip
33
34 LDFLAGS=                {{ICONV_LIB}}
35
36 post-install:
37         ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin
38         ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \
39                 ${STAGEDIR}${PREFIX}/bin/sdl-showfont
40
41 [FILE:537:descriptions/desc.single]
42 This library is a wrapper around the excellent FreeType library.
43
44 This library allows you to use TrueType fonts to render text in SDL
45 applications.
46
47 Be careful when including fonts with your application, as many of them are
48 copyrighted.  The Microsoft fonts, for example, are not freely
49 redistributable and even the free "web" fonts they provide are only
50 redistributable in their special executable installer form (May 1998).
51 There are plenty of freeware and shareware fonts available on the Internet
52 though, and may suit your purposes.
53
54
55 [FILE:100:distinfo]
56 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7      4053686 SDL_ttf-2.0.11.tar.gz
57
58
59 [FILE:155:manifests/plist.single]
60 bin/
61  glfont
62  sdl-showfont
63 include/SDL/SDL_ttf.h
64 lib/
65  libSDL_ttf-2.0.so.0
66  libSDL_ttf-2.0.so.0.10.1
67  libSDL_ttf.a
68  libSDL_ttf.so
69 lib/pkgconfig/SDL_ttf.pc
70
71
72 [FILE:618:patches/patch-bug1433]
73 Description: Fix bug report "TTF_RenderGlyph_Shaded is broken"
74  Introduced in 2.0.11-2 (Sat, 03 Mar 2012).
75 Author: Unknown
76 Last-Update: 2012-03-03
77 Bug-Debian: http://bugs.debian.org/661987
78 Bug-Upstream: https://bugzilla.libsdl.org/show_bug.cgi?id=1433
79
80 --- SDL_ttf.c
81 +++ SDL_ttf.c
82 @@ -1752,7 +1752,7 @@
83         /* Copy the character from the pixmap */
84         src = glyph->pixmap.buffer;
85         dst = (Uint8*) textbuf->pixels;
86 -       for ( row = 0; row < glyph->bitmap.rows; ++row ) {
87 +       for ( row = 0; row < glyph->pixmap.rows; ++row ) {
88                 memcpy( dst, src, glyph->pixmap.width );
89                 src += glyph->pixmap.pitch;
90                 dst += textbuf->pitch;
91
92