dev-libs/libthai: bump to 0.1.29

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2022-04-01 20:14:34 +08:00
parent d24a2d4946
commit 9b056c139a
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libthai-0.1.28.tar.gz 766571 BLAKE2B 085c59b626a4191b90e0bcf738396b701a93af66f5a92b24934b76435ed91ddbd2f394e5ab1574f2e29cbec3daeb82911de153fb20c9bb77a9875e511a2289a7 SHA512 3a5f8766e3ad1484bb01a58a800667ea0b8b805158e7b574132455bd5a703bf19f4e46db8cb8fe4a75a380d88b6343234fa10dda003dcb2a8452a21acc4b8cf8
DIST libthai-0.1.29.tar.gz 776713 BLAKE2B f41232ac1d0d596debaf282885a01a63ba8657f8adb4f0a588d845b32132440550fc79547f37e76e5340787cfc6e6d9456ad5340a912f39fefd1fbff5a213091 SHA512 2611f855ba10516897b73eaddf2bd878d82fbedebbeff4f96a2ce190f2eb66f0c9915e90752a653fa6b41de1ec673d8222004aa31e8d27119abb6ff8566dbff3

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2022 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"
RDEPEND="dev-libs/libdatrie"
DEPEND="${RDEPEND}"
BDEPEND="dev-vcs/git"
src_prepare() {
default
# Fixed version if in non git project
echo ${PV} > VERSION
# From upstreams autogen.sh, to make it utilize the autotools eclass
# Here translate the autogen.sh, equivalent to the following code
# > sh autogen.sh
# Fix html doc path
sed -i -e "s|share/doc/libthai/html|share/doc/libthai-${PV}/html|g" configure.ac || die
_elibtoolize --force
eaclocal
eautomake --add-missing
# Not allow git-version-gen does refresh
eautoconf
}