/[gentoo-x86]/media-fonts/droid/droid-113-r3.ebuild
Gentoo

Contents of /media-fonts/droid/droid-113-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Nov 7 12:56:28 2014 UTC (5 years, 2 months ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Revbump to propagate fontconfig file fix (bug #528054)

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x0F9C590B7FF324F6!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-113-r2.ebuild,v 1.3 2014/01/18 12:06:03 vapier Exp $
4
5 EAPI=4
6
7 inherit font
8
9 MY_PN="${PN/d/D}"
10
11 # $PV is a build number, use fontforge to find it out. 113 was taken from:
12 # http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD
13 DESCRIPTION="Font family from Google's Android project"
14 HOMEPAGE="http://code.google.com/android/RELEASENOTES.html http://www.cosmix.org/software/"
15 SRC_URI="mirror://gentoo/${P}-r1.tar.bz2
16 mirror://gentoo/${MY_PN}SansMonoSlashed-112_p1.ttf.bz2
17 mirror://gentoo/${MY_PN}SansMonoDotted-112_p1.ttf.bz2"
18
19 LICENSE="Apache-2.0"
20 SLOT="0"
21 KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
22 IUSE=""
23
24 S="${WORKDIR}/${PN}"
25 FONT_S="${S}"
26 FONT_SUFFIX="ttf"
27 FONT_CONF=(
28 "${FILESDIR}/59-google-droid-sans-mono.conf"
29 "${FILESDIR}/59-google-droid-sans.conf"
30 "${FILESDIR}/59-google-droid-serif.conf"
31 )
32
33 src_prepare() {
34 mv "${WORKDIR}/${MY_PN}SansMonoSlashed-112_p1.ttf" \
35 "${S}/${MY_PN}SansMonoSlashed.ttf"
36 mv "${WORKDIR}/${MY_PN}SansMonoDotted-112_p1.ttf" \
37 "${S}/${MY_PN}SansMonoDotted.ttf"
38 }

  ViewVC Help
Powered by ViewVC 1.1.20