From 16c22fa1c2b3577e398129da31e458a52e5d1f3a Mon Sep 17 00:00:00 2001
From: Tim Biermann <tbier@posteo.de>
Date: Mon, 20 Sep 2021 00:20:06 +0200
Subject: [PATCH] fcft: initial commit, version 2.4.5

---
 fcft/.footprint | 27 +++++++++++++++++++++++++++
 fcft/.signature |  5 +++++
 fcft/Pkgfile    | 25 +++++++++++++++++++++++++
 3 files changed, 57 insertions(+)
 create mode 100644 fcft/.footprint
 create mode 100644 fcft/.signature
 create mode 100644 fcft/Pkgfile

diff --git a/fcft/.footprint b/fcft/.footprint
new file mode 100644
index 000000000..dff873b89
--- /dev/null
+++ b/fcft/.footprint
@@ -0,0 +1,27 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/fcft/
+-rw-r--r--	root/root	usr/include/fcft/fcft.h
+-rw-r--r--	root/root	usr/include/fcft/stride.h
+drwxr-xr-x	root/root	usr/lib/
+lrwxrwxrwx	root/root	usr/lib/libfcft.so -> libfcft.so.3
+lrwxrwxrwx	root/root	usr/lib/libfcft.so.3 -> libfcft.so.3.4.5
+-rwxr-xr-x	root/root	usr/lib/libfcft.so.3.4.5
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/fcft.pc
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man3/
+-rw-r--r--	root/root	usr/share/man/man3/fcft_capabilities.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_clone.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_destroy.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_from_name.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_glyph_rasterize.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_grapheme_rasterize.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_kerning.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_log_init.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_precompose.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_set_scaling_filter.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_size_adjust.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_text_run_destroy.3.gz
+-rw-r--r--	root/root	usr/share/man/man3/fcft_text_run_rasterize.3.gz
diff --git a/fcft/.signature b/fcft/.signature
new file mode 100644
index 000000000..86730cf9d
--- /dev/null
+++ b/fcft/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF39LE2iQxHeKZlsaCBqnh61lY2bFDSFLnWkBM7YgxatTvgQjdR6FfQ+lWt7Dh5/c31SddU82Y4zkjNaCPyZWQfwA=
+SHA256 (Pkgfile) = c7b0286994307aefa57ceca2e8553b843c51d7a350552347ce4fdd68e7464af9
+SHA256 (.footprint) = 0e951c7c9545e1a6fae6e2a24b86320d8e346fc3a1235b3fc669abfb1950a3a5
+SHA256 (fcft-2.4.5.tar.gz) = b17fcf556e2beecacd0b5dbcdf4441b737850576446f33342a3577b6afd09ee9
diff --git a/fcft/Pkgfile b/fcft/Pkgfile
new file mode 100644
index 000000000..f66e87e84
--- /dev/null
+++ b/fcft/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman.
+# URL: https://codeberg.org/dnkl/fcft
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: fontconfig scdoc tllist utf8proc wayland-protocols xorg-libpixman
+# Optional: harfbuzz
+
+name=fcft
+version=2.4.5
+release=1
+source=(https://codeberg.org/dnkl/fcft/archive/$version.tar.gz)
+renames=($name-$version.tar.gz)
+
+build() {
+  meson setup $name build \
+    --prefix=/usr \
+    --buildtype=plain \
+    --wrap-mode nodownload \
+    -D b_lto=true \
+    -D b_pie=true \
+    -D test-text-shaping=true
+  meson compile -C build
+  DESTDIR=$PKG meson install -C build
+
+  rm -r $PKG/usr/share/doc
+}