blob: 49b2abefd0f8179337e99bc93f176adea955c304 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Pdf2svg(AutotoolsPackage):
"""A simple PDF to SVG converter using the Poppler and Cairo libraries."""
homepage = "http://www.cityinthesky.co.uk/opensource/pdf2svg"
url = "https://github.com/dawbarton/pdf2svg/archive/v0.2.3.tar.gz"
version('0.2.3', 'd398b3b1c1979f554596238a44f12123')
version('0.2.2', 'f7e0d2213f9e1422cee9421e18f72553')
depends_on('pkgconfig@0.9.0:', type='build')
depends_on('cairo@1.2.6:')
depends_on('poppler@0.5.4:+glib')
# Note: the latest version of poppler requires glib 2.41+,
# but pdf2svg uses g_type_init, which is deprecated in glib 2.36+.
# At some point, we will need to force pdf2svg to use older
# versions of poppler and glib.
|