diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild')
-rw-r--r-- | media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild b/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild new file mode 100644 index 000000000000..f24247ff6504 --- /dev/null +++ b/media-gfx/ttfautohint/ttfautohint-1.8.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools qmake-utils + +DESCRIPTION="Application and libary for hinting TrueType fonts" +HOMEPAGE="https://freetype.org/ttfautohint" +SRC_URI="https://download.savannah.gnu.org/releases/freetype/${P}.tar.gz" + +LICENSE="|| ( FTL GPL-2+ )" +SLOT="0/1.0.3" +KEYWORDS="~amd64" +IUSE="qt5" + +RDEPEND=" + media-libs/freetype + media-libs/harfbuzz:= + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig +" + +src_prepare() { + default + + # Don't invoke git to get the version number. + sed "s|m4_esyscmd.*VERSION)|${PV//_/-}|" -i configure.ac || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + --without-doc + --with-qt="$(usex qt5 $(qt5_get_bindir) no)" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + doman frontend/ttfautohint.1 + use qt5 && doman frontend/ttfautohintGUI.1 + + find "${ED}" -name '*.la' -delete || die +} |