Name libXft.so.2
Description FreeType-based font drawing library for X
Version 2.3.8-r3
Package Base libxft
Homepage https://xorg.freedesktop.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libxft
Sources []
Dependencies []
Optional-Dependencies []
Build-Dependencies []
Provides ['so:libXft.so.2=2.3.8']
Builddate 11-04-2024 23:39:10
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1BPTtdd7GW4+Zh9K9jCpNGAcq3w8=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxft
pkgver=2.3.8
pkgrel=3
pkgdesc="FreeType-based font drawing library for X"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="zlib-dev"
makedepends="$depends_dev xorgproto fontconfig-dev freetype-dev libxrender-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXft-$pkgver.tar.xz"

builddir="$srcdir/libXft-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="
fc385d73e1acb701942c154ffb5a283d17891f21d3ac598c4a3fb375a7d6082734593062368c15cad67c1a94177dd15deed878ec5ea852188393b52e92c372c8  libXft-2.3.8.tar.xz
"