mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
app-text/dvipng: bump to 1.17
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST dvipng-1.15.tar.gz 171529 BLAKE2B 0653e1b6cace30cd510c0a4f7a5ac4c88d3e17a6283693b93202529b1453dcc1617ed5906112206bfb872af093d871163cc6a117be13575211712901ac541070 SHA512 54647526a9d3a26d2ba9c7ef17f285a426d9df06ffb1d5336a1da95cbf24cd17505ba7f6b1ffd14a0beb7f91ab3e519612ce3d3ea3f30c278733127dfbf07c5c
|
||||
DIST dvipng-1.17.tar.gz 171049 BLAKE2B 7165135d818aa399d051977908bf7865774803127312fec515284bd72c4f9e88ffd7f1f7c3c8f1b5adf324fdbb9ac8d039582ede2398123db6ee7655500ac32a SHA512 b56faa6f2b24572233e1f0d9b74122b3bb7fed22cf47c9c05f5530691854dffc9a1953b51803f7d539f9a9de364160d557560c68c369820212837bdbacfb80c7
|
||||
|
||||
42
app-text/dvipng/dvipng-1.17.ebuild
Normal file
42
app-text/dvipng/dvipng-1.17.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Translate DVI files into PNG or GIF graphics"
|
||||
HOMEPAGE="http://dvipng.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+ Texinfo-manual"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="truetype test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/kpathsea-6.2.1:=
|
||||
media-libs/gd:2=[jpeg,png]
|
||||
media-libs/libpng:0=
|
||||
virtual/latex-base
|
||||
sys-libs/zlib
|
||||
truetype? ( >=media-libs/freetype-2.1.5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/texi2dvi
|
||||
virtual/pkgconfig
|
||||
test? ( dev-texlive/texlive-fontsrecommended )"
|
||||
|
||||
DOCS="ChangeLog README RELEASE"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
|
||||
if ! use truetype; then
|
||||
sed -i -e 's/\(--exists.*\)freetype2/\1dIsAbLe/' configure \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
econf
|
||||
}
|
||||
Reference in New Issue
Block a user