public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libthai/
@ 2022-04-01 12:15 Rui Huang
  0 siblings, 0 replies; 2+ messages in thread
From: Rui Huang @ 2022-04-01 12:15 UTC (permalink / raw
  To: gentoo-commits

commit:     9b056c139a7f3c573312c8f92f7b3194f25a9137
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Apr  1 12:14:34 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Apr  1 12:14:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b056c13

dev-libs/libthai: bump to 0.1.29

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-libs/libthai/Manifest              |  1 +
 dev-libs/libthai/libthai-0.1.29.ebuild | 40 ++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/libthai/Manifest b/dev-libs/libthai/Manifest
index 5692d8ba8..88999ca6b 100644
--- a/dev-libs/libthai/Manifest
+++ b/dev-libs/libthai/Manifest
@@ -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

diff --git a/dev-libs/libthai/libthai-0.1.29.ebuild b/dev-libs/libthai/libthai-0.1.29.ebuild
new file mode 100644
index 000000000..a57b377df
--- /dev/null
+++ b/dev-libs/libthai/libthai-0.1.29.ebuild
@@ -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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libthai/
@ 2024-10-15 14:53 Takuya Wakazono
  0 siblings, 0 replies; 2+ messages in thread
From: Takuya Wakazono @ 2024-10-15 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     7593ae53f051d731a252b1e41b735327f3238012
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Oct 15 14:52:49 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Oct 15 14:52:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7593ae53

dev-libs/libthai: add USE=doc

Closes: https://bugs.gentoo.org/807911
Closes: https://bugs.gentoo.org/839864
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-libs/libthai/libthai-0.1.29.ebuild | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/dev-libs/libthai/libthai-0.1.29.ebuild b/dev-libs/libthai/libthai-0.1.29.ebuild
index a57b377df..f93fc2011 100644
--- a/dev-libs/libthai/libthai-0.1.29.ebuild
+++ b/dev-libs/libthai/libthai-0.1.29.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,25 +16,28 @@ else
 	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 fi
 
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
 SLOT="0"
+IUSE="doc"
 
 RDEPEND="dev-libs/libdatrie"
 DEPEND="${RDEPEND}"
-BDEPEND="dev-vcs/git"
+BDEPEND="doc? ( app-text/doxygen )"
 
 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
+	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
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-15 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-15 14:53 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libthai/ Takuya Wakazono
  -- strict thread matches above, loose matches on Subject: below --
2022-04-01 12:15 Rui Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox