mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
media-gfx/ttfautohint: add 1.8.4
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST ttfautohint-1.8.3.tar.gz 3458637 BLAKE2B 28ca1daa5dc60f099e9524a3e6bede157569f730b50acb055862404b22bf348f34e5ae2465c3ebb9e9dd02d2ff6e0f3a8c47fa5c6e3b72bbdedacbaa393b4992 SHA512 cbf50a99d984955a9c23590870ae09c0954f0c1d3e8e9db4e8139d8e22d6f6a636eb8ea9c8a8322b020fcbbe70dcdbc36670a40356017033f559cb4f87226abf
|
||||
DIST ttfautohint-1.8.4.tar.gz 3539332 BLAKE2B 314c5196f01828d180d3b3e9b09c66fad9c8a8958f36003c8ae0d54b945391cb53c40f92cf57ff70e57b5a21a6aa46bc14ff9419d4b877421fdc2500ce9004e3 SHA512 983517c360f8e65ccbf17f28f045f1c0a45078707f2e30f465a7b6df4014f0ec212780ea2703bc16be1a3c6ede70f71ea3051c067fbfd06eff40ae3b20840eec
|
||||
|
||||
54
media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild
Normal file
54
media-gfx/ttfautohint/ttfautohint-1.8.4.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools qmake-utils
|
||||
|
||||
DESCRIPTION="A library for automated hinting of truetype fonts"
|
||||
HOMEPAGE="https://www.freetype.org/ttfautohint/index.html"
|
||||
SRC_URI="https://download.savannah.gnu.org/releases/freetype/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="|| ( FTL GPL-2+ )"
|
||||
SLOT="0"
|
||||
IUSE="doc qt5"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/harfbuzz
|
||||
media-libs/freetype
|
||||
qt5? ( dev-qt/qtgui:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-apps/help2man"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
#set version
|
||||
sed -e "s|m4_esyscmd.*VERSION])|${PV//_/-}|" -i configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local _q="$(qt5_get_bindir)"
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
$(use_with doc)
|
||||
$(use_with qt5 qt)
|
||||
)
|
||||
|
||||
QMAKE="${_q}/qmake" MOC="${_q}/moc" UIC="${_q}/uic" RCC="${_q}/rcc" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
emake "${PN}.1" $(usex qt5 "${PN}GUI.1" '') -C frontend
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman frontend/*.1
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user