Skip to content

[HarfBuzz] [package list]

HarfBuzz/2.8.2-cpeGNU-21.08 (HarfBuzz-2.8.2-cpeGNU-21.08.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/h/HarfBuzz/HarfBuzz-2.8.2-cpeGNU-21.08.eb. The corresponding module would be HarfBuzz/2.8.2-cpeGNU-21.08.

# Based on the easyduilders recipe.
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium.
easyblock = 'ConfigureMake'

local_cairo_version =        '1.17.4'        # https://www.cairographics.org/
local_GLib_version =         '2.69.1'        # https://ftp.gnome.org/pub/GNOME/sources/glib/
local_ICU_version =          '69.1'          # http://site.icu-project.org/home
local_freetype_version =     '2.10.4'        # https://download.savannah.gnu.org/releases/freetype/
local_GObject_version =      '1.68.0'        # https://github.com/GNOME/gobject-introspection/releases

local_HarfBuzz_version =     '2.8.2'          # https://www.freedesktop.org/software/harfbuzz/release/

name =    'HarfBuzz'
version = local_HarfBuzz_version

homepage = 'http://www.freedesktop.org/wiki/Software/HarfBuzz'

whatis = [
    'Description: HarfBuzz is an OpenType text shaping engine',
    'This module provides the command line tools and static and shared libraries'
]

description = """
HarfBuzz is an OpenType text shaping engine.

The current HarfBuzz codebase, formerly known as harfbuzz-ng, is versioned 1.x.x
and is stable and under active maintenance. This is what is used in latest
versions of Firefox, GNOME, ChromeOS, Chrome, LibreOffice, XeTeX, Android, and
KDE, among other places.

This module provides the command line tools and static and shared libraries.
"""

docpaths = [
    'share/gtk-doc/html/harfbuzz',
]

toolchain = {'name': 'cpeGNU', 'version': '21.08'}

# https://github.com/harfbuzz/harfbuzz/releases/download/2.8.2/harfbuzz-2.8.2.tar.xz
source_urls = ['https://github.com/harfbuzz/harfbuzz/releases/download/%(version)s']
sources =     [SOURCELOWER_TAR_XZ]
checksums =   ['d58461395ce28b9dc03903254374dd70c38c8c28c5046db123c08f7ab9417be7']

dependencies = [
    ('GLib',     local_GLib_version),
    ('ICU',      local_ICU_version),
    ('cairo',    local_cairo_version),
    ('freetype', local_freetype_version),
]

builddependencies = [
    ('buildtools',            '%(toolchain_version)s', '',               True),
    ('GObject-Introspection', local_GObject_version,   '-cray-python3.8'),
]

configopts = "--enable-introspection=yes --with-gobject=yes --enable-static --enable-shared --with-cairo "

parallel = 1

sanity_check_paths = {
    'files': ['lib/libharfbuzz.%s' % SHLIB_EXT, 'bin/hb-view'],
    'dirs':  []
}

sanity_check_commands = [
    'hb-ot-shape-closure --version',
    'hb-shape --version',
    'hb-subset --version',
    'hb-view --version',
    'pkg-config --libs harfbuzz-gobject',
    'pkg-config --libs harfbuzz-icu',
    'pkg-config --libs harfbuzz',
    'pkg-config --libs harfbuzz-subset',
]

modextrapaths = {
    'GI_TYPELIB_PATH': 'share',
    'XDG_DATA_DIRS':   'share',
}

moduleclass = 'vis'

[HarfBuzz] [package list]