commit:     1e11f2e77374c52f675c93cfe33ec3a436545f3e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 29 20:52:29 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 20:52:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e11f2e7

dev-libs/libjcat: Bump to version 0.1.9

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 dev-libs/libjcat/Manifest             |  1 +
 dev-libs/libjcat/libjcat-0.1.9.ebuild | 65 +++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-libs/libjcat/Manifest b/dev-libs/libjcat/Manifest
index 224fb7f4f7ea..870951f7e2f6 100644
--- a/dev-libs/libjcat/Manifest
+++ b/dev-libs/libjcat/Manifest
@@ -1 +1,2 @@
 DIST libjcat-0.1.8.tar.gz 64828 BLAKE2B 
86ebc635364cd78c05694baf3d5fe7d9bf6764629f4530f5ab8a9502887884b3d5369860806a252493a7a3208367b848e470730fb8c32d4c66cc8eb92df51990
 SHA512 
058bcf7ddddc7a3cedefcfcef9947c5f318fa806c8673b991be29f36e4fa0e09e51e972c0bebe0404fd92060715f8a497a0c0566d743bf6f3fa71bc3d94688c9
+DIST libjcat-0.1.9.tar.gz 64884 BLAKE2B 
30e7c9f6c5fc971144f27bc495443928b8406a199e3a03399f2081a5ec3d09d10261bec6804e8d92c8c4a44ad31f821f302954fee66abe16a6b0b0400b627036
 SHA512 
d4d51d95edf1223d5876464feb476d3e9a47f60fed7724690d247cb3b759c5adaa04ba71a0221d5e520d0077d52ea6610c0188f2e5c70a323210ad68c134e83d

diff --git a/dev-libs/libjcat/libjcat-0.1.9.ebuild 
b/dev-libs/libjcat/libjcat-0.1.9.ebuild
new file mode 100644
index 000000000000..f9791b76ef93
--- /dev/null
+++ b/dev-libs/libjcat/libjcat-0.1.9.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml"
+
+inherit meson python-any-r1 vala xdg-utils
+
+DESCRIPTION="Library and tool for reading and writing Jcat files "
+HOMEPAGE="https://github.com/hughsie/libjcat";
+SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+gpg gtk-doc +introspection +man +pkcs7 test vala"
+
+RDEPEND="dev-libs/glib:2
+       dev-libs/json-glib:=
+       gpg? (
+               app-crypt/gpgme
+               dev-libs/libgpg-error
+       )
+       introspection? ( dev-libs/gobject-introspection:= )
+       pkcs7? ( net-libs/gnutls )
+       vala? ( dev-lang/vala:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+       $(python_gen_any_dep '
+               dev-python/setuptools[${PYTHON_USEDEP}]
+       ')
+       gtk-doc? ( dev-util/gtk-doc )
+       man? ( sys-apps/help2man )
+       test? ( net-libs/gnutls[tools] )"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.1.1-disable_installed_tests.patch
+)
+
+python_check_deps() {
+       has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+       xdg_environment_reset
+       use vala && vala_src_prepare
+       default
+}
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use gtk-doc gtkdoc)
+               $(meson_use gpg)
+               $(meson_use introspection)
+               $(meson_use man)
+               $(meson_use pkcs7)
+               $(meson_use test tests)
+               $(meson_use vala vapi)
+       )
+       meson_src_configure
+}

Reply via email to