summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2017-10-20 21:27:37 +0200
committerSebastian Pipping <sping@gentoo.org>2017-10-20 21:30:15 +0200
commit1f4e22ec6249cc16e1a12eb800ed3885928127da (patch)
tree27a18e0e921b6e2fbe99c00ef970dd3159298236 /app-text/dvisvgm
parentsys-kernel/ck-sources: version bump to 4.9.57. (diff)
downloadgentoo-1f4e22ec6249cc16e1a12eb800ed3885928127da.tar.gz
gentoo-1f4e22ec6249cc16e1a12eb800ed3885928127da.tar.bz2
gentoo-1f4e22ec6249cc16e1a12eb800ed3885928127da.zip
app-text/dvisvgm: 2.2
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'app-text/dvisvgm')
-rw-r--r--app-text/dvisvgm/Manifest1
-rw-r--r--app-text/dvisvgm/dvisvgm-2.2.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/app-text/dvisvgm/Manifest b/app-text/dvisvgm/Manifest
index 964ae6809d62..39353ea219eb 100644
--- a/app-text/dvisvgm/Manifest
+++ b/app-text/dvisvgm/Manifest
@@ -1,2 +1,3 @@
DIST dvisvgm-1.10.tar.gz 831654 SHA256 339f4dcef0916c1daaf1b65d966737279464ec6858b28fda7196d8030d7f3735 SHA512 2d3cb2e6b36d6a3b996347b6031f67bb89bc76d2bf0244347e512e66333536638caf855d9856771b10245387abae99a06d4c6fe33def814cae639810b4cfe906 WHIRLPOOL 398e5378ce6e84768b73f7d6e9776eb177619de785a70d8fa416fecb275903e49c065ec23d78881eede9d4944525ecfba44d34a5d1b74b87dc1ef6ecf127b869
DIST dvisvgm-2.1.3.tar.gz 2802278 SHA256 553215051e85882ab4658c294ed0483cd5009d295f0a38dfccb480367abfd170 SHA512 dfd6e94b28dcdf2d1be236f3f29eaf4e3e5b7bb34544cdd55ae09de612b02561dd782b693a9a94eea07420c795d31ef210eba34cb663d7de98f438c089369ff2 WHIRLPOOL 0baf0fff0172f9ff7dc95a848b69af240d6008f9f6e306f613f73b02a54d1922407cd12560fe166fd758de5f6f4a04e00e5d50af8098d09d59be84d4353e6962
+DIST dvisvgm-2.2.tar.gz 2841354 SHA256 8b3a1f12782c2d84afa595cd1952756ee9f74058bfd0fa98e4ac6a06276ef6ef SHA512 310b3272f41d3378ddfb5663d4b6906f7b1cd1dfbbcff0ad249b27c5c37290c5eb496ec84a536f3166a51de4708f6069da9c6811bb7fc9e667d00b1c3aaafd53 WHIRLPOOL eb59e83ff8ca32e1f74015ed3d019d4be128a92a912f503283cc951cf09b4359de29b6604bd908cddf0afda7aced7f9c63ff7adfb2179727f993c6521b7b9972
diff --git a/app-text/dvisvgm/dvisvgm-2.2.ebuild b/app-text/dvisvgm/dvisvgm-2.2.ebuild
new file mode 100644
index 000000000000..4361100b9e29
--- /dev/null
+++ b/app-text/dvisvgm/dvisvgm-2.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Converts DVI files to SVG"
+HOMEPAGE="http://dvisvgm.bplaced.net/"
+SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="test"
+# Tests don't work from $WORKDIR: kpathsea tries to search in relative
+# directories from where the binary is executed.
+# We cannot really use absolute paths in the kpathsea configuration since that
+# would make it harder for prefix installs.
+RESTRICT="test"
+
+RDEPEND="virtual/tex-base
+ app-text/ghostscript-gpl
+ >=media-gfx/potrace-1.10-r1
+ media-libs/freetype:2
+ dev-libs/kpathsea
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-text/xmlto
+ app-text/asciidoc
+ dev-libs/libxslt
+ virtual/pkgconfig
+ test? ( dev-cpp/gtest )"
+
+src_configure() {
+ has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
+ default
+}