void-packages/srcpkgs/freetype/template
Juan RP 3b065d401b
freetype: update to 2.10.1.
Get rid of these stupid build options... the infinality
mode is slow and unmaintained as explained in the
ftoption.h file.

The default is good for everyone.

It's stupid to have to maintain these patches just to
make one or two people in the world happy.
2019-07-02 09:43:10 +02:00

27 lines
789 B
Bash

# Template file for 'freetype'
pkgname=freetype
version=2.10.1
revision=1
build_style=gnu-configure
configure_args="--enable-freetype-config"
hostmakedepends="pkg-config"
makedepends="bzip2-devel libpng-devel"
short_desc="Font rendering engine and library API"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.freetype.org/"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=16dbfa488a21fe827dc27eaf708f42f7aa3bb997d745d31a19781628c36ba26f
freetype-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
for f in bin include share; do
vmove usr/${f}
done
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}