summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-01-07 20:12:38 +0000
committerDror Levin <spatz@gentoo.org>2010-01-07 20:12:38 +0000
commit2a33466f13e04627c3f9d1b3f63c83e6b1b0c041 (patch)
tree22b1ef3f6f9e24c95979a80610a589afbf4110c7 /media-fonts
parentSet empty HOMEPAGE and LICENSE (diff)
downloadgentoo-2-2a33466f13e04627c3f9d1b3f63c83e6b1b0c041.tar.gz
gentoo-2-2a33466f13e04627c3f9d1b3f63c83e6b1b0c041.tar.bz2
gentoo-2-2a33466f13e04627c3f9d1b3f63c83e6b1b0c041.zip
Install all monotyped versions instead of using USE flags.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/droid/ChangeLog6
-rw-r--r--media-fonts/droid/droid-112_p1-r1.ebuild23
-rw-r--r--media-fonts/droid/metadata.xml4
3 files changed, 16 insertions, 17 deletions
diff --git a/media-fonts/droid/ChangeLog b/media-fonts/droid/ChangeLog
index f0e25592eaaa..4afb096465ef 100644
--- a/media-fonts/droid/ChangeLog
+++ b/media-fonts/droid/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-fonts/droid
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/ChangeLog,v 1.16 2010/01/07 20:12:38 spatz Exp $
+
+ 07 Jan 2010; Dror Levin <spatz@gentoo.org> droid-112_p1-r1.ebuild,
+ metadata.xml:
+ Install all monotyped versions instead of using USE flags.
*droid-112_p1-r1 (07 Jan 2010)
diff --git a/media-fonts/droid/droid-112_p1-r1.ebuild b/media-fonts/droid/droid-112_p1-r1.ebuild
index 66943069c2c4..d9ad2b7d35ba 100644
--- a/media-fonts/droid/droid-112_p1-r1.ebuild
+++ b/media-fonts/droid/droid-112_p1-r1.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-112_p1-r1.ebuild,v 1.2 2010/01/07 20:12:38 spatz Exp $
EAPI="2"
@@ -13,13 +13,13 @@ MY_PN="${PN/d/D}"
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 ) )"
+ mirror://gentoo/${MY_PN}SansMonoSlashed-${PV}.ttf.bz2
+ mirror://gentoo/${MY_PN}SansMonoDotted-${PV}.ttf.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="dotted slashed"
+IUSE=""
S=${WORKDIR}/${PN}
FONT_S=${WORKDIR}/${PN}
@@ -28,12 +28,11 @@ 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
+src_unpack() {
+ unpack ${A}
+
+ mv "${WORKDIR}/${MY_PN}SansMonoSlashed-${PV}.ttf" \
+ "${S}/${MY_PN}SansMonoSlashed.ttf"
+ mv "${WORKDIR}/${MY_PN}SansMonoDotted-${PV}.ttf" \
+ "${S}/${MY_PN}SansMonoDotted.ttf"
}
diff --git a/media-fonts/droid/metadata.xml b/media-fonts/droid/metadata.xml
index 22694e8ffcc1..e5b3bfb775bd 100644
--- a/media-fonts/droid/metadata.xml
+++ b/media-fonts/droid/metadata.xml
@@ -6,8 +6,4 @@
<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>