summaryrefslogtreecommitdiff
path: root/dev-libs/libjcat
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libjcat')
-rw-r--r--dev-libs/libjcat/Manifest2
-rw-r--r--dev-libs/libjcat/libjcat-0.1.9.ebuild65
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-libs/libjcat/Manifest b/dev-libs/libjcat/Manifest
index c1418e627b08..5f85f5f3b34e 100644
--- a/dev-libs/libjcat/Manifest
+++ b/dev-libs/libjcat/Manifest
@@ -1,4 +1,6 @@
AUX libjcat-0.1.1-disable_installed_tests.patch 1131 BLAKE2B fdefa9b78c1c8fa80ef35d1eb1d1f5bfa9f6d6434dc517e5c84affde5de8fe195d4ad605b59c45acaf73fb5bc75fb6c57bb0a95ccace0b67e3480b9157a6a704 SHA512 171b9c60e4afff59cb25bd6f94ece92e3e80dc1267395415d3d283ab429c3a2de49d43c0a0efce1b9b9f4d217e01a08ce4458c691ad270d427284ed45a88a1cf
DIST libjcat-0.1.8.tar.gz 64828 BLAKE2B 86ebc635364cd78c05694baf3d5fe7d9bf6764629f4530f5ab8a9502887884b3d5369860806a252493a7a3208367b848e470730fb8c32d4c66cc8eb92df51990 SHA512 058bcf7ddddc7a3cedefcfcef9947c5f318fa806c8673b991be29f36e4fa0e09e51e972c0bebe0404fd92060715f8a497a0c0566d743bf6f3fa71bc3d94688c9
+DIST libjcat-0.1.9.tar.gz 64884 BLAKE2B 30e7c9f6c5fc971144f27bc495443928b8406a199e3a03399f2081a5ec3d09d10261bec6804e8d92c8c4a44ad31f821f302954fee66abe16a6b0b0400b627036 SHA512 d4d51d95edf1223d5876464feb476d3e9a47f60fed7724690d247cb3b759c5adaa04ba71a0221d5e520d0077d52ea6610c0188f2e5c70a323210ad68c134e83d
EBUILD libjcat-0.1.8.ebuild 1456 BLAKE2B 693445986907a3d10a21e6fd3b9c95cc6850ff3786ab234715cffc181268d7d1c41a536ec0bfd5fad23519584d9601ce7c7b152d5fdb3adc68a8cc61040d43f9 SHA512 364b7c724954d39ca04c932f98fbda319dafae35482bfddc9bb081c3c863f6fa578b4b3e29faffb25591bfcfa853067a2c3c85bf3b8c8e3d2e0aaed7c06407b0
+EBUILD libjcat-0.1.9.ebuild 1458 BLAKE2B dc01437b85b623afe755d8718c366376fe5e3d3f5b8688ba0e0d980df037e42f16f8a9fd7fb2a12d0a4e876c90369a15ed9f9e6c1e713462e004bde93249f1d6 SHA512 9682eec0cab2b0d773047dab91d25a6e081431b5ad701bbb2321ea99e7cb849fc288f4988bab3251e3a91d5c704ef4b537411b700b78085de26c36f1c68717a9
MISC metadata.xml 937 BLAKE2B 95095d1f33b1ebc992688672e5084d67fcc8fadb33e31b367576f4bc73b4fc2baba435a78a0ceb863ae3a2075dfa3d6b936922bcc3890f367ef67fc7afa16abf SHA512 3fafd34b736ec15cd9f202afd1b64df241699a24d5b938422a95e05ef1acaaf6fffd5e95815f8dccbe414d83b47ea98308d375078f02aefef771b23cf23a7bdf
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
+}