cantarell-fonts: update to 0.111

And remove forced autohinting since that is not necessary anymore.

Signed-off-by: Artem Borisov <dedsa2002@gmail.com>
This commit is contained in:
Artem Borisov 2019-07-12 05:19:44 +04:00 committed by Juan RP
parent fd86b54e86
commit 762706c1b8
2 changed files with 7 additions and 22 deletions

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- Force the autohinter for Cantarell, as it does not have TT hinting -->
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Cantarell</string>
</test>
<edit name="autohint">
<bool>true</bool>
</edit>
</match>
</fontconfig>

View file

@ -1,22 +1,20 @@
# Template file for 'cantarell-fonts'
pkgname=cantarell-fonts
version=0.0.25
version=0.111
revision=1
archs=noarch
build_style=gnu-configure
configure_args="--with-configdir=/etc/fonts/conf.avail"
hostmakedepends="pkg-config"
build_style=meson
configure_args="-Dfontsdir=/usr/share/fonts/cantarell -Duseprebuilt=true -Dbuildappstream=true"
hostmakedepends="pkg-config meson appstream-glib"
depends="fontconfig"
short_desc="Cantarell family of TrueType fonts"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="https://wiki.gnome.org/Projects/CantarellFonts"
license="OFL-1.1"
distfiles="${GNOME_SITE}/$pkgname/0.0/$pkgname-$version.tar.xz"
checksum=14a228aa0b516dfc367b434a850f955a00c57fc549cbb05348e2b150196a737f
homepage="https://wiki.gnome.org/Projects/CantarellFonts"
distfiles="${GNOME_SITE}/$pkgname/$version/$pkgname-$version.tar.xz"
checksum=858b2bc196ee851c8e5a76376097bc75f23bc01b29591c30ed3a550e23b41716
post_install() {
vmkdir etc/fonts/conf.d
ln -s ../conf.avail/31-cantarell.conf ${DESTDIR}/etc/fonts/conf.d
vinstall ${FILESDIR}/21-cantarell-hinting.conf 644 etc/fonts/conf.avail
ln -s ../conf.avail/21-cantarell-hinting.conf ${DESTDIR}/etc/fonts/conf.d
}