summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-08 01:26:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-08 01:26:51 +0100
commit6a2a5c2fbcba8d150f77b89f04f280e3fb389279 (patch)
tree15ab96f362465e15f68e526e06bfc98f72be0645 /app-text/liblangtag
parentdev-libs/plasma-wayland-protocols: add 1.12.0 (diff)
downloadgentoo-6a2a5c2fbcba8d150f77b89f04f280e3fb389279.tar.gz
gentoo-6a2a5c2fbcba8d150f77b89f04f280e3fb389279.tar.bz2
gentoo-6a2a5c2fbcba8d150f77b89f04f280e3fb389279.zip
app-text/liblangtag: add 0.6.7
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/liblangtag')
-rw-r--r--app-text/liblangtag/Manifest1
-rw-r--r--app-text/liblangtag/liblangtag-0.6.7.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-text/liblangtag/Manifest b/app-text/liblangtag/Manifest
index 71026e235dd4..5c8cc2fc5ca0 100644
--- a/app-text/liblangtag/Manifest
+++ b/app-text/liblangtag/Manifest
@@ -1,2 +1,3 @@
DIST liblangtag-0.6.4.tar.bz2 764946 BLAKE2B 1d94f341359f880acb8a0a0526da625cb39d85b33665b861c0fbd94064228a3d5328f3a3b7d62bffd29c6ff8161fa499b6565010ba3065c90f87b5902969e81f SHA512 6c6dd3e6b0fc8d6f10cafd74112cbaf2a2342a88a908ad2f7ae759b3f5fb0cf6d788504c1de072e9ef019f2f5a284daeb2d2393036b6b402c5bc87f32b55f271
DIST liblangtag-0.6.6.tar.bz2 757043 BLAKE2B 0ebed81d7776e02a163f9a20bab73c41334ed2c1f620a1a56f56bc883f5b6741ab5ca3d77ed564fd05c46342e2a73a2df73cef29a7d53bc478b4a1a682148497 SHA512 9cb62b91994dba8d5781d764f4149ac3a7b8dd89514bbe627a6776d5674698a1d7ca520b880f35a2406b220fdad19f46de0d3a55bcc5eaad0f02a11061d44496
+DIST liblangtag-0.6.7.tar.bz2 757041 BLAKE2B 456fe453624dbdeb5a1cad621b4f1a28a9f8b3bc4b33a89efb22dfc006d36f8b634db4b085cac665d517c5bf56d750c81d0d201679480f1a0c180f0ab1dc3c49 SHA512 3628728f46865507d8794c1e7286c6ca04fc49f905594ab76db7bd2c8d8f9fac1e33693314d56bca6fdd8f99b8d207e6e6d2f751474832ceb60a4cdbf10fed68
diff --git a/app-text/liblangtag/liblangtag-0.6.7.ebuild b/app-text/liblangtag/liblangtag-0.6.7.ebuild
new file mode 100644
index 000000000000..80aec8d4c9ca
--- /dev/null
+++ b/app-text/liblangtag/liblangtag-0.6.7.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
+}