Gentoo Archives: gentoo-commits

From: Rui Huang <vowstar@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libthai/
Date: Fri, 01 Apr 2022 12:15:09
Message-Id: 1648815274.9b056c139a7f3c573312c8f92f7b3194f25a9137.vowstar@gentoo
1 commit: 9b056c139a7f3c573312c8f92f7b3194f25a9137
2 Author: Huang Rui <vowstar <AT> gmail <DOT> com>
3 AuthorDate: Fri Apr 1 12:14:34 2022 +0000
4 Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
5 CommitDate: Fri Apr 1 12:14:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b056c13
7
8 dev-libs/libthai: bump to 0.1.29
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
12
13 dev-libs/libthai/Manifest | 1 +
14 dev-libs/libthai/libthai-0.1.29.ebuild | 40 ++++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-libs/libthai/Manifest b/dev-libs/libthai/Manifest
18 index 5692d8ba8..88999ca6b 100644
19 --- a/dev-libs/libthai/Manifest
20 +++ b/dev-libs/libthai/Manifest
21 @@ -1 +1,2 @@
22 DIST libthai-0.1.28.tar.gz 766571 BLAKE2B 085c59b626a4191b90e0bcf738396b701a93af66f5a92b24934b76435ed91ddbd2f394e5ab1574f2e29cbec3daeb82911de153fb20c9bb77a9875e511a2289a7 SHA512 3a5f8766e3ad1484bb01a58a800667ea0b8b805158e7b574132455bd5a703bf19f4e46db8cb8fe4a75a380d88b6343234fa10dda003dcb2a8452a21acc4b8cf8
23 +DIST libthai-0.1.29.tar.gz 776713 BLAKE2B f41232ac1d0d596debaf282885a01a63ba8657f8adb4f0a588d845b32132440550fc79547f37e76e5340787cfc6e6d9456ad5340a912f39fefd1fbff5a213091 SHA512 2611f855ba10516897b73eaddf2bd878d82fbedebbeff4f96a2ce190f2eb66f0c9915e90752a653fa6b41de1ec673d8222004aa31e8d27119abb6ff8566dbff3
24
25 diff --git a/dev-libs/libthai/libthai-0.1.29.ebuild b/dev-libs/libthai/libthai-0.1.29.ebuild
26 new file mode 100644
27 index 000000000..a57b377df
28 --- /dev/null
29 +++ b/dev-libs/libthai/libthai-0.1.29.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit autotools
37 +
38 +DESCRIPTION="A a set of Thai language support routines"
39 +HOMEPAGE="https://github.com/tlwg/libthai"
40 +
41 +if [[ ${PV} == "9999" ]] ; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
44 +else
45 + SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
47 +fi
48 +
49 +LICENSE="LGPL-2.1"
50 +SLOT="0"
51 +
52 +RDEPEND="dev-libs/libdatrie"
53 +DEPEND="${RDEPEND}"
54 +BDEPEND="dev-vcs/git"
55 +
56 +src_prepare() {
57 + default
58 + # Fixed version if in non git project
59 + echo ${PV} > VERSION
60 + # From upstreams autogen.sh, to make it utilize the autotools eclass
61 + # Here translate the autogen.sh, equivalent to the following code
62 + # > sh autogen.sh
63 + # Fix html doc path
64 + sed -i -e "s|share/doc/libthai/html|share/doc/libthai-${PV}/html|g" configure.ac || die
65 + _elibtoolize --force
66 + eaclocal
67 + eautomake --add-missing
68 + # Not allow git-version-gen does refresh
69 + eautoconf
70 +}