From 0a5c989847fd1f917f199774da78ce71f27287d6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Jul 2018 04:58:38 -0500 Subject: user/ttf-dejavu: pull in, fix up somewhat [ugh] --- user/ttf-dejavu/45-dejavu.conf | 26 +++++ user/ttf-dejavu/90-tt-dejavu.conf | 228 ++++++++++++++++++++++++++++++++++++++ user/ttf-dejavu/APKBUILD | 43 +++++++ 3 files changed, 297 insertions(+) create mode 100644 user/ttf-dejavu/45-dejavu.conf create mode 100644 user/ttf-dejavu/90-tt-dejavu.conf create mode 100644 user/ttf-dejavu/APKBUILD (limited to 'user/ttf-dejavu') diff --git a/user/ttf-dejavu/45-dejavu.conf b/user/ttf-dejavu/45-dejavu.conf new file mode 100644 index 000000000..a5c3d9d3d --- /dev/null +++ b/user/ttf-dejavu/45-dejavu.conf @@ -0,0 +1,26 @@ + + + + + + DejaVu Sans + + sans-serif + + + + + DejaVu Sans Mono + + monospace + + + + + DejaVu Serif + + serif + + + + diff --git a/user/ttf-dejavu/90-tt-dejavu.conf b/user/ttf-dejavu/90-tt-dejavu.conf new file mode 100644 index 000000000..c722d3967 --- /dev/null +++ b/user/ttf-dejavu/90-tt-dejavu.conf @@ -0,0 +1,228 @@ + + + + + + + + false + + + DejaVu Sans + + + true + + + true + + + hintslight + + + false + + + + + + false + + + DejaVu Sans + + + 7.5 + + + true + + + true + + + hintnone + + + false + + + + + + + false + + + DejaVu Sans Condensed + + + true + + + true + + + hintslight + + + false + + + + + + false + + + DejaVu Sans Condensed + + + 7.5 + + + true + + + true + + + hintnone + + + false + + + + + + + false + + + DejaVu Sans Mono + + + true + + + true + + + hintslight + + + false + + + + + + false + + + DejaVu Sans Mono + + + 7.5 + + + 14.5 + + + true + + + true + + + hintfull + + + false + + + + + + false + + + DejaVu Sans Mono + + + 7.5 + + + true + + + true + + + hintnone + + + false + + + + + + DejaVu Sans Mono + + + 12.0 + + + lcdlegacy + + + + + + + false + + + DejaVu Serif + + + true + + + true + + + hintslight + + + false + + + + + + false + + + DejaVu Serif + + + 7.5 + + + true + + + true + + + hintnone + + + false + + + + diff --git a/user/ttf-dejavu/APKBUILD b/user/ttf-dejavu/APKBUILD new file mode 100644 index 000000000..b69fefb4e --- /dev/null +++ b/user/ttf-dejavu/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: +pkgname=ttf-dejavu +pkgver=2.37 +pkgrel=0 +pkgdesc="Font family with many glyphs based on Vera Fonts" +url="https://dejavu-fonts.github.io/" +arch="noarch" +options="!check" # You can't test fonts. -.- +license="MIT-style custom" +depends="fontconfig encodings mkfontdir mkfontscale" +makedepends="font-util-dev" +subpackages="" +# added fontconfig configuration from: +# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings +source="http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-fonts-ttf-${pkgver}.tar.bz2 + http://downloads.sourceforge.net/project/dejavu/dejavu/${pkgver}/dejavu-lgc-fonts-ttf-${pkgver}.tar.bz2 + 45-dejavu.conf + 90-tt-dejavu.conf" + +package() { + mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ + "$pkgdir"/etc/fonts/conf.avail \ + "$pkgdir"/etc/fonts/conf.d + + install -m644 "$srcdir"/dejavu-fonts-ttf-$pkgver/ttf/*.ttf \ + "$srcdir"/dejavu-lgc-fonts-ttf-$pkgver/ttf/*.ttf \ + "$pkgdir"/usr/share/fonts/$pkgname + + install -m644 "$srcdir"/dejavu-fonts-ttf-$pkgver/fontconfig/*.conf \ + "$srcdir"/dejavu-lgc-fonts-ttf-$pkgver/fontconfig/*.conf \ + "$pkgdir"/etc/fonts/conf.avail + + cd "$pkgdir"/etc/fonts/conf.d + for j in "$srcdir"/*.conf; do + install -m644 "$j" "$pkgdir"/etc/fonts/conf.avail/ + ln -sf /etc/fonts/conf.avail/${j##*/} + done +} + +sha512sums="bafa39321021097432777f0825d700190c23f917d754a4504722cd8946716c22c083836294dab7f3ae7cf20af63c4d0944f3423bf4aa25dbca562d1f30e00654 dejavu-fonts-ttf-2.37.tar.bz2 +4bf36813b4143a482a50ee20377166cbc22e3aa62ccb453fe6ce27d2286acaf2b6f06759eb5d5000d2f868a7d93ecad851ad29de60fb531ed9ac2fcd7b9bdc1f dejavu-lgc-fonts-ttf-2.37.tar.bz2 +df82fea7ad6c58edcc20c960fd2de9d49c70e23f9e63180b063c848a6f0d5592e2ce31dc0dc4a0b5abc8e682393c827c96b4a9da9203974672ebd3a77e5b9fc3 45-dejavu.conf +bc12705369050739143eda6a2dadaada954112ea262bd297a4823b31861f3da0f61e17ad6fb61226caea16323c3bc9cd88e8b0e60f61b2af6d245af885a4399c 90-tt-dejavu.conf" -- cgit v1.2.3-70-g09d2