commit:     27adac6fef8e39d973bd4074f0854da4c65a44fb
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Feb 12 15:49:25 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 12 22:52:17 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27adac6f

dev-libs/lib{datrie,thai}: switch to release tarball

Switch SRC_URI to upstream release tarball (.tar.xz) instead of GitHub
archive. Remove autotools inherit and eautoreconf since upstream tarball
already includes configure.

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45780
Closes: https://github.com/gentoo/gentoo/pull/45780
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild |  9 ---------
 dev-libs/libthai/Manifest                     |  1 +
 dev-libs/libthai/libthai-0.1.30-r1.ebuild     | 11 +----------
 3 files changed, 2 insertions(+), 19 deletions(-)

diff --git a/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild 
b/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild
index 16e50801ffcd..a0bea7a4204e 100644
--- a/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild
+++ b/dev-libs/libdatrie/libdatrie-0.2.14-r1.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=8
 
-inherit autotools
-
 DESCRIPTION="Double-Array Trie Library"
 HOMEPAGE="
        https://linux.thai.net/projects/datrie
@@ -26,13 +24,6 @@ IUSE="doc"
 
 BDEPEND="doc? ( >=app-text/doxygen-1.9.8 )"
 
-src_prepare() {
-       default
-       # Fixed version if in non git project
-       echo ${PV} > VERSION
-       eautoreconf
-}
-
 src_configure() {
        econf \
                $(use_enable doc doxygen-doc) \

diff --git a/dev-libs/libthai/Manifest b/dev-libs/libthai/Manifest
index 1ff2cc602b4e..8c7c1d1704c4 100644
--- a/dev-libs/libthai/Manifest
+++ b/dev-libs/libthai/Manifest
@@ -1 +1,2 @@
 DIST libthai-0.1.30.tar.gz 788177 BLAKE2B 
e6ad064945a983208f06ec9dba799d530ac859153c0229b1441ee6b7a3c45a800856fa07988f8a072010b16a0dc88c1d9a5fa3bfae77ddd4aee982a6d10fb1e7
 SHA512 
a33ef585c6f503eb6b609b73ddc5f3960ec58dc10fd07205eaa60596709ece47934571ca21b01a294c172f4a5fc374038a8726c1ed07aabf12b0bdd1a4565320
+DIST libthai-0.1.30.tar.xz 436044 BLAKE2B 
e3397f86bbde1a739ec1199120f15ad618c6ee0cfeaada708f4941d07a9e83f93631cd06409163b0c13d460e81bcb1b4150c51d7eb6cb2c6d638c617bc13688f
 SHA512 
c84d575b6855d54b1ea1d9878a94153ba7807cc736f7bf01327d17a6444c6fd4b18deae2ab5a2612847892c9d94ed4ceb54fbf25244aa6eb88a3605260ad328e

diff --git a/dev-libs/libthai/libthai-0.1.30-r1.ebuild 
b/dev-libs/libthai/libthai-0.1.30-r1.ebuild
index ae2485979214..3ef81b015b54 100644
--- a/dev-libs/libthai/libthai-0.1.30-r1.ebuild
+++ b/dev-libs/libthai/libthai-0.1.30-r1.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=8
 
-inherit autotools
-
 DESCRIPTION="Set of Thai language support routines"
 HOMEPAGE="
        https://linux.thai.net/projects/libthai
@@ -15,7 +13,7 @@ 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"
+       
SRC_URI="https://github.com/tlwg/${PN}/releases/download/v${PV}/${P}.tar.xz";
        KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
@@ -28,13 +26,6 @@ RDEPEND="dev-libs/libdatrie:="
 DEPEND="${RDEPEND}"
 BDEPEND="doc? ( >=app-text/doxygen-1.15.0 )"
 
-src_prepare() {
-       default
-       # Fixed version if in non git project
-       echo ${PV} > VERSION
-       eautoreconf
-}
-
 src_configure() {
        econf \
                $(use_enable doc doxygen-doc) \

Reply via email to