Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/ttfautohint/
Date: Mon, 04 Oct 2021 22:30:29
Message-Id: 1633386621.f37f4842eb5bc64839c3aec1566e31ac3056f9cb.Alessandro-Barbieri@gentoo
1 commit: f37f4842eb5bc64839c3aec1566e31ac3056f9cb
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 4 22:20:14 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Mon Oct 4 22:30:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f37f4842
7
8 media-gfx/ttfautohint: add 1.8.4
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 media-gfx/ttfautohint/Manifest | 1 +
13 media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild | 54 ++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/media-gfx/ttfautohint/Manifest b/media-gfx/ttfautohint/Manifest
17 index 5929dc565..d16155e0e 100644
18 --- a/media-gfx/ttfautohint/Manifest
19 +++ b/media-gfx/ttfautohint/Manifest
20 @@ -1 +1,2 @@
21 DIST ttfautohint-1.8.3.tar.gz 3458637 BLAKE2B 28ca1daa5dc60f099e9524a3e6bede157569f730b50acb055862404b22bf348f34e5ae2465c3ebb9e9dd02d2ff6e0f3a8c47fa5c6e3b72bbdedacbaa393b4992 SHA512 cbf50a99d984955a9c23590870ae09c0954f0c1d3e8e9db4e8139d8e22d6f6a636eb8ea9c8a8322b020fcbbe70dcdbc36670a40356017033f559cb4f87226abf
22 +DIST ttfautohint-1.8.4.tar.gz 3539332 BLAKE2B 314c5196f01828d180d3b3e9b09c66fad9c8a8958f36003c8ae0d54b945391cb53c40f92cf57ff70e57b5a21a6aa46bc14ff9419d4b877421fdc2500ce9004e3 SHA512 983517c360f8e65ccbf17f28f045f1c0a45078707f2e30f465a7b6df4014f0ec212780ea2703bc16be1a3c6ede70f71ea3051c067fbfd06eff40ae3b20840eec
23
24 diff --git a/media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild b/media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild
25 new file mode 100644
26 index 000000000..858d5e5fd
27 --- /dev/null
28 +++ b/media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit autotools qmake-utils
36 +
37 +DESCRIPTION="A library for automated hinting of truetype fonts"
38 +HOMEPAGE="https://www.freetype.org/ttfautohint/index.html"
39 +SRC_URI="https://download.savannah.gnu.org/releases/freetype/${P}.tar.gz"
40 +
41 +KEYWORDS="~amd64"
42 +LICENSE="|| ( FTL GPL-2+ )"
43 +SLOT="0"
44 +IUSE="doc qt5"
45 +
46 +RDEPEND="
47 + media-libs/harfbuzz
48 + media-libs/freetype
49 + qt5? ( dev-qt/qtgui:5 )
50 +"
51 +DEPEND="${RDEPEND}"
52 +BDEPEND="sys-apps/help2man"
53 +
54 +src_prepare() {
55 + default
56 + #set version
57 + sed -e "s|m4_esyscmd.*VERSION])|${PV//_/-}|" -i configure.ac || die
58 +
59 + eautoreconf
60 +}
61 +
62 +src_configure() {
63 + local _q="$(qt5_get_bindir)"
64 + local myeconfargs=(
65 + --disable-static
66 + $(use_with doc)
67 + $(use_with qt5 qt)
68 + )
69 +
70 + QMAKE="${_q}/qmake" MOC="${_q}/moc" UIC="${_q}/uic" RCC="${_q}/rcc" econf "${myeconfargs[@]}"
71 +}
72 +
73 +src_compile() {
74 + default
75 + emake "${PN}.1" $(usex qt5 "${PN}GUI.1" '') -C frontend
76 +}
77 +
78 +src_install() {
79 + default
80 + doman frontend/*.1
81 + find "${ED}" -name '*.la' -delete || die
82 + find "${ED}" -name '*.a' -delete || die
83 +}