summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-04-19 21:29:12 +0200
committerJohannes Huber <johu@gentoo.org>2018-04-19 21:29:28 +0200
commit216dbfddcac2923e5bec4f0e4b7bb744216bba33 (patch)
treec315e853eb54d3e09fd782200906aba45e0a3ef1 /media-fonts/droid
parentgames-emulation/mgba: Fixed several QA issues (diff)
downloadgentoo-216dbfddcac2923e5bec4f0e4b7bb744216bba33.tar.gz
gentoo-216dbfddcac2923e5bec4f0e4b7bb744216bba33.tar.bz2
gentoo-216dbfddcac2923e5bec4f0e4b7bb744216bba33.zip
media-fonts/droid: Revision bump 113-r5
EAPI 6 Package-Manager: Portage-2.3.30, Repoman-2.3.9
Diffstat (limited to 'media-fonts/droid')
-rw-r--r--media-fonts/droid/droid-113-r5.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/media-fonts/droid/droid-113-r5.ebuild b/media-fonts/droid/droid-113-r5.ebuild
new file mode 100644
index 000000000000..f38574c7cf84
--- /dev/null
+++ b/media-fonts/droid/droid-113-r5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit font
+
+MY_PN="${PN/d/D}"
+
+# $PV is a build number, use fontforge to find it out. 113 was taken from:
+# https://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="https://code.google.com/android/RELEASENOTES.html http://www.cosmix.org/software/"
+SRC_URI="mirror://gentoo/${P}-r1.tar.bz2
+ mirror://gentoo/${MY_PN}SansMonoSlashed-112_p1.ttf.bz2
+ mirror://gentoo/${MY_PN}SansMonoDotted-112_p1.ttf.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+FONT_CONF=(
+ "${FILESDIR}/59-google-droid-sans-mono.conf"
+ "${FILESDIR}/59-google-droid-sans.conf"
+ "${FILESDIR}/59-google-droid-serif.conf"
+)
+
+src_prepare() {
+ default
+ mv "${WORKDIR}/${MY_PN}SansMonoSlashed-112_p1.ttf" \
+ "${S}/${MY_PN}SansMonoSlashed.ttf" || die
+ mv "${WORKDIR}/${MY_PN}SansMonoDotted-112_p1.ttf" \
+ "${S}/${MY_PN}SansMonoDotted.ttf" || die
+ rm Ahem.ttf || die # bug 530158
+}