diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-05-25 18:34:43 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-05-25 18:35:54 +0200 |
commit | 04b157f105b1b346e5838536dc06157d2532dad3 (patch) | |
tree | f49101aafc9383423d8471ab5bbcab017a06fa53 /dev-libs/libxmlb/libxmlb-0.3.2.ebuild | |
parent | dev-python/cppy: cleanup metadata.xml (diff) | |
download | gentoo-04b157f105b1b346e5838536dc06157d2532dad3.tar.gz gentoo-04b157f105b1b346e5838536dc06157d2532dad3.tar.bz2 gentoo-04b157f105b1b346e5838536dc06157d2532dad3.zip |
dev-libs/libxmlb: Bump to version 0.3.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libxmlb/libxmlb-0.3.2.ebuild')
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.3.2.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/libxmlb-0.3.2.ebuild b/dev-libs/libxmlb/libxmlb-0.3.2.ebuild new file mode 100644 index 000000000000..a4cc4b2a152c --- /dev/null +++ b/dev-libs/libxmlb/libxmlb-0.3.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +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 ~ppc64 ~x86" +IUSE="doc introspection stemmer test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + 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}]') + ) +" + +python_check_deps() { + has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_configure() { + local emesonargs=( + -Dgtkdoc="$(usex doc true false)" + -Dintrospection="$(usex introspection true false)" + -Dstemmer="$(usex stemmer true false)" + -Dtests="$(usex test true false)" + ) + meson_src_configure +} |