diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-08-25 11:50:33 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-08-25 11:50:58 +0100 |
commit | 3809b730fd9e70c2ab655abdfaf5a853a0671b63 (patch) | |
tree | 9990defa815305364a700798a1523f4063f47a3d /dev-libs/libxmlb/libxmlb-0.3.14.ebuild | |
parent | sys-apps/fwupd: add 1.9.4 (diff) | |
download | gentoo-3809b730fd9e70c2ab655abdfaf5a853a0671b63.tar.gz gentoo-3809b730fd9e70c2ab655abdfaf5a853a0671b63.tar.bz2 gentoo-3809b730fd9e70c2ab655abdfaf5a853a0671b63.zip |
dev-libs/libxmlb: add 0.3.14, drop 0.3.13
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/libxmlb/libxmlb-0.3.14.ebuild')
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.3.14.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/libxmlb-0.3.14.ebuild b/dev-libs/libxmlb/libxmlb-0.3.14.ebuild new file mode 100644 index 000000000000..c6599b5571e7 --- /dev/null +++ b/dev-libs/libxmlb/libxmlb-0.3.14.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-any-r1 + +DESCRIPTION="Library to help create and query binary XML blobs" +HOMEPAGE="https://github.com/hughsie/libxmlb" +SRC_URI="https://github.com/hughsie/libxmlb/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1+" +SLOT="0/2" # libxmlb.so version + +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc introspection stemmer test +zstd" + +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/xz-utils + dev-libs/glib:2 + sys-apps/util-linux + stemmer? ( dev-libs/snowball-stemmer:= ) + zstd? ( app-arch/zstd:= ) +" + +DEPEND=" + ${RDEPEND} + doc? ( dev-util/gtk-doc ) + introspection? ( dev-libs/gobject-introspection ) +" + +BDEPEND=" + ${PYTHON_DEPS} + >=dev-util/meson-0.47.0 + virtual/pkgconfig + introspection? ( + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.3.12-no_installed_tests.patch +) + +python_check_deps() { + python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + $(meson_use doc gtkdoc) + $(meson_use introspection) + $(meson_use stemmer) + $(meson_use test tests) + $(meson_use zstd) + ) + meson_src_configure +} |