2021-01-02 15:10:28 +08:00
|
|
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2018-02-03 17:07:02 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2018-02-03 17:07:02 +08:00
|
|
|
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"
|
|
|
|
|
2021-03-19 17:31:14 +08:00
|
|
|
version('0.6.13', sha256='767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4')
|
2019-10-11 13:44:41 +08:00
|
|
|
version('0.6.12', sha256='ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860')
|
2018-02-03 17:07:02 +08:00
|
|
|
|
|
|
|
depends_on('glib')
|
|
|
|
depends_on('libxml2')
|
2021-03-19 17:31:14 +08:00
|
|
|
depends_on('gtk-doc', type='build')
|
2020-08-11 16:14:22 +08:00
|
|
|
depends_on('pkgconfig', type='build')
|
2021-03-19 17:31:14 +08:00
|
|
|
|
|
|
|
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']
|