1 |
commit: de05aa9df628f997e6c81ff1f3d40ca66667f20b |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 26 18:43:28 2018 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 26 18:44:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de05aa9d |
7 |
|
8 |
media-fonts/liberation-fonts: Revision bump 2.00.1-r3 |
9 |
|
10 |
EAPI 6. |
11 |
|
12 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
13 |
|
14 |
.../liberation-fonts-2.00.1-r3.ebuild | 41 ++++++++++++++++++++++ |
15 |
1 file changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..6038e947fe2 |
20 |
--- /dev/null |
21 |
+++ b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild |
22 |
@@ -0,0 +1,41 @@ |
23 |
+# Copyright 1999-2018 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python2_7 ) |
29 |
+ |
30 |
+inherit font python-any-r1 |
31 |
+ |
32 |
+DESCRIPTION="A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat" |
33 |
+HOMEPAGE="https://pagure.io/liberation-fonts" |
34 |
+SRC_URI="!fontforge? ( https://releases.pagure.org/${PN}/${PN}-ttf-${PV}.tar.gz ) |
35 |
+fontforge? ( https://releases.pagure.org/${PN}/${P}.tar.gz )" |
36 |
+ |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-solaris" |
38 |
+SLOT="0" |
39 |
+LICENSE="OFL-1.1" |
40 |
+IUSE="fontforge X" |
41 |
+ |
42 |
+FONT_SUFFIX="ttf" |
43 |
+ |
44 |
+FONT_CONF=( "${FILESDIR}/60-liberation.conf" ) |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ fontforge? ( |
48 |
+ ${PYTHON_DEPS} |
49 |
+ media-gfx/fontforge |
50 |
+ dev-python/fonttools |
51 |
+ )" |
52 |
+RDEPEND="" |
53 |
+ |
54 |
+pkg_setup() { |
55 |
+ if use fontforge; then |
56 |
+ FONT_S="${S}/${PN}-ttf-${PV}" |
57 |
+ python-any-r1_pkg_setup |
58 |
+ else |
59 |
+ FONT_S="${WORKDIR}/${PN}-ttf-${PV}" |
60 |
+ S="${FONT_S}" |
61 |
+ fi |
62 |
+ font_pkg_setup |
63 |
+} |