diff options
Diffstat (limited to 'app-text/liblangtag')
-rw-r--r-- | app-text/liblangtag/Manifest | 2 | ||||
-rw-r--r-- | app-text/liblangtag/liblangtag-0.6.5.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-text/liblangtag/Manifest b/app-text/liblangtag/Manifest index 0f36ccf063e5..8c240c18ad5e 100644 --- a/app-text/liblangtag/Manifest +++ b/app-text/liblangtag/Manifest @@ -1,3 +1,5 @@ DIST liblangtag-0.6.4.tar.bz2 764946 BLAKE2B 1d94f341359f880acb8a0a0526da625cb39d85b33665b861c0fbd94064228a3d5328f3a3b7d62bffd29c6ff8161fa499b6565010ba3065c90f87b5902969e81f SHA512 6c6dd3e6b0fc8d6f10cafd74112cbaf2a2342a88a908ad2f7ae759b3f5fb0cf6d788504c1de072e9ef019f2f5a284daeb2d2393036b6b402c5bc87f32b55f271 +DIST liblangtag-0.6.5.tar.bz2 756562 BLAKE2B 79208849ebf1c17b9214d783fc53b9224f9034d1c0af1fab519d4a2b0a452ca713ec4e89830b6023adfbb08c5f557e0baf5438d4ee36c1af004ae351c1d59218 SHA512 20bd9babdf146338a34d6f032fb3ac2851171a0cc49332e211fc75f381cc97d21f24df9ff2bf4c322993f0b9b87c2f1b96d9289f4f7d0786281e662f3e682e55 EBUILD liblangtag-0.6.4.ebuild 1212 BLAKE2B 58564877ed3282481b754e3c78a038240a8419ded43fa5712069af1e175e11f2af147ec6751608bd452ab74cdf7ea2374c8b1cd07d5f8c21f41874b66f8569ef SHA512 08bc3693a8545a584f902a7d003b2cabb5d1df466b5d48df9d157b36e9436bb5f7faa9cceda523743f3de4184c305e486ead5c5bb80c9df8f673f0ec9e175298 +EBUILD liblangtag-0.6.5.ebuild 1215 BLAKE2B 90d74dc34830b7d2544cbe817409d805030e9e8c5f0481568066bd0dc3d45c52cb544daa1c059884b3254371192f03692f66635a8d41c2498e50f3785efb64ee SHA512 f8ce2aa200d4f42fa99b228dd4f0909ebf2d542315f5552edc9c59fc0bb54404b2889ad1bbce8f2f49f07dd36440fd0d8702c5dfaf742d67741dcde05f2c1d72 MISC metadata.xml 350 BLAKE2B f19f3d513d8042e89c3df800d2002cd445b1eed875dd8ffe31318645f10a300f2010cf8f5a2f4daccd38d875f340e1e48bd2b35e67892596416e492053fef8ed SHA512 8abd30360e1b305313f36724f3e3d638122c3aeb37dfb27f46940b155855a7515a8fe1a0b2128de7b0649d477c9d74fd44a02f7e7535ff103700dac7448dfe85 diff --git a/app-text/liblangtag/liblangtag-0.6.5.ebuild b/app-text/liblangtag/liblangtag-0.6.5.ebuild new file mode 100644 index 000000000000..80aec8d4c9ca --- /dev/null +++ b/app-text/liblangtag/liblangtag-0.6.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg-utils + +DESCRIPTION="Interface library to access tags for identifying languages" +HOMEPAGE="https://bitbucket.org/tagoh/liblangtag/wiki/Home" +SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2" + +LICENSE="|| ( LGPL-3 MPL-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug doc introspection test" + +# Upstream expect liblangtag to be installed when one runs tests... +RESTRICT="test" + +RDEPEND=" + dev-libs/libxml2 + introspection? ( dev-libs/gobject-introspection ) +" +DEPEND="${RDEPEND} + test? ( dev-libs/check ) +" +BDEPEND=" + sys-devel/gettext + sys-devel/libtool + doc? ( dev-util/gtk-doc ) + introspection? ( dev-libs/gobject-introspection-common ) +" + +src_prepare() { + default + xdg_environment_reset + if [[ -d docs/html ]]; then + rm -r docs/html || die "Failed to remove existing gtk-doc" + fi +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable doc gtk-doc) + $(use_enable introspection) + $(use_enable test) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} |