diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-02-24 11:23:05 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-02-24 16:49:53 +0000 |
commit | 1efb8e41e6d24152c3d23e57c424aa9496df725b (patch) | |
tree | 4606aa047a272f1d19463ac2ad1fdda70db135b3 /dev-libs | |
parent | dev-util/Tensile: revbump to account for recent RDEPEND changes (diff) | |
download | gentoo-1efb8e41e6d24152c3d23e57c424aa9496df725b.tar.gz gentoo-1efb8e41e6d24152c3d23e57c424aa9496df725b.tar.bz2 gentoo-1efb8e41e6d24152c3d23e57c424aa9496df725b.zip |
dev-libs/libjcat: add 0.1.13
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libjcat/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libjcat/libjcat-0.1.13.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-libs/libjcat/Manifest b/dev-libs/libjcat/Manifest index a89c994fd8cd..6964dae67b05 100644 --- a/dev-libs/libjcat/Manifest +++ b/dev-libs/libjcat/Manifest @@ -1 +1,2 @@ DIST libjcat-0.1.12.tar.gz 68536 BLAKE2B 88328645dc38432d7988b87004e450459bebe3159f41074209f18fa9e8d0158025199e6add8b6ee531ac22ac3c87f227524ad741de6ec76ade4b39fd67b0b830 SHA512 cf60e86ad97ed786e6e7daefbb17b32d4725f3eab769f7cc480e9085b3a864fd2aad4e1db97b7b5e54352d17b84178631a4224aad3d5bc19cdac204b2fed844a +DIST libjcat-0.1.13.tar.gz 69950 BLAKE2B 5ff85feff37c5728c8cace5e2f38c179c65a82954a23fd26794a5483cdf29e07601cdaffe27c28a28f7d2b0d57aa3800589c20e19e0a512768f5f87176a56789 SHA512 a66082e3c1641b427af971843822a7893cd40dbb82a596737fd6445fe8e1b527a111dd8f48b9e25a563f0d13e77e22d4c2364ddf96cac38d3e2df5010b37708a diff --git a/dev-libs/libjcat/libjcat-0.1.13.ebuild b/dev-libs/libjcat/libjcat-0.1.13.ebuild new file mode 100644 index 000000000000..aa29cae3f5e5 --- /dev/null +++ b/dev-libs/libjcat/libjcat-0.1.13.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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 ~loong ~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.11-disable_installed_tests.patch +) + +python_check_deps() { + python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use vala && vala_setup +} + +src_prepare() { + xdg_environment_reset + 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 +} |