summaryrefslogtreecommitdiff
path: root/dev-libs/libxmlb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-07 06:30:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-07 06:30:50 +0100
commit7336b11bd5bd8f1cc6d445b150a6c466736c3d9d (patch)
tree7cd86e52a1c0068c146d765abfd47bdaeb0c00d0 /dev-libs/libxmlb
parentd749d42b2ef572969f0b7fb5016888f25cc28a8d (diff)
gentoo auto-resync : 07:04:2024 - 06:30:49
Diffstat (limited to 'dev-libs/libxmlb')
-rw-r--r--dev-libs/libxmlb/Manifest2
-rw-r--r--dev-libs/libxmlb/libxmlb-0.3.17.ebuild75
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest
index f8ca59321cb4..4bfe324cd206 100644
--- a/dev-libs/libxmlb/Manifest
+++ b/dev-libs/libxmlb/Manifest
@@ -1,4 +1,6 @@
AUX libxmlb-0.3.12-no_installed_tests.patch 744 BLAKE2B d3e2a7a3be09049ebe407966a471d3798ee88902bf7c132708c8abb7353761e1c961e9a9d47c87458c87aed1a0f9ed6c294ffebfa0cc7fcb87311e175192bfa8 SHA512 3a8394b18d41a1219c26fa841829037a10293a2682da57c43d0f2932817dd16701cffc2906c84cba2e412712f852f7df8d0230cec6d3a0fb7dfd2e43ef24e217
DIST libxmlb-0.3.14.tar.gz 127096 BLAKE2B d99ec674385cd8dc31d92b14ac1539138b00c980ba3561fd406099a64afdf2f8b6fa2d808b5a33daafbcbc5ef87e20a02a534f860699f78bc71aa55d4b507d51 SHA512 6c77b9475ca3430270ca29e3d1c5720740c54ff55da76501495da315ea039500e64791689600aa59f3003ff54d030203616ad468169c296bf34434a68e24df50
+DIST libxmlb-0.3.17.tar.gz 131311 BLAKE2B 5f366f94fcafcb7a9ef198a119fa41f2e2b1a162149b8236e6e4cdc0eaa32f6c16a2cb37a3d4f221c150b91275436b5fab287a6c1ba6e67a89fb482a76a03eed SHA512 5b8e8b8b73aa1a99096eef612faca07e2cc7404187d74b065c1ce9e28d13462d9f770cfadec1b659bb1152c79e5f5ab3d33cf153d486d1bc2faba4bd92bf6967
EBUILD libxmlb-0.3.14.ebuild 1339 BLAKE2B 9126fd9d0734feaa3aceb999696b05d02163e5f36d5e3f2c0e53d737b7d7fb936fcc7daee906a6e0f94391a3d0d202a05c71a88f4f5e3cc07ad6132616a2fe58 SHA512 59c9effd08b6cc2e87cb3810a154a6f20fda5a892101f4871d58bc412bd42591715124a0039c9ee4aeed4d4bc3cabc1ac7ab8981cbf7169cb0c78234acdb772f
+EBUILD libxmlb-0.3.17.ebuild 1600 BLAKE2B cf4c7a5e372e21bf33f12071de12ec487ae0d58a6eb75b268148dc5cd302193447d5058617a82ed58a27aa39d687ef8a23a4c1cba6d0efc353534b07421502d3 SHA512 6d37590e72a150ce0b17e5f897b774b1ead4a037be46f24d3b23214f7c4e64a6044b61a8e351358b4cda651389fc3590268c7a80e4147e02dce9d307f66a3577
MISC metadata.xml 404 BLAKE2B 5a8abc0540042c1f19d535395eeaac03acc402617660e0419c89700d9142bb0fa96a9c50bb67ead640788d61a165214fa0e3ca3f6c930625f5b119190041da80 SHA512 301a232fd84aeed1efb47d886cd464f31be1148332d59654667a92df7626b2ce4405d5cbc07868c9ae68ec0ee8983a10c8783114ef9ee650d127667d3d7760a7
diff --git a/dev-libs/libxmlb/libxmlb-0.3.17.ebuild b/dev-libs/libxmlb/libxmlb-0.3.17.ebuild
new file mode 100644
index 000000000000..1d407706e7cc
--- /dev/null
+++ b/dev-libs/libxmlb/libxmlb-0.3.17.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2024 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 +lzma stemmer test +zstd"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-apps/util-linux
+ lzma? ( app-arch/xz-utils )
+ 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-build/meson-0.47.0
+ virtual/pkgconfig
+ introspection? (
+ $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ )
+"
+
+python_check_deps() {
+ python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature lzma)
+ $(meson_feature zstd)
+ $(meson_use doc gtkdoc)
+ $(meson_use introspection)
+ $(meson_use stemmer)
+ $(meson_use test tests)
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+
+ if use test; then
+ # Preventing tests from being installed in the first place is a moving target,
+ # just axe them all afterwards.
+ rm -rf \
+ "${ED}"/usr/libexec/installed-tests \
+ "${ED}"/usr/share/installed-tests \
+ || die
+ fi
+}