From e4eb69df68306c6ba04f62a5e47b35e61ebd701d Mon Sep 17 00:00:00 2001 From: Ed Reel Date: Thu, 25 Apr 2024 11:36:53 -0500 Subject: [PATCH] Add libthai and libdatrie packages (#9718) --- packages/libdatrie.rb | 21 +++++++++++++++++++++ packages/libthai.rb | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 packages/libdatrie.rb create mode 100644 packages/libthai.rb diff --git a/packages/libdatrie.rb b/packages/libdatrie.rb new file mode 100644 index 000000000..0f0e609f6 --- /dev/null +++ b/packages/libdatrie.rb @@ -0,0 +1,21 @@ +require 'buildsystems/autotools' + +class Libdatrie < Autotools + description 'An Implementation of Double-Array Trie' + homepage 'https://linux.thai.net/~thep/datrie/datrie.html' + version '0.2.13' + license 'LGPL-2.1' + compatibility 'all' + source_url 'https://github.com/tlwg/libdatrie/releases/download/v0.2.13/libdatrie-0.2.13.tar.xz' + source_sha256 '12231bb2be2581a7f0fb9904092d24b0ed2a271a16835071ed97bed65267f4be' + binary_compression 'tar.zst' + + binary_sha256({ + aarch64: 'e4035b9aca7366485411309cd7a20b737bea342dd06fe65e4424fe6e8bf24ddc', + armv7l: 'e4035b9aca7366485411309cd7a20b737bea342dd06fe65e4424fe6e8bf24ddc', + i686: '0fe52f15c63b358ccb6d56e6556f1038ed1702bf150074989a7f58306b80e92c', + x86_64: '5f7d3acce68bb40cd627521d8c984b160dfee049840e004fe0f2edd64b321dff' + }) + + run_tests +end diff --git a/packages/libthai.rb b/packages/libthai.rb new file mode 100644 index 000000000..c6e9c3a27 --- /dev/null +++ b/packages/libthai.rb @@ -0,0 +1,23 @@ +require 'buildsystems/autotools' + +class Libthai < Autotools + description 'LibThai is a set of Thai language support routines.' + homepage 'https://linux.thai.net/projects/libthai/' + version '0.1.29' + license 'LGPL-2.1' + compatibility 'all' + source_url 'https://github.com/tlwg/libthai/releases/download/v0.1.29/libthai-0.1.29.tar.xz' + source_sha256 'fc80cc7dcb50e11302b417cebd24f2d30a8b987292e77e003267b9100d0f4bcd' + binary_compression 'tar.zst' + + binary_sha256({ + aarch64: '71504351a03d401107e87f373e092abe9f88f7fa737243ef10815e35a5f38799', + armv7l: '71504351a03d401107e87f373e092abe9f88f7fa737243ef10815e35a5f38799', + i686: '27aba7e03c87d89eb79709b7eb51963c4489b309ac6b5036fa7c7e742fc80d53', + x86_64: 'b07394ebe99f6ac34a95275f574c36587576ef586c2d7923a77b31ba3c023ecc' + }) + + depends_on 'libdatrie' + + run_tests +end