Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/liblangtag/
Date: Wed, 01 Jan 2020 10:08:50
Message-Id: 1577873168.4b1d168ef86a81d5c4e17a39b4c6f444cd0283e3.asturm@gentoo
1 commit: 4b1d168ef86a81d5c4e17a39b4c6f444cd0283e3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 1 09:44:11 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 10:06:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1d168e
7
8 app-text/liblangtag: 0.6.3 version bump, EAPI-7 bump
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-text/liblangtag/Manifest | 1 +
14 app-text/liblangtag/liblangtag-0.6.3.ebuild | 54 +++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/app-text/liblangtag/Manifest b/app-text/liblangtag/Manifest
18 index 31edb96d0f2..ca05ea2fc40 100644
19 --- a/app-text/liblangtag/Manifest
20 +++ b/app-text/liblangtag/Manifest
21 @@ -1 +1,2 @@
22 DIST liblangtag-0.6.2.tar.bz2 766080 BLAKE2B e19599cb6445e40d21d4aec394ab3bcfe447badf096e8efd6e13caa48ce5cec832cb853f4924ce0204a747949506b49b05c175c2726fa3904424cc25b8dc9869 SHA512 812e00d0a26eedc1fa9bee6d0b9da53b8faca8d1fc5f93a0423106b5b777c7b1ec5854da7d02606c215ad1a1248de93016559c7a55288a4b427857fb1ed1ad8f
23 +DIST liblangtag-0.6.3.tar.bz2 755492 BLAKE2B fb7b3cf5a4e6c3fabdce110ab208fa9e3537d8144839f2fc9779ff9de928afa416838c5c3c5317438ae0421806eb6ffb2207f6ad3dc02bcbf9123668187d22d2 SHA512 3dcfc20704dfaff05aeecdeef74fa81639fb70f930ebc0895fe4707ecd1d5b6221fe889449772811924d0c38329977c9d5fc751c3accbc272834b29c461f1fcf
24
25 diff --git a/app-text/liblangtag/liblangtag-0.6.3.ebuild b/app-text/liblangtag/liblangtag-0.6.3.ebuild
26 new file mode 100644
27 index 00000000000..b0db495d30f
28 --- /dev/null
29 +++ b/app-text/liblangtag/liblangtag-0.6.3.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit xdg-utils
37 +
38 +DESCRIPTION="An interface library to access tags for identifying languages"
39 +HOMEPAGE="https://bitbucket.org/tagoh/liblangtag/wiki/Home"
40 +SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
41 +
42 +LICENSE="|| ( LGPL-3 MPL-2.0 )"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
45 +IUSE="debug doc introspection static-libs test"
46 +
47 +BDEPEND="
48 + sys-devel/gettext
49 + doc? ( dev-util/gtk-doc )
50 + introspection? ( dev-libs/gobject-introspection-common )
51 + test? ( dev-libs/check )
52 +"
53 +RDEPEND="
54 + dev-libs/libxml2
55 + introspection? ( dev-libs/gobject-introspection )
56 +"
57 +DEPEND="${RDEPEND}"
58 +
59 +# Upstream expect liblangtag to be installed when one runs tests...
60 +RESTRICT="test"
61 +
62 +src_prepare() {
63 + default
64 + xdg_environment_reset
65 + if [[ -d docs/html ]]; then
66 + rm -r docs/html || die "Failed to remove existing gtk-doc"
67 + fi
68 +}
69 +
70 +src_configure() {
71 + local myeconfargs=(
72 + $(use_enable debug)
73 + $(use_enable doc gtk-doc)
74 + $(use_enable introspection)
75 + $(use_enable static-libs static)
76 + $(use_enable test)
77 + )
78 + econf "${myeconfargs[@]}"
79 +}
80 +
81 +src_install() {
82 + default
83 + find "${D}" -name '*.la' -type f -delete || die
84 +}