Ravenports generated: 10 Feb 2024 22:55
[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 REVISION=               2
6 KEYWORDS=               graphics
7 VARIANTS=               standard
8 SDESC[standard]=        SDL1 TrueType font rendering library
9 HOMEPAGE=               https://github.com/libsdl-org/SDL_ttf
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            https://leaf.dragonflybsd.org/~marino/orphaned-distfiles/
14 DISTFILE[1]=            SDL_ttf-2.0.11.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         dev
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          libglvnd:dev:standard
24 BUILDRUN_DEPENDS=       libglvnd:primary:standard
25
26 USES=                   cpe gmake iconv libtool pkgconfig zlib:build
27                         freetype fbsd10fix mbsdfix
28 SDL_COMPONENTS=         sdl1
29 XORG_COMPONENTS=        x11
30
31 DISTNAME=               SDL_ttf-2.0.11
32
33 CPE_PRODUCT=            sdl_ttf
34 CPE_VENDOR=             libsdl
35 FPC_EQUIVALENT=         graphics/sdl_ttf
36
37 MUST_CONFIGURE=         gnu
38
39 INSTALL_TARGET=         install-strip
40
41 LDFLAGS=                {{ICONV_LIB}}
42
43 post-install:
44         ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin
45         ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \
46                 ${STAGEDIR}${PREFIX}/bin/sdl-showfont
47
48 [FILE:537:descriptions/desc.primary]
49 This library is a wrapper around the excellent FreeType library.
50
51 This library allows you to use TrueType fonts to render text in SDL
52 applications.
53
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.
60
61
62 [FILE:100:distinfo]
63 724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7      4053686 SDL_ttf-2.0.11.tar.gz
64
65
66 [FILE:79:manifests/plist.primary]
67 bin/
68  glfont
69  sdl-showfont
70 lib/
71  libSDL_ttf-2.0.so.0
72  libSDL_ttf-2.0.so.0.10.1
73
74
75 [FILE:81:manifests/plist.dev]
76 include/SDL/SDL_ttf.h
77 lib/
78  libSDL_ttf.a
79  libSDL_ttf.so
80 lib/pkgconfig/SDL_ttf.pc
81
82
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).
86 Author: Unknown
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
90
91 --- SDL_ttf.c
92 +++ SDL_ttf.c
93 @@ -1752,7 +1752,7 @@
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;
102
103