1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="A a set of Thai language support routines"
9 HOMEPAGE
="https://github.com/tlwg/libthai"
11 if [[ ${PV} == "9999" ]] ; then
13 EGIT_REPO_URI
="https://github.com/tlwg/${PN}.git"
15 SRC_URI
="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS
="~amd64 ~arm ~arm64 ~riscv ~x86"
22 RDEPEND
="dev-libs/libdatrie"
28 # Fixed version if in non git project
30 # From upstreams autogen.sh, to make it utilize the autotools eclass
32 sed -i -e "s|share/doc/libthai/html|share/doc/libthai-${PV}/html|g" configure.ac || die
33 # use eautoreconf from autotools.eclass instead of autogen.sh