dev-libs/lib{thai,datrie}: treeclean, moved to ::gentoo

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2026-02-11 16:15:19 +08:00
parent b4e9bc93ef
commit fbe6e1c9d7
6 changed files with 0 additions and 139 deletions

View File

@@ -1 +0,0 @@
DIST libdatrie-0.2.14.tar.xz 325696 BLAKE2B 2d5036d360df09293d61f8233a737b80f41526c7f3d9a49a724817751ca0a3445fb161bdd86678d54d910053516dbe391d506eae166c9f3034a750a6928af3f7 SHA512 c5df387a1c9b5fae65eff69102651f4f054d873194d97faa8e329282353156fa4fb41a1ea771b24ade3f0ad2a548d85d7950a4aa6ed4e5c356bc504720e792d1

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Double-Array Trie Library"
HOMEPAGE="https://github.com/tlwg/libdatrie"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
else
SRC_URI="https://github.com/tlwg/${PN}/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="doc"
BDEPEND="doc? ( app-text/doxygen )"
src_prepare() {
default
# Fixed version if in non git project
echo ${PV} > VERSION
eautoreconf
}
src_configure() {
econf \
$(use_enable doc doxygen-doc) \
--with-html-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<upstream>
<remote-id type="github">tlwg/libdatrie</remote-id>
</upstream>
<longdescription lang="en">
This is an implementation of double-array structure for representing trie,
as proposed by Junichi Aoe.
Trie is a kind of digital search tree, an efficient indexing method in which
search time is independent of database size. It only takes O(m) search time,
where m is the length of the search string. Comparably as efficient as hashing,
trie also provides flexibility on incremental matching and key spelling
manipulation. This makes it ideal for lexical analyzers, as well as spelling
dictionaries.
</longdescription>
<longdescription lang="zh">
这是由 Junichi Aoe 提出的用于表示 Trie字典树的双数组结构实现。
Trie 是一种数字搜索树,是一种高效的索引方法,其搜索时间与数据库大小无关。
它只需要 O(m) 的搜索时间,其中 m 是搜索字符串的长度。与哈希一样高效的同时,
Trie 还提供了增量匹配和键拼写操作的灵活性。这使其非常适合用于词法分析器和
拼写词典。
</longdescription>
</pkgmetadata>

View File

@@ -1 +0,0 @@
DIST libthai-0.1.30.tar.gz 788177 BLAKE2B e6ad064945a983208f06ec9dba799d530ac859153c0229b1441ee6b7a3c45a800856fa07988f8a072010b16a0dc88c1d9a5fa3bfae77ddd4aee982a6d10fb1e7 SHA512 a33ef585c6f503eb6b609b73ddc5f3960ec58dc10fd07205eaa60596709ece47934571ca21b01a294c172f4a5fc374038a8726c1ed07aabf12b0bdd1a4565320

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A a set of Thai language support routines"
HOMEPAGE="https://github.com/tlwg/libthai"
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
else
SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="doc"
RDEPEND="dev-libs/libdatrie"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-text/doxygen )"
src_prepare() {
default
# Fixed version if in non git project
echo ${PV} > VERSION
eautoreconf
}
src_configure() {
econf \
$(use_enable doc doxygen-doc) \
--with-html-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<upstream>
<remote-id type="github">tlwg/libthai</remote-id>
</upstream>
<longdescription lang="en">
LibThai is a set of Thai language support routines aimed to ease
developers' tasks to incorporate Thai language support in their
applications. It includes important Thai-specific functions e.g. word
breaking, input and output methods as well as basic character and
string supports. LibThai is an Open Source and collaborative effort
initiated by Thai Linux Working Group and opened for all contributors.
</longdescription>
<longdescription lang="zh">
LibThai 是一套泰语支持例程,旨在帮助开发人员在其应用程序中轻松集成泰语
支持。它包含重要的泰语特定功能,如分词、输入输出方法以及基本的字符和字符
串支持。LibThai 是由泰国 Linux 工作组发起的开源协作项目,欢迎所有贡献者
参与。
</longdescription>
</pkgmetadata>