diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-16 17:15:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-16 17:15:17 +0100 |
commit | 6e356edde093fb3589ab7a5859685e85c2873ab0 (patch) | |
tree | 5f17cc7bfbddda45678967fdc0a5f9f35fa9c02a /dev-libs/libjcat/libjcat-0.1.12.ebuild | |
parent | acb0389058b8ef612d851b1ab54fa37376c4b7f7 (diff) |
gentoo auto-resync : 16:09:2022 - 17:15:17
Diffstat (limited to 'dev-libs/libjcat/libjcat-0.1.12.ebuild')
-rw-r--r-- | dev-libs/libjcat/libjcat-0.1.12.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/libjcat/libjcat-0.1.12.ebuild b/dev-libs/libjcat/libjcat-0.1.12.ebuild new file mode 100644 index 000000000000..13c2bc26003e --- /dev/null +++ b/dev-libs/libjcat/libjcat-0.1.12.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..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() { + 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 +} |