From cbf1e6db9570125f7566c5ddb35445cc9c588fd5 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 23 Nov 2022 23:29:04 +0100 Subject: [PATCH] {vis}[GCCcore/12.2.0] HarfBuzz v5.3.1, GObject-Introspection v1.74.0 --- ...ect-Introspection-1.74.0-GCCcore-12.2.0.eb | 44 +++++++++++++++++++ .../HarfBuzz/HarfBuzz-5.3.1-GCCcore-12.2.0.eb | 38 ++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 easybuild/easyconfigs/g/GObject-Introspection/GObject-Introspection-1.74.0-GCCcore-12.2.0.eb create mode 100644 easybuild/easyconfigs/h/HarfBuzz/HarfBuzz-5.3.1-GCCcore-12.2.0.eb diff --git a/easybuild/easyconfigs/g/GObject-Introspection/GObject-Introspection-1.74.0-GCCcore-12.2.0.eb b/easybuild/easyconfigs/g/GObject-Introspection/GObject-Introspection-1.74.0-GCCcore-12.2.0.eb new file mode 100644 index 00000000000..f4d572664a7 --- /dev/null +++ b/easybuild/easyconfigs/g/GObject-Introspection/GObject-Introspection-1.74.0-GCCcore-12.2.0.eb @@ -0,0 +1,44 @@ +easyblock = 'MesonNinja' + +name = 'GObject-Introspection' +version = '1.74.0' + +homepage = 'https://gi.readthedocs.io/en/latest/' +description = """GObject introspection is a middleware layer between C libraries + (using GObject) and language bindings. The C library can be scanned at + compile time and generate a metadata file, in addition to the actual + native C library. Then at runtime, language bindings can read this + metadata and automatically provide bindings to call into the C library.""" + +toolchain = {'name': 'GCCcore', 'version': '12.2.0'} + +source_urls = [FTPGNOME_SOURCE] +sources = [SOURCELOWER_TAR_XZ] +checksums = ['347b3a719e68ba4c69ff2d57ee2689233ea8c07fc492205e573386779e42d653'] + +builddependencies = [ + ('binutils', '2.39'), + ('pkgconf', '1.9.3'), + ('Meson', '0.64.0'), + ('Ninja', '1.11.1'), + ('flex', '2.6.4'), + ('Bison', '3.8.2'), + ('cairo', '1.17.4'), +] + +dependencies = [ + ('Python', '3.10.8'), + ('GLib', '2.75.0'), + ('libffi', '3.4.4'), + ('util-linux', '2.38.1'), +] + +preconfigopts = "env GI_SCANNER_DISABLE_CACHE=true " + +sanity_check_paths = { + 'files': ['bin/g-ir-%s' % x for x in ['annotation-tool', 'compiler', 'generate', 'scanner']] + + ['lib/libgirepository-1.0.' + SHLIB_EXT], + 'dirs': ['include', 'share'] +} + +moduleclass = 'devel' diff --git a/easybuild/easyconfigs/h/HarfBuzz/HarfBuzz-5.3.1-GCCcore-12.2.0.eb b/easybuild/easyconfigs/h/HarfBuzz/HarfBuzz-5.3.1-GCCcore-12.2.0.eb new file mode 100644 index 00000000000..e39adfe0f43 --- /dev/null +++ b/easybuild/easyconfigs/h/HarfBuzz/HarfBuzz-5.3.1-GCCcore-12.2.0.eb @@ -0,0 +1,38 @@ +easyblock = 'ConfigureMake' + +name = 'HarfBuzz' +version = '5.3.1' + +homepage = 'https://www.freedesktop.org/wiki/Software/HarfBuzz' +description = """HarfBuzz is an OpenType text shaping engine.""" + +toolchain = {'name': 'GCCcore', 'version': '12.2.0'} + +github_account = 'harfbuzz' +source_urls = [GITHUB_SOURCE] +sources = ['%(version)s.tar.gz'] +checksums = ['77c8c903f4539b050a6d3a5be79705c7ccf7b1cb66d68152a651486e261edbd2'] + +builddependencies = [ + ('binutils', '2.39'), + ('GObject-Introspection', '1.74.0'), + ('pkgconf', '1.9.3'), + ('Autotools', '20220317'), +] + +dependencies = [ + ('GLib', '2.75.0'), + ('ICU', '72.1'), + ('cairo', '1.17.4'), + ('freetype', '2.12.1'), +] + +preconfigopts = "./autogen.sh && " +configopts = "--enable-introspection=yes --with-gobject=yes --enable-static --enable-shared --with-cairo " + +sanity_check_paths = { + 'files': ['lib/libharfbuzz.%s' % SHLIB_EXT, 'bin/hb-view'], + 'dirs': [] +} + +moduleclass = 'vis'