aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/otf-cantarell
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/otf-cantarell
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/otf-cantarell')
-rw-r--r--unmaintained/otf-cantarell/45-cantarell.conf12
-rw-r--r--unmaintained/otf-cantarell/90-non-tt-cantarell.conf50
-rw-r--r--unmaintained/otf-cantarell/APKBUILD62
3 files changed, 124 insertions, 0 deletions
diff --git a/unmaintained/otf-cantarell/45-cantarell.conf b/unmaintained/otf-cantarell/45-cantarell.conf
new file mode 100644
index 0000000000..ab8645507f
--- /dev/null
+++ b/unmaintained/otf-cantarell/45-cantarell.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Cantarell</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/unmaintained/otf-cantarell/90-non-tt-cantarell.conf b/unmaintained/otf-cantarell/90-non-tt-cantarell.conf
new file mode 100644
index 0000000000..081668b68e
--- /dev/null
+++ b/unmaintained/otf-cantarell/90-non-tt-cantarell.conf
@@ -0,0 +1,50 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="family">
+ <string>Cantarell</string>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <match target="font">
+ <test name="family">
+ <string>Cantarell</string>
+ </test>
+ <test name="weight" compare="less">
+ <const>medium</const>
+ </test>
+ <test name="pixelsize" compare="more">
+ <double>10.5</double>
+ </test>
+ <test name="pixelsize" compare="less">
+ <double>13.5</double>
+ </test>
+ <edit name="autohint" mode="assign">
+ <bool>false</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintfull</const>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/unmaintained/otf-cantarell/APKBUILD b/unmaintained/otf-cantarell/APKBUILD
new file mode 100644
index 0000000000..7cb3e9cbeb
--- /dev/null
+++ b/unmaintained/otf-cantarell/APKBUILD
@@ -0,0 +1,62 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=otf-cantarell
+pkgver=0.0.16
+pkgrel=0
+pkgdesc="Cantarell font family."
+url="http://abattis.org/cantarell/"
+arch="noarch"
+license="GPL2"
+depends="fontconfig"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+# added fontconfig configuration from:
+# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings
+source="https://download.gnome.org/sources/cantarell-fonts/0.0/cantarell-fonts-$pkgver.tar.xz
+ 45-cantarell.conf
+ 90-non-tt-cantarell.conf"
+
+_builddir="$srcdir"/cantarell-fonts-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-fontdir=/usr/share/fonts/$pkgname \
+ --with-configdir=/etc/fonts/conf.avail \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ mkdir -p "$pkgdir"/etc/fonts/conf.avail \
+ "$pkgdir"/etc/fonts/conf.d
+ for j in "$srcdir"/*.conf; do
+ install -m644 "$j" \
+ "$pkgdir"/etc/fonts/conf.avail/ || return 1
+ done
+ for k in "$pkgdir"/etc/fonts/conf.avail/*.conf; do
+ cd "$pkgdir"/etc/fonts/conf.d
+ ln -sf /etc/fonts/conf.avail/"${k##*/}"
+ done
+}
+
+md5sums="6665af844817ec1390f8ae2a16feb369 cantarell-fonts-0.0.16.tar.xz
+e47490547662d4ffc08a30ceef41ebae 45-cantarell.conf
+ece1ab6af1de1a56c368d8fa814ad9c2 90-non-tt-cantarell.conf"
+sha256sums="15bf87555321556750bc68ace360f3df420359a8ab257e15c44fb69710152f1c cantarell-fonts-0.0.16.tar.xz
+26e2eaff8c5f930602be0b247aef7d67a74d7c0a30c16202c7f75bb51a770154 45-cantarell.conf
+7f6b723cdd15c61b8b21912a7269d4e710af74222af8263de7cdd778110a7dbc 90-non-tt-cantarell.conf"
+sha512sums="12936e56d1dd3eac3db5a02b854769ba7c8bd06bf4942c505d81ea20529ee450e07f0f347e3861a49212ef7291452716537c05375f74877246f49d186ad681b0 cantarell-fonts-0.0.16.tar.xz
+eabc77c0e4b490341ca3d29cf3f6361005d3be2e2f91a9c821bd7ff0d7ee7d16e71793fbcdf42c922491c62474f421128f76f7b3412ceb833faef3a019ec94b6 45-cantarell.conf
+8e67b3ce3fc57243a146ad8f52fd1062f160759a89c2b0d999e26e52dbe2c95159b3190b3ae6dc90b1df246ca57eef14442393fa764ad657a7cecfe1663a54ae 90-non-tt-cantarell.conf"