summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-fonts/roboto
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-fonts/roboto')
-rw-r--r--media-fonts/roboto/Manifest2
-rw-r--r--media-fonts/roboto/files/90-roboto-regular.conf14
-rw-r--r--media-fonts/roboto/metadata.xml5
-rw-r--r--media-fonts/roboto/roboto-1.2.ebuild22
-rw-r--r--media-fonts/roboto/roboto-2015.03.ebuild20
5 files changed, 63 insertions, 0 deletions
diff --git a/media-fonts/roboto/Manifest b/media-fonts/roboto/Manifest
new file mode 100644
index 000000000000..14b13cbd76c2
--- /dev/null
+++ b/media-fonts/roboto/Manifest
@@ -0,0 +1,2 @@
+DIST roboto-1.2.zip 2641284 SHA256 5101b5bdb3b7b14cc922a771ba068bfcae8634467c1f446bc89bc2b4f8b4f1b5 SHA512 efc21098a20f88ecbced9d0a11f9869c900c8d88ec3341487dc1f10a31b2183efdfa62a25a5246c3719c182f65d953b3b4d019f0bc59393717cd56937ed57c4a WHIRLPOOL 27ed7f976b5d941e877e17a2cd4c94e124efeea411214cf5378b0dcd225bc4ac8febecc1401f9708e07c56082ab144db013291e7f54a20f553cb834bdaf8bc7a
+DIST roboto-2015.03.tar.xz 1083404 SHA256 a6e5c4fa2914843358e2eb901cf5e53647207a994beb445f17cf9d69e9406bcc SHA512 94887fbb093260d878f525a5f5d042ca4d3e7eac7a7e1189bf83b09c81e499d7c99a71bcead19ea28526e25c9b69227f92ca78a54e5f10a164b24d19291fcc6d WHIRLPOOL 7828f279f26ef82a7a7587a1c9d096b010837232f93818cb37685deb8b826b372359b085482a6775d976dfba308846638add6aca7c11eb290758bd6078decf07
diff --git a/media-fonts/roboto/files/90-roboto-regular.conf b/media-fonts/roboto/files/90-roboto-regular.conf
new file mode 100644
index 000000000000..924c2bf9615d
--- /dev/null
+++ b/media-fonts/roboto/files/90-roboto-regular.conf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <match target="pattern">
+ <test name="family" compare="eq"><string>Roboto</string></test>
+ <edit name="weight" mode="append"><const>regular</const></edit>
+ </match>
+ <match target="pattern">
+ <test name="family" compare="eq"><string>Roboto Condensed</string></test>
+ <edit name="weight" mode="append"><const>regular</const></edit>
+ </match>
+
+</fontconfig>
diff --git a/media-fonts/roboto/metadata.xml b/media-fonts/roboto/metadata.xml
new file mode 100644
index 000000000000..c62efd4a8c1d
--- /dev/null
+++ b/media-fonts/roboto/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+</pkgmetadata>
diff --git a/media-fonts/roboto/roboto-1.2.ebuild b/media-fonts/roboto/roboto-1.2.ebuild
new file mode 100644
index 000000000000..c5863f5b89f3
--- /dev/null
+++ b/media-fonts/roboto/roboto-1.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit font
+
+DESCRIPTION="Standard font for Android 4.0 (Ice Cream Sandwich) and later"
+HOMEPAGE="http://developer.android.com/design/style/typography.html"
+SRC_URI="http://developer.android.com/downloads/design/${P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+FONT_SUFFIX="ttf"
+FONT_CONF=( "${FILESDIR}/90-roboto-regular.conf" )
+
+src_install() {
+ FONT_S="${WORKDIR}/Roboto_v${PV}"/Roboto font_src_install
+ FONT_S="${WORKDIR}/Roboto_v${PV}"/RobotoCondensed font_src_install
+}
diff --git a/media-fonts/roboto/roboto-2015.03.ebuild b/media-fonts/roboto/roboto-2015.03.ebuild
new file mode 100644
index 000000000000..69f44d2fe3dd
--- /dev/null
+++ b/media-fonts/roboto/roboto-2015.03.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit font
+
+DESCRIPTION="Standard font for Android 4.0 (Ice Cream Sandwich) and later"
+HOMEPAGE="http://developer.android.com/design/style/typography.html"
+SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
+# fonts downloaded from https://googlefontdirectory.googlecode.com/hg/apache/
+# and repackaged; versioning is once again a mess
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+FONT_SUFFIX="ttf"
+FONT_CONF=( "${FILESDIR}/90-roboto-regular.conf" )