From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3DF2115808B for ; Mon, 7 Mar 2022 17:53:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1438CE0830; Mon, 7 Mar 2022 17:53:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E05DEE0830 for ; Mon, 7 Mar 2022 17:53:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1792343059 for ; Mon, 7 Mar 2022 17:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23D5E2EB for ; Mon, 7 Mar 2022 17:52:58 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1646675450.c26119a43025766033f3e4a93acc8a9fc6aea6d0.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/ttfautohint/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/ttfautohint/Manifest media-gfx/ttfautohint/metadata.xml media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild X-VCS-Directories: media-gfx/ttfautohint/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: c26119a43025766033f3e4a93acc8a9fc6aea6d0 X-VCS-Branch: master Date: Mon, 7 Mar 2022 17:52:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d88b17d8-99aa-4549-adb5-8106f00189ef X-Archives-Hash: d36b7a6028f340ffdb0e90c8753bd7f4 commit: c26119a43025766033f3e4a93acc8a9fc6aea6d0 Author: Matthew Smith gentoo org> AuthorDate: Mon Mar 7 17:50:50 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Mon Mar 7 17:50:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c26119a4 media-gfx/ttfautohint: initial import at 1.8.4 Originally from ::4nykey and ::guru, then modified before inclusion into ::gentoo. Thanks-to: Aleksei Kaveshnikov <4nykey gmail.com> Thanks-to: Alessandro Barbieri gmail.com> Signed-off-by: Matthew Smith gentoo.org> media-gfx/ttfautohint/Manifest | 1 + media-gfx/ttfautohint/metadata.xml | 12 ++++++ media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild | 58 ++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/media-gfx/ttfautohint/Manifest b/media-gfx/ttfautohint/Manifest new file mode 100644 index 000000000000..58e86e42250d --- /dev/null +++ b/media-gfx/ttfautohint/Manifest @@ -0,0 +1 @@ +DIST ttfautohint-1.8.4.tar.gz 3539332 BLAKE2B 314c5196f01828d180d3b3e9b09c66fad9c8a8958f36003c8ae0d54b945391cb53c40f92cf57ff70e57b5a21a6aa46bc14ff9419d4b877421fdc2500ce9004e3 SHA512 983517c360f8e65ccbf17f28f045f1c0a45078707f2e30f465a7b6df4014f0ec212780ea2703bc16be1a3c6ede70f71ea3051c067fbfd06eff40ae3b20840eec diff --git a/media-gfx/ttfautohint/metadata.xml b/media-gfx/ttfautohint/metadata.xml new file mode 100644 index 000000000000..412e6f87e320 --- /dev/null +++ b/media-gfx/ttfautohint/metadata.xml @@ -0,0 +1,12 @@ + + + + + matthew@gentoo.org + Matthew Smith + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + diff --git a/media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild b/media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild new file mode 100644 index 000000000000..7df7171bcf56 --- /dev/null +++ b/media-gfx/ttfautohint/ttfautohint-1.8.4.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" +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 +}