mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-libs/libxmlb: drop 0.3.19
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST libxmlb-0.3.19.tar.gz 131490 BLAKE2B 1455e14a90f29865f304b16cbf0355966e7fd0766f8033cb2b2bc9fe28ad0a1266c1e06faaeb3677a683be56bc2fd9a64094d958f00358292fae55949229ab9a SHA512 07db2e99b2f78f6e99cccbf5ca250978955d5a9bf18aaa675b2292d1df438fc3f98a5d0e8ddcfa41e686782f35947fe92b54b520b4e6e278d6e5c871e7491271
|
||||
DIST libxmlb-0.3.21.tar.gz 132251 BLAKE2B 07140d840b7b807cff0c555c18ab33d9bd087d4af4e0bb47088b264a7d9dfff8929ab2820341ec99882c7239d77ee135b2c3592f465667c3bd62aa59396cf0f1 SHA512 5583e547e2e9077552902b5da87a83bfe4a9c723dbd0350b33014b34936feb4fa15fc4b4fedf23ce2aa2c870df57facc376b8549f7d03714df70fe5e738f61c8
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
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() {
|
||||
if use introspection ; then
|
||||
python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user