summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-11-24 20:27:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-11-24 20:28:11 +0100
commit189edc361ad0b191cec80d111ccab58ad33ee990 (patch)
tree67c953e64803a54ee4b611d61d8ceb701da0d2aa /app-text
parentdev-python/conway-polynomials: new package, add 0.7 (diff)
downloadgentoo-189edc361ad0b191cec80d111ccab58ad33ee990.tar.gz
gentoo-189edc361ad0b191cec80d111ccab58ad33ee990.tar.bz2
gentoo-189edc361ad0b191cec80d111ccab58ad33ee990.zip
app-text/liblangtag: add 0.6.5
Closes: https://bugs.gentoo.org/917524 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/liblangtag/Manifest1
-rw-r--r--app-text/liblangtag/liblangtag-0.6.5.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-text/liblangtag/Manifest b/app-text/liblangtag/Manifest
index debe6fb1f71c..3ea02dd0fb2c 100644
--- a/app-text/liblangtag/Manifest
+++ b/app-text/liblangtag/Manifest
@@ -1 +1,2 @@
DIST liblangtag-0.6.4.tar.bz2 764946 BLAKE2B 1d94f341359f880acb8a0a0526da625cb39d85b33665b861c0fbd94064228a3d5328f3a3b7d62bffd29c6ff8161fa499b6565010ba3065c90f87b5902969e81f SHA512 6c6dd3e6b0fc8d6f10cafd74112cbaf2a2342a88a908ad2f7ae759b3f5fb0cf6d788504c1de072e9ef019f2f5a284daeb2d2393036b6b402c5bc87f32b55f271
+DIST liblangtag-0.6.5.tar.bz2 756562 BLAKE2B 79208849ebf1c17b9214d783fc53b9224f9034d1c0af1fab519d4a2b0a452ca713ec4e89830b6023adfbb08c5f557e0baf5438d4ee36c1af004ae351c1d59218 SHA512 20bd9babdf146338a34d6f032fb3ac2851171a0cc49332e211fc75f381cc97d21f24df9ff2bf4c322993f0b9b87c2f1b96d9289f4f7d0786281e662f3e682e55
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
+}