Skip to content

Commit

Permalink
fix(dev-libs/libthai): repush right ebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiderX committed Jun 28, 2024
1 parent d5a19ca commit b2620d2
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 43 deletions.
3 changes: 1 addition & 2 deletions dev-libs/libthai/Manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
AUX libthai-0.1.28-fix-duplicate-dir.patch 704 BLAKE2B c280b15c80208198c767d65de479bcb67a6f55ed2169c662af713ef43a05ba347a9efeace5a7121dd0c10d749d0abdd879f7d16fc8c4d6b4eaa9bb5c93d37ca6 SHA512 8522cbb5ffd2843c75bd63da8a61fd5545e689a094e7af013ee4c4a222c67ecfdc1c575cc1d4ae7901244ffe255568435684e0b5ad1fa2904a0c3785d9565464
DIST libthai-0.1.29.tar.gz 776713 BLAKE2B f41232ac1d0d596debaf282885a01a63ba8657f8adb4f0a588d845b32132440550fc79547f37e76e5340787cfc6e6d9456ad5340a912f39fefd1fbff5a213091 SHA512 2611f855ba10516897b73eaddf2bd878d82fbedebbeff4f96a2ce190f2eb66f0c9915e90752a653fa6b41de1ec673d8222004aa31e8d27119abb6ff8566dbff3
EBUILD libthai-0.1.29.ebuild 916 BLAKE2B b58bed69da918261c65683ea07846284ba751166576383962f9390c4eb1fdf48a1be444887d4407c9c1ee5870d270df59877212e6f0a0cb02b4f4caa0d9a49ca SHA512 15749871f93f1ab2fdd8d8df1c46f023161911b42b01b4bdec353e37f4c244b3c51c5f806f7375a551d1a3f8d1f647172ab930d58c64d21fa80ab4f1ed0d5936
EBUILD libthai-0.1.29.ebuild 686 BLAKE2B 1fcad8f4e530095c2935bf2ccdeeb09e4f1fe4acc29ade77d7f656e468a3d23f05ec8c2e57e9f86c72ee967d5ef7459c70b3f42e67b2210da5544c4ee2e8ebe8 SHA512 73e7c1f005e05516b461127d76ccb84520828a3c9fb28e17e00404f4753a7f87b5ccde6bd4c05fd1764e4b0602cf1c694d72da53adbd5a15a17cbd20d3689fe3
MISC metadata.xml 779 BLAKE2B ba4f1b4f39ccc25f48658ee485f8eef31292b37dac32a381140bca779fc81e22c80ee5f55ac7c8b64c700810c7418379440a1eee3a8b8838b41ef10614852628 SHA512 db0ad9cfac1b9744ef93272e466a24a945f1606dd55174141768d7f98750551383a9fc45cf78078a9c623aa038c2ede29438ec41d36e68002c7c6ed83902fd04
25 changes: 0 additions & 25 deletions dev-libs/libthai/files/libthai-0.1.28-fix-duplicate-dir.patch

This file was deleted.

35 changes: 19 additions & 16 deletions dev-libs/libthai/libthai-0.1.29.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,26 +9,29 @@ DESCRIPTION="A a set of Thai language support routines"
HOMEPAGE="https://github.com/tlwg/libthai"
SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
SLOT="0"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="dev-libs/libdatrie"
DEPEND="${RDEPEND}"
BDEPEND="dev-vcs/git"
BDEPEND="virtual/pkgconfig"

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

# set version (build-aux/git-version-gen)
echo "${PV}" > VERSION

eautoreconf
}

src_configure() {
econf --disable-doxygen-doc
}

src_install() {
default

rm -f "${ED}"/usr/"$(get_libdir)"/*.la || die "rm failed"
}
34 changes: 34 additions & 0 deletions dev-libs/libthai/libthai-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"

inherit autotools git-r3

DESCRIPTION="A a set of Thai language support routines"
HOMEPAGE="https://github.com/tlwg/libthai"

LICENSE="LGPL-2.1"
SLOT="0"

RDEPEND="dev-libs/libdatrie"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
default

eautoreconf
}

src_configure() {
econf --disable-doxygen-doc
}

src_install() {
default

rm -f "${ED}"/usr/"$(get_libdir)"/*.la || die "rm failed"
}

0 comments on commit b2620d2

Please sign in to comment.