spack/var/spack/repos/builtin/packages/libcroco/package.py
Gregory Lee 43f4d2da99
updated deps to get gtkplus to build (#22228)
* updated deps to get gtkplus to build

* gtk-doc requires docbook-xml 4.3

* patch gtk-doc build to find xml catalogs

* patch gtk-doc build to find xml catalogs

* patch gtk-doc build to find xml catalogs

* add new version, fix macOS build error

* reorder docbook versions from newest to oldest

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-03-19 09:31:14 +00:00

27 lines
1000 B
Python

# Copyright 2013-2021 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 Libcroco(AutotoolsPackage):
"""Libcroco is a standalone css2 parsing and manipulation library."""
homepage = "https://developer.gnome.org/libcroco"
url = "http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.12.tar.xz"
version('0.6.13', sha256='767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4')
version('0.6.12', sha256='ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860')
depends_on('glib')
depends_on('libxml2')
depends_on('gtk-doc', type='build')
depends_on('pkgconfig', type='build')
def configure_args(self):
# macOS ld does not support this flag
# https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libcroco.rb
return ['--disable-Bsymbolic']