Add libthai and libdatrie packages (#9718)

This commit is contained in:
Ed Reel
2024-04-25 11:36:53 -05:00
committed by GitHub
parent 6d49907a07
commit e4eb69df68
2 changed files with 44 additions and 0 deletions

21
packages/libdatrie.rb Normal file
View File

@@ -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

23
packages/libthai.rb Normal file
View File

@@ -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