summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild')
-rw-r--r--media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild
deleted file mode 100644
index 15f6326a8b7b..000000000000
--- a/media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit font python-any-r1
-
-DESCRIPTION="A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat"
-HOMEPAGE="https://github.com/liberationfonts/liberation-fonts"
-SRC_URI="fontforge? ( https://github.com/liberationfonts/liberation-fonts/files/6060974/${P}.tar.gz )
- !fontforge? ( https://github.com/liberationfonts/liberation-fonts/files/6060976/${PN}-ttf-${PV}.tar.gz )
-"
-
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ppc ppc64 ~riscv 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" )
-
-BDEPEND="
- fontforge? (
- ${PYTHON_DEPS}
- media-gfx/fontforge
- $(python_gen_any_dep 'dev-python/fonttools[${PYTHON_USEDEP}]')
- )"
-
-python_check_deps() {
- has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
- default
- if use fontforge ; then
- sed -i "s/= python3/= ${EPYTHON}/" Makefile || die
- fi
-}
-
-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
-}