diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-09-16 09:07:06 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-09-16 10:12:39 +0100 |
commit | 69e430052f233abaac92371711a422b105e63280 (patch) | |
tree | 595f6a428bfa00652b37151ef88dfa603e1c059d /dev-libs/libxmlb | |
parent | dev-libs/libjcat: add 0.1.12 (diff) | |
download | gentoo-69e430052f233abaac92371711a422b105e63280.tar.gz gentoo-69e430052f233abaac92371711a422b105e63280.tar.bz2 gentoo-69e430052f233abaac92371711a422b105e63280.zip |
dev-libs/libxmlb: add 0.3.10
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/libxmlb')
-rw-r--r-- | dev-libs/libxmlb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.3.10.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest index e0da14a55403..9e2434ebc28e 100644 --- a/dev-libs/libxmlb/Manifest +++ b/dev-libs/libxmlb/Manifest @@ -1 +1,2 @@ +DIST libxmlb-0.3.10.tar.gz 122004 BLAKE2B e51caacff96aa41029314c5d8a13503713fb813b2512c322214e309a5aebed2b6cd5f8d24412240dbc57d500b7186b6760a82451063eeb1f1011c0b450f6ad99 SHA512 05907c3dd2fa2ab67580e40fb573f27d9d47053fef5e23eb11ed887163ae0194b0f9b590e758fa76501098a5f261a48d9cd94003af828f5a18c61d89a9ec05bb DIST libxmlb-0.3.9.tar.gz 121878 BLAKE2B 4c61482f05535b84efb1bf466db8d89f58dddde9cb9d87eb22fe04343f89dc4efc882ff3d9f73131e8fc8c8c107a72fcc2765e5c1b3e290c52593666b7073b9d SHA512 ff2b6567d97801b58ddb87be71246065c2b9d666494059c2f7cc2535508d4754969f8411bd3a28a49664be2c21aeb95c75b999a06ee8448bf1fd962dd36ac47b diff --git a/dev-libs/libxmlb/libxmlb-0.3.10.ebuild b/dev-libs/libxmlb/libxmlb-0.3.10.ebuild new file mode 100644 index 000000000000..cef612cdd587 --- /dev/null +++ b/dev-libs/libxmlb/libxmlb-0.3.10.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +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 ~ppc64 ~riscv ~x86" +IUSE="doc introspection stemmer test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/xz-utils + dev-libs/glib:2 + sys-apps/util-linux + stemmer? ( dev-libs/snowball-stemmer:= ) +" + +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.9-no_installed_tests.patch +) + +python_check_deps() { + 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_src_configure +} |