add a lib for rendering text in sdl2 and rules to make in makefile

This commit is contained in:
2026-01-21 14:45:11 -06:00
parent f3c0aafe2f
commit e7d9c013f4
1754 changed files with 850297 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
/freetype2
/glib
/packagecache
/benchmark-*
/cairo
/ragel-6.10

View File

@@ -0,0 +1,8 @@
[wrap-git]
directory=cairo
url=https://gitlab.freedesktop.org/cairo/cairo.git
depth=1
revision=1.17.8
[provide]
dependency_names = cairo

View File

@@ -0,0 +1,9 @@
[wrap-file]
directory = freetype-2.13.0
source_url = https://download.savannah.gnu.org/releases/freetype/freetype-2.13.0.tar.xz
source_filename = freetype-2.13.0.tar.xz
source_hash = 5ee23abd047636c24b2d43c6625dcafc66661d1aca64dec9e0d05df29592624c
[provide]
freetype2 = freetype_dep
freetype = freetype_dep

View File

@@ -0,0 +1,11 @@
[wrap-file]
directory = glib-2.74.4
source_url = https://download.gnome.org/sources/glib/2.74/glib-2.74.4.tar.xz
source_fallback_url = https://ftp.acc.umu.se/pub/gnome/sources/glib/2.74/glib-2.74.4.tar.xz
source_filename = glib-2.74.4.tar.xz
source_hash = 0e82da5ea129b4444227c7e4a9e598f7288d1994bf63f129c44b90cfd2432172
wrapdb_version = 2.74.4-1
[provide]
dependency_names = gthread-2.0, gobject-2.0, gmodule-no-export-2.0, gmodule-export-2.0, gmodule-2.0, glib-2.0, gio-2.0, gio-windows-2.0, gio-unix-2.0
program_names = glib-genmarshal, glib-mkenums, glib-compile-schemas, glib-compile-resources, gio-querymodules, gdbus-codegen

View File

@@ -0,0 +1,12 @@
[wrap-file]
directory = benchmark-1.7.1
source_url = https://github.com/google/benchmark/archive/refs/tags/v1.7.1.tar.gz
source_filename = benchmark-1.7.1.tar.gz
source_hash = 6430e4092653380d9dc4ccb45a1e2dc9259d581f4866dc0759713126056bc1d7
patch_filename = google-benchmark_1.7.1-1_patch.zip
patch_url = https://wrapdb.mesonbuild.com/v2/google-benchmark_1.7.1-1/get_patch
patch_hash = 9c6694328ac971cd781aa67c45c64291c087f118e23b75946f52670caacf49b7
wrapdb_version = 1.7.1-1
[provide]
benchmark = google_benchmark_dep

View File

@@ -0,0 +1,66 @@
project('ragel', 'c', 'cpp',
version : '6.10',
default_options: [
'cpp_eh=default',
],
)
cpp = meson.get_compiler('cpp')
add_project_arguments(cpp.get_supported_arguments([
'-fexceptions',
]), language: 'cpp')
conf = configuration_data()
conf.set_quoted('PACKAGE', meson.project_name())
conf.set_quoted('VERSION', meson.project_version())
configure_file(
output : 'config.h',
configuration : conf
)
ragel_sources = files(
'ragel/buffer.h', 'ragel/cdcodegen.cpp', 'ragel/cdcodegen.h',
'ragel/cdfflat.cpp', 'ragel/cdfflat.h', 'ragel/cdfgoto.cpp',
'ragel/cdfgoto.h', 'ragel/cdflat.cpp', 'ragel/cdflat.h',
'ragel/cdftable.cpp', 'ragel/cdftable.h', 'ragel/cdgoto.cpp',
'ragel/cdgoto.h', 'ragel/cdipgoto.cpp', 'ragel/cdipgoto.h',
'ragel/cdsplit.cpp', 'ragel/cdsplit.h', 'ragel/cdtable.cpp',
'ragel/cdtable.h', 'ragel/common.cpp', 'ragel/common.h',
'ragel/cscodegen.cpp', 'ragel/cscodegen.h', 'ragel/csfflat.cpp',
'ragel/csfflat.h', 'ragel/csfgoto.cpp', 'ragel/csfgoto.h',
'ragel/csflat.cpp', 'ragel/csflat.h', 'ragel/csftable.cpp',
'ragel/csftable.h', 'ragel/csgoto.cpp', 'ragel/csgoto.h',
'ragel/csipgoto.cpp', 'ragel/csipgoto.h', 'ragel/cssplit.cpp',
'ragel/cssplit.h', 'ragel/cstable.cpp', 'ragel/cstable.h',
'ragel/dotcodegen.cpp', 'ragel/dotcodegen.h', 'ragel/fsmap.cpp',
'ragel/fsmattach.cpp', 'ragel/fsmbase.cpp', 'ragel/fsmgraph.cpp',
'ragel/fsmgraph.h', 'ragel/fsmmin.cpp', 'ragel/fsmstate.cpp',
'ragel/gendata.cpp', 'ragel/gendata.h', 'ragel/gocodegen.cpp',
'ragel/gocodegen.h', 'ragel/gofflat.cpp', 'ragel/gofflat.h',
'ragel/gofgoto.cpp', 'ragel/gofgoto.h', 'ragel/goflat.cpp', 'ragel/goflat.h',
'ragel/goftable.cpp', 'ragel/goftable.h', 'ragel/gogoto.cpp',
'ragel/gogoto.h', 'ragel/goipgoto.cpp', 'ragel/goipgoto.h',
'ragel/gotable.cpp', 'ragel/gotable.h', 'ragel/gotablish.cpp',
'ragel/gotablish.h', 'ragel/inputdata.cpp', 'ragel/inputdata.h',
'ragel/javacodegen.cpp', 'ragel/javacodegen.h', 'ragel/main.cpp',
'ragel/mlcodegen.cpp', 'ragel/mlcodegen.h', 'ragel/mlfflat.cpp',
'ragel/mlfflat.h', 'ragel/mlfgoto.cpp', 'ragel/mlfgoto.h',
'ragel/mlflat.cpp', 'ragel/mlflat.h', 'ragel/mlftable.cpp',
'ragel/mlftable.h', 'ragel/mlgoto.cpp', 'ragel/mlgoto.h',
'ragel/mltable.cpp', 'ragel/mltable.h', 'ragel/parsedata.cpp',
'ragel/parsedata.h', 'ragel/parsetree.cpp', 'ragel/parsetree.h',
'ragel/pcheck.h', 'ragel/ragel.h', 'ragel/rbxgoto.cpp', 'ragel/rbxgoto.h',
'ragel/redfsm.cpp', 'ragel/redfsm.h', 'ragel/rlparse.cpp', 'ragel/rlparse.h',
'ragel/rlscan.cpp', 'ragel/rlscan.h', 'ragel/rubycodegen.cpp',
'ragel/rubycodegen.h', 'ragel/rubyfflat.cpp', 'ragel/rubyfflat.h',
'ragel/rubyflat.cpp', 'ragel/rubyflat.h', 'ragel/rubyftable.cpp',
'ragel/rubyftable.h', 'ragel/rubytable.cpp', 'ragel/rubytable.h',
'ragel/version.h', 'ragel/xmlcodegen.cpp', 'ragel/xmlcodegen.h',
)
ragel = executable(
meson.project_name(),
ragel_sources,
include_directories : ['aapl', 'ragel'],
install : true,
)

View File

@@ -0,0 +1,11 @@
[wrap-file]
directory = ragel-6.10
source_url = https://www.colm.net/files/ragel/ragel-6.10.tar.gz
source_filename = ragel-6.10.tar.gz
source_hash = 5f156edb65d20b856d638dd9ee2dfb43285914d9aa2b6ec779dac0270cd56c3f
patch_directory = ragel
[provide]
ragel = ragel