diff options
author | Dror Levin <spatz@gentoo.org> | 2010-01-07 19:54:16 +0000 |
---|---|---|
committer | Dror Levin <spatz@gentoo.org> | 2010-01-07 19:54:16 +0000 |
commit | b54265f1c0baef1482f03449af0f8b69cb4df860 (patch) | |
tree | 85274c785c0000ad0416c56a7cb4693578d72dd9 /media-fonts | |
parent | Set empty HOMEPAGE and LICENSE (diff) | |
download | gentoo-2-b54265f1c0baef1482f03449af0f8b69cb4df860.tar.gz gentoo-2-b54265f1c0baef1482f03449af0f8b69cb4df860.tar.bz2 gentoo-2-b54265f1c0baef1482f03449af0f8b69cb4df860.zip |
Add new USE flags for slashed and dotted versions of the monotyped font, bug 293701.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/droid/ChangeLog | 11 | ||||
-rw-r--r-- | media-fonts/droid/droid-112_p1-r1.ebuild | 39 | ||||
-rw-r--r-- | media-fonts/droid/metadata.xml | 4 |
3 files changed, 52 insertions, 2 deletions
diff --git a/media-fonts/droid/ChangeLog b/media-fonts/droid/ChangeLog index 8687790a622c..f0e25592eaaa 100644 --- a/media-fonts/droid/ChangeLog +++ b/media-fonts/droid/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-fonts/droid -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/ChangeLog,v 1.14 2009/09/27 09:39:54 volkmar Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/ChangeLog,v 1.15 2010/01/07 19:54:16 spatz Exp $ + +*droid-112_p1-r1 (07 Jan 2010) + + 07 Jan 2010; Dror Levin <spatz@gentoo.org> +droid-112_p1-r1.ebuild, + metadata.xml: + Add new USE flags for slashed and dotted versions of the monotyped font, + bug 293701. 27 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> droid-112_p1.ebuild: Stable for ppc. Fix bug 283910 diff --git a/media-fonts/droid/droid-112_p1-r1.ebuild b/media-fonts/droid/droid-112_p1-r1.ebuild new file mode 100644 index 000000000000..66943069c2c4 --- /dev/null +++ b/media-fonts/droid/droid-112_p1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-112_p1-r1.ebuild,v 1.1 2010/01/07 19:54:16 spatz Exp $ + +EAPI="2" + +inherit font + +MY_PN="${PN/d/D}" + +# $PV is a build number, use fontforge to find it out. 112 was taken from: +# http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD +DESCRIPTION="Font family from Google's Android project" +HOMEPAGE="http://code.google.com/android/RELEASENOTES.html" +SRC_URI="mirror://gentoo/${P}.tar.gz + slashed? ( mirror://gentoo/${MY_PN}SansMonoSlashed-${PV}.ttf.bz2 ) + !slashed? ( dotted? ( mirror://gentoo/${MY_PN}SansMonoDotted-${PV}.ttf.bz2 ) )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="dotted slashed" + +S=${WORKDIR}/${PN} +FONT_S=${WORKDIR}/${PN} +FONT_SUFFIX="ttf" + +RDEPEND="" +DEPEND="" + +src_prepare() { + if use slashed; then + mv "${WORKDIR}/${MY_PN}SansMonoSlashed-${PV}.ttf" \ + "${S}/${MY_PN}SansMono.ttf" + elif use dotted; then + mv "${WORKDIR}/${MY_PN}SansMonoDotted-${PV}.ttf" \ + "${S}/${MY_PN}SansMono.ttf" + fi +} diff --git a/media-fonts/droid/metadata.xml b/media-fonts/droid/metadata.xml index e5b3bfb775bd..22694e8ffcc1 100644 --- a/media-fonts/droid/metadata.xml +++ b/media-fonts/droid/metadata.xml @@ -6,4 +6,8 @@ <email>yngwin@gentoo.org</email> <name>Ben de Groot</name> </maintainer> + <use> + <flag name="slashed">Changes zero character in monotyped font to be slashed</flag> + <flag name="dotted">Changes zero character in monotyped font to be dotted</flag> + </use> </pkgmetadata> |