diff options
author | Johannes Huber <johu@gentoo.org> | 2018-04-26 20:43:28 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2018-04-26 20:44:49 +0200 |
commit | de05aa9df628f997e6c81ff1f3d40ca66667f20b (patch) | |
tree | d5206a5ed9e0ed523b617fef4a785cadd4ba8b9e /media-fonts | |
parent | media-fonts/liberation-fonts: Fix SRC_URI (diff) | |
download | gentoo-de05aa9df628f997e6c81ff1f3d40ca66667f20b.tar.gz gentoo-de05aa9df628f997e6c81ff1f3d40ca66667f20b.tar.bz2 gentoo-de05aa9df628f997e6c81ff1f3d40ca66667f20b.zip |
media-fonts/liberation-fonts: Revision bump 2.00.1-r3
EAPI 6.
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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 new file mode 100644 index 000000000000..6038e947fe2b --- /dev/null +++ b/media-fonts/liberation-fonts/liberation-fonts-2.00.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit font python-any-r1 + +DESCRIPTION="A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat" +HOMEPAGE="https://pagure.io/liberation-fonts" +SRC_URI="!fontforge? ( https://releases.pagure.org/${PN}/${PN}-ttf-${PV}.tar.gz ) +fontforge? ( https://releases.pagure.org/${PN}/${P}.tar.gz )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-solaris" +SLOT="0" +LICENSE="OFL-1.1" +IUSE="fontforge X" + +FONT_SUFFIX="ttf" + +FONT_CONF=( "${FILESDIR}/60-liberation.conf" ) + +DEPEND=" + fontforge? ( + ${PYTHON_DEPS} + media-gfx/fontforge + dev-python/fonttools + )" +RDEPEND="" + +pkg_setup() { + if use fontforge; then + FONT_S="${S}/${PN}-ttf-${PV}" + python-any-r1_pkg_setup + else + FONT_S="${WORKDIR}/${PN}-ttf-${PV}" + S="${FONT_S}" + fi + font_pkg_setup +} |