summaryrefslogtreecommitdiffstats
path: root/media-fonts/source-code-pro
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/source-code-pro')
-rw-r--r--media-fonts/source-code-pro/Manifest4
-rw-r--r--media-fonts/source-code-pro/files/63-source-code-pro.conf16
-rw-r--r--media-fonts/source-code-pro/metadata.xml9
-rw-r--r--media-fonts/source-code-pro/source-code-pro-1.009.ebuild35
4 files changed, 64 insertions, 0 deletions
diff --git a/media-fonts/source-code-pro/Manifest b/media-fonts/source-code-pro/Manifest
new file mode 100644
index 0000000..b747478
--- /dev/null
+++ b/media-fonts/source-code-pro/Manifest
@@ -0,0 +1,4 @@
+AUX 63-source-code-pro.conf 348 SHA256 c1db71482cf300f50f48cf74d6a2570e13e141271b3c3330581e30f0cc03fcea SHA512 cdeadde57705dc089834f72ffc37cf125b358e507b00712086a14929ba734584cc303084112ad17f525acec957aaabee1aaf1afd601d13a543d42cf35bcb6491 WHIRLPOOL 5e3d2af464cf2c0497fbd9ee355efe1b96a8c0a6dee0245e5ef10889bd251a716f78fcf4f17adeb38e98ccc434b345dfed854354745dff28e539a43b44928e5d
+DIST SourceCodePro_FontsOnly-1.009.zip 613755 SHA256 8681e3a1b0c32e7c32b03d883a429cd460f4bded8953d67d6e32f499ba3c135c SHA512 285b34d330b2fa1154926d29322cb3034af0bbdab7c8088ddbbeababfa61c33e997386839f4b5ca02cc3ff0b39361b3747d6e23f4a7d409e0c02a71b19f1eaeb WHIRLPOOL c110bcf71724c0a2b5b3f61101547e26fd8e4053c0de0d0414418df293a0394c08c0d484f55c66c3669f5f8793fa32486813fb4215540a651f60bde22cc5cfc1
+EBUILD source-code-pro-1.009.ebuild 972 SHA256 4fdd7e20e3f577ed8c7b9fd47a7c9cc7a92908e23cd45fd6daf23c08d046f0de SHA512 37292c454a541118c602dc841b661bb018f1188a84ea8c42db8a7ecdb923becefe7c3091a0f80d1f4030ac247098c198930f7252bbb28e43665e7404bee13e46 WHIRLPOOL bfdf07fd45dc3961b2e168499e8ef96d4fca687e25226ece93084a4aab45631815bd1914cb8c10329babfea63b4f005d1805f04d4a21113ce4afc0820fc3083e
+MISC metadata.xml 255 SHA256 1b2e9404a9fdf56df99e9e93d0343591974e3b821a19d49910c1b3e0db0a5e61 SHA512 6d4b85f27b6b8db7b3709892b0dda6c3ae4a927cf7b940258ed95add8ef85d6f558fdef4fc3f2345c2cdbddb003530a7aa0623b8c1fd7882558420d89c53d135 WHIRLPOOL 0aa794139aeb2aeec3cb155ec8ebdd7da757d2cc30292f7cc948571e5f3149000dbdc7b8d7ee3c894ff979164ff4689849a3a8e14f869c820fac43673d8762c2
diff --git a/media-fonts/source-code-pro/files/63-source-code-pro.conf b/media-fonts/source-code-pro/files/63-source-code-pro.conf
new file mode 100644
index 0000000..1faea90
--- /dev/null
+++ b/media-fonts/source-code-pro/files/63-source-code-pro.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>Source Code Pro</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>Source Code Pro</family>
+ </prefer>
+ </alias>
+</fontconfig>
diff --git a/media-fonts/source-code-pro/metadata.xml b/media-fonts/source-code-pro/metadata.xml
new file mode 100644
index 0000000..c73094c
--- /dev/null
+++ b/media-fonts/source-code-pro/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <maintainer>
+ <email>Jason@zx2c4.com</email>
+ <name>Jason A. Donenfeld</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-fonts/source-code-pro/source-code-pro-1.009.ebuild b/media-fonts/source-code-pro/source-code-pro-1.009.ebuild
new file mode 100644
index 0000000..af7915c
--- /dev/null
+++ b/media-fonts/source-code-pro/source-code-pro-1.009.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-sans-pro/source-sans-pro-1.033.ebuild,v 1.1 2012/08/12 14:31:13 ssuominen Exp $
+
+EAPI=4
+inherit font
+
+MY_P=SourceCodePro_FontsOnly-${PV}
+
+DESCRIPTION="Adobe Source Code Pro, an open source multi-lingual font family"
+HOMEPAGE="http://blogs.adobe.com/typblography/2012/09/source-code-pro.html"
+SRC_URI="mirror://sourceforge/sourcecodepro.adobe/${MY_P}.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+RDEPEND="media-libs/fontconfig"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}
+
+FONT_SUFFIX="otf ttf"
+FONT_S=${S}
+# From .spec of http://bugzilla.redhat.com/show_bug.cgi?id=845743
+FONT_CONF=( "${FILESDIR}"/63-${PN}.conf )
+
+src_install() {
+ font_src_install
+ dohtml *.html
+}