diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/liblangtag | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/liblangtag')
-rw-r--r-- | app-text/liblangtag/Manifest | 3 | ||||
-rw-r--r-- | app-text/liblangtag/liblangtag-0.6.2.ebuild | 51 | ||||
-rw-r--r-- | app-text/liblangtag/metadata.xml | 11 |
3 files changed, 65 insertions, 0 deletions
diff --git a/app-text/liblangtag/Manifest b/app-text/liblangtag/Manifest new file mode 100644 index 000000000000..e2dfa50042a1 --- /dev/null +++ b/app-text/liblangtag/Manifest @@ -0,0 +1,3 @@ +DIST liblangtag-0.6.2.tar.bz2 766080 BLAKE2B e19599cb6445e40d21d4aec394ab3bcfe447badf096e8efd6e13caa48ce5cec832cb853f4924ce0204a747949506b49b05c175c2726fa3904424cc25b8dc9869 SHA512 812e00d0a26eedc1fa9bee6d0b9da53b8faca8d1fc5f93a0423106b5b777c7b1ec5854da7d02606c215ad1a1248de93016559c7a55288a4b427857fb1ed1ad8f +EBUILD liblangtag-0.6.2.ebuild 1156 BLAKE2B 77c6134d5dbcd2eb2fdd67c624a021a1ec55c64e51756d68467547a37c42946c01b96fc81add00281fc873d91873734c96546847ad77d2fd3e6650c0da02ca20 SHA512 e300c2810e739298e2700297e69bf3abaa795f85a7b580c466f90f5c9df6825e1ce43210520df1e98913671ee94d6567f3335d2cf39a5f19b76bb4853dbaca08 +MISC metadata.xml 349 BLAKE2B 3be7ff388f2fa95c460c034408fb159d9f7f2b17b4634027f73870018e672f330b3b0f9cc96fa372170bf2daa314cb087a9cd5794ab1e373449b4cc0762bda87 SHA512 dc4a715ede23108572522e1e6c7afd36b3c3359fe4145e5a02b45e7fc094f1633fbfcdf0d9c75955f75acb1487e438bb437a85766d7a06e628674447d5cf3d96 diff --git a/app-text/liblangtag/liblangtag-0.6.2.ebuild b/app-text/liblangtag/liblangtag-0.6.2.ebuild new file mode 100644 index 000000000000..b55dd05299d0 --- /dev/null +++ b/app-text/liblangtag/liblangtag-0.6.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils xdg-utils + +DESCRIPTION="An interface library to access tags for identifying languages" +HOMEPAGE="https://tagoh.bitbucket.org/liblangtag/" +SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2" + +LICENSE="|| ( LGPL-3 MPL-2.0 )" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" +IUSE="debug doc introspection static-libs test" + +RDEPEND=" + dev-libs/libxml2 + introspection? ( dev-libs/gobject-introspection ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + doc? ( dev-util/gtk-doc ) + introspection? ( dev-libs/gobject-introspection-common ) + test? ( dev-libs/check ) +" + +# Upstream expect liblangtag to be installed when one runs tests... +RESTRICT="test" + +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() { + econf \ + $(use_enable debug) \ + $(use_enable doc gtk-doc) \ + $(use_enable introspection) \ + $(use_enable static-libs static) \ + $(use_enable test) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/app-text/liblangtag/metadata.xml b/app-text/liblangtag/metadata.xml new file mode 100644 index 000000000000..eb7dc90a5e65 --- /dev/null +++ b/app-text/liblangtag/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <upstream> + <remote-id type="bitbucket">tagoh/liblangtag</remote-id> + </upstream> +</pkgmetadata> |