2009-12-24 02:51:45 +00:00
|
|
|
# Template file for 'SDL_ttf'
|
|
|
|
pkgname=SDL_ttf
|
2012-01-16 13:59:21 +00:00
|
|
|
version=2.0.11
|
2013-04-12 07:01:46 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-12-09 10:02:43 +00:00
|
|
|
configure_args="--disable-static"
|
2013-04-12 07:01:46 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-13 20:47:11 +00:00
|
|
|
makedepends="freetype-devel SDL-devel"
|
2009-12-24 02:51:45 +00:00
|
|
|
short_desc="Use TrueType fonts in your SDL applications"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-26 07:32:19 +00:00
|
|
|
license="LGPL-2.1"
|
2012-12-09 10:02:43 +00:00
|
|
|
homepage="http://www.libsdl.org/projects/${pkgname}"
|
|
|
|
distfiles="${homepage}/release/${pkgname}-${version}.tar.gz"
|
2012-01-16 13:59:21 +00:00
|
|
|
checksum=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7
|
2009-12-24 02:51:45 +00:00
|
|
|
long_desc="
|
|
|
|
SDL_ttf is a TrueType font rendering library that is used with the SDL
|
|
|
|
library, and almost as portable. It depends on freetype2 to handle the
|
|
|
|
TrueType font data. It allows a programmer to use multiple 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."
|
2013-04-12 07:01:46 +00:00
|
|
|
|
|
|
|
SDL_ttf-devel_package() {
|
|
|
|
depends="freetype-devel SDL-devel ${sourcepkg}>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SDL_ttf_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|