summaryrefslogtreecommitdiff
path: root/media-fonts
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2018-07-19 12:25:19 +0200
committerGuilherme Amadio <amadio@gentoo.org>2018-07-19 13:37:53 +0200
commit190e18b891106354253b905e5742011765ad7199 (patch)
tree6eef06fa78eb2415750badbc68637820fb4e7857 /media-fonts
parent629a7dc576e3c65c87f07f625ce6affffbd3d13a (diff)
downloadgentoo-190e18b891106354253b905e5742011765ad7199.tar.gz
gentoo-190e18b891106354253b905e5742011765ad7199.tar.xz
media-fonts/crosextrafonts-caladea: new package
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/crosextrafonts-caladea/Manifest1
-rw-r--r--media-fonts/crosextrafonts-caladea/crosextrafonts-caladea-20130214.ebuild22
-rw-r--r--media-fonts/crosextrafonts-caladea/files/62-crosextra-caladea.conf17
-rw-r--r--media-fonts/crosextrafonts-caladea/metadata.xml8
4 files changed, 48 insertions, 0 deletions
diff --git a/media-fonts/crosextrafonts-caladea/Manifest b/media-fonts/crosextrafonts-caladea/Manifest
new file mode 100644
index 00000000000..2d0c3820a7d
--- /dev/null
+++ b/media-fonts/crosextrafonts-caladea/Manifest
@@ -0,0 +1 @@
+DIST crosextrafonts-20130214.tar.gz 112756 BLAKE2B db2872ff3f587519a82062812838b12f8667b96e6ff2883f9441a87aeba3fa8c20798c3a64213a9196b302d09e7e8f2cc230602a898124d554900d67be085032 SHA512 71f3cfcfbec33d8526184dce32f244f13b29f97aff31c0609487f27135adc0a4d5950e068f8be101e4fd06498cf103be68d781fc611142f060bbc9cb0b81273e
diff --git a/media-fonts/crosextrafonts-caladea/crosextrafonts-caladea-20130214.ebuild b/media-fonts/crosextrafonts-caladea/crosextrafonts-caladea-20130214.ebuild
new file mode 100644
index 00000000000..2cb2741c6fb
--- /dev/null
+++ b/media-fonts/crosextrafonts-caladea/crosextrafonts-caladea-20130214.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit font
+
+MY_P=${P/-caladea/}
+DESCRIPTION="Open licensed serif font metrically compatible with Cambria"
+HOMEPAGE="https://bugs.chromium.org/p/chromium/issues/detail?id=168879"
+SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="binchecks strip test"
+
+S="${WORKDIR}/${MY_P}"
+FONT_SUFFIX="ttf"
+FONT_CONF=( "${FILESDIR}"/62-crosextra-caladea.conf )
diff --git a/media-fonts/crosextrafonts-caladea/files/62-crosextra-caladea.conf b/media-fonts/crosextrafonts-caladea/files/62-crosextra-caladea.conf
new file mode 100644
index 00000000000..96696a481fe
--- /dev/null
+++ b/media-fonts/crosextrafonts-caladea/files/62-crosextra-caladea.conf
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <!-- Microsoft -->
+ <alias binding="same">
+ <family>Cambria</family>
+ <accept>
+ <family>Caladea</family>
+ </accept>
+ </alias>
+ <alias binding="same">
+ <family>Caladea</family>
+ <default>
+ <family>Cambria</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/crosextrafonts-caladea/metadata.xml b/media-fonts/crosextrafonts-caladea/metadata.xml
new file mode 100644
index 00000000000..11cb2c539f2
--- /dev/null
+++ b/media-fonts/crosextrafonts-caladea/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>fonts@gentoo.org</email>
+ <name>Gentoo Fonts Project</name>
+ </maintainer>
+</pkgmetadata>