diff options
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/powerline-fonts/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/powerline-fonts/metadata.xml | 26 | ||||
-rw-r--r-- | media-fonts/powerline-fonts/powerline-fonts-9999-r3.ebuild | 112 |
3 files changed, 0 insertions, 140 deletions
diff --git a/media-fonts/powerline-fonts/Manifest b/media-fonts/powerline-fonts/Manifest deleted file mode 100644 index 397615d..0000000 --- a/media-fonts/powerline-fonts/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -EBUILD powerline-fonts-9999-r3.ebuild 3534 SHA256 3acc546165d3b716bfee763691c7ebfa0c47bbd391c9f23dee70802a1e926ef6 SHA512 71e233e820297fed5d944c4b6fc31b88e2dc8323cf430c64256ff28a4bcca107fa7d9547fcc604d2b0b39f96ed1677697460fc423bb4f07ac6a079c1bdda6f30 WHIRLPOOL ab3f53a003accd5c0b22eb0f869248a079d7732882fe19a73c4ba38241c9baacb0c6226f618931548ef1f3f788ef86a3178038985126c0253e45d9db185c8e5d -MISC metadata.xml 1251 SHA256 dde4c7bff853d7f1773cee7144c88c8374a10d1d10f0a82ff5487e7817ee4657 SHA512 75f22057b648dd592da96c0a3b710807b80fb86d4db9298bd83efe533e1cf10129fc007b061fbfd33048dbd3460550b1072ff157a830b14d207a008d55a7ec3a WHIRLPOOL b5ac782d2cdab292ecb1736a30eaccac87a2ab7e03df0e409676e52b322dee3ffd945d369ba40939c25b9297df649109144557b4b4cd42e923b25af8f9cdb830 diff --git a/media-fonts/powerline-fonts/metadata.xml b/media-fonts/powerline-fonts/metadata.xml deleted file mode 100644 index 6cfb40a..0000000 --- a/media-fonts/powerline-fonts/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>leycec@gmail.com</email> - <name>leycec</name> - </maintainer> - <longdescription> -Pre-patched and adjusted fonts for usage with the new Powerline plugin. -</longdescription> - <upstream> - <bugs-to>https://github.com/powerline/fonts/issues</bugs-to> - </upstream> - <use> - <flag name="anonymouspro">Install Powerline-patched Anonymous Pro fonts</flag> - <flag name="dejavusansmono">Install Powerline-patched DejaVu Sans Mono fonts</flag> - <flag name="droidsansmono">Install Powerline-patched Droid Sans Mono fonts</flag> - <flag name="inconsolata">Install Powerline-patched Inconsolata fonts</flag> - <flag name="inconsolatadz">Install Powerline-patched Inconsolata-dz fonts</flag> - <flag name="liberationmono">Install Powerline-patched Liberation Mono fonts</flag> - <flag name="meslo">Install Powerline-patched Meslo fonts</flag> - <flag name="sourcecodepro">Install Powerline-patched Source Code Pro fonts</flag> - <flag name="terminus_pcf">Install Powerline-patched Terminus fonts in PCF format</flag> - <flag name="ubuntumono">Install Powerline-patched Ubuntu Mono fonts</flag> - </use> -</pkgmetadata> diff --git a/media-fonts/powerline-fonts/powerline-fonts-9999-r3.ebuild b/media-fonts/powerline-fonts/powerline-fonts-9999-r3.ebuild deleted file mode 100644 index 7102a30..0000000 --- a/media-fonts/powerline-fonts/powerline-fonts-9999-r3.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-9999.ebuild,v 1.1 2013/01/11 09:59:31 mgorny Exp $ -EAPI="5" - -# Enforce Bash scrictness. -set -e - -EGIT_REPO_URI="https://github.com/powerline/fonts" - -inherit font git-r3 - -DESCRIPTION="Monospaced fonts pre-patched with Powerline symbols" -HOMEPAGE="https://github.com/powerline/fonts" - -LICENSE=" - anonymouspro? ( OFL-1.1 ) - dejavusansmono? ( BitstreamVera ) - droidsansmono? ( Apache-2.0 ) - inconsolata? ( OFL ) - inconsolatadz? ( OFL-1.0 ) - liberationmono? ( OFL-1.1 ) - meslo? ( Apache-2.0 ) - sourcecodepro? ( OFL-1.1 ) - terminus_pcf? ( OFL-1.1 ) - ubuntumono? ( UbuntuFontLicense-1.0 )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" - -# src_install() expects USE flags to be the lowercase basenames of the -# corresponding font directories. See src_install_font() for details. -IUSE_FLAGS=( - anonymouspro - arimo - dejavusansmono - droidsansmono - inconsolata - inconsolatadz - liberationmono - meslo - sourcecodepro - terminus_pcf - ubuntumono -) -IUSE="${IUSE_FLAGS[*]}" - -# If no such USE flags were enabled, fail. -REQUIRED_USE="|| ( ${IUSE_FLAGS[*]} )" - -DEPEND="" -RDEPEND="" - -# Temporary directory to which all fonts to be installed will be copied. -# Ideally, such fonts could simply be installed from their default directories; -# sadly, eclass "font" assumes such fonts always reside in a single directory. -FONT_S="${S}/fonts" -DOCS="README.rst" - -src_install() { - mkdir -p "${FONT_S}" - - # Map of all font filetypes to be installed and hence appended to eclass - # "font" string global ${FONT_SUFFIX} below. Since we only leverage such map - # for its keys, we map all keys to the empty string. - declare -A font_filetypes - - # Copy all fonts in the passed directory with the passed filetype to a - # temporary directory for subsequent installation if the corresponding USE - # flag is enabled or return silently otherwise. - src_install_font() { - (( ${#} == 2 )) || die 'Expected one dirname and one filetype.' - local dirname="${1}" filetype="${2}" flag_name - flag_name="${dirname,,}" - - if use "${flag_name}"; then - mv ${dirname}/*.${filetype} "${FONT_S}" - font_filetypes[${filetype}]= - newdoc ${dirname}/README.rst README_${dirname}.rst - fi - } - - # Copy all fonts to be installed to a temporary directory. - src_install_font AnonymousPro ttf - src_install_font Arimo ttf - src_install_font DejaVuSansMono ttf - src_install_font DroidSansMono otf - src_install_font Inconsolata otf - src_install_font InconsolataDz otf - src_install_font LiberationMono ttf - src_install_font Meslo otf - src_install_font SourceCodePro otf - src_install_font UbuntuMono ttf - - # Terminus is a bitmap- rather than vector-based font and hence requires - # unique handling. In particular, the repository provides three variants of - # such patched font: in BDF, PCF, and PSF format. Since X.org is - # incompatible with PSF-formatted fonts and since PCF-formatted fonts are - # more space efficient than BDF-formatted fonts, install only the Terminus - # fonts in PCF format. This corresponds to the "terminus" ebuild, as well. - if use terminus_pcf; then - mv Terminus/PCF/*.pcf.gz "${FONT_S}" - font_filetypes[pcf.gz]= - newdoc Terminus/README.rst README_Terminus.rst - fi - - # Convert the above map of all font filetypes to be installed into the - # whitespace-delimited string global accepted by eclass "font". - FONT_SUFFIX="${!font_filetypes[@]}" - - # Install all such fonts. - font_src_install -} |