diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-08-19 10:23:50 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-08-19 10:49:44 +0200 |
commit | 7e22fd2a13c2316a926046073692c6dc444d6958 (patch) | |
tree | e8ad0a4677490d41ec022296c6082b7403cd907e /dev-libs/libxmlb | |
parent | media-sound/strawberry: Bump to version 0.7.2. Removed old (diff) | |
download | gentoo-7e22fd2a13c2316a926046073692c6dc444d6958.tar.gz gentoo-7e22fd2a13c2316a926046073692c6dc444d6958.tar.bz2 gentoo-7e22fd2a13c2316a926046073692c6dc444d6958.zip |
dev-libs/libxmlb: Bump to version 0.2.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libxmlb')
-rw-r--r-- | dev-libs/libxmlb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.2.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest index e2c6fca7ca3e..ab3af9b2f316 100644 --- a/dev-libs/libxmlb/Manifest +++ b/dev-libs/libxmlb/Manifest @@ -1,3 +1,4 @@ DIST libxmlb-0.1.12.tar.gz 91256 BLAKE2B b063bed9d7794b300ec40622c7fd0caac974b7f1be57b08ccb1864587b7bf47f892a39d1f4f0df226d3fe7ca03ffcec471a4f28afb8e64ae841d6898a337b60f SHA512 aebd9f41421bb0d78954038b3221bed879d296ec2d3061e7e7747980974e01081e51ea36d4e94545af5006b3dc4714d535aeea1943e42a7f1661ba1177979b31 DIST libxmlb-0.1.14.tar.gz 92388 BLAKE2B cf3057fadf87c866f456bb2eac773e056adba56e0912c249cd89acff2e9a722414876717c6b2065d836fee66032a3d55d9fd2a824ef1fe480604c36887b47c44 SHA512 906340212ce4a515bec81a1b7a5f04539712a48322d7fcff0992f82e5676cdf15c38b0340c28c9eed65a58321e3e17bac641f05bd403504c87599327ba6d4e49 DIST libxmlb-0.1.15.tar.gz 92923 BLAKE2B 97b6af812397dd279e7e3c038627fcf8228cbfa5c3af91ceeb5361e32d37d357eda6a193f627a5f4442426fb08abca1ff11684fe199d9d3a4add72ca4f3f5d08 SHA512 58268b3a690af36c0923afdee3ae58e88bf778eebbc6a439be1bc85ed985efdc20cd7006c976586f7be87310dc091d67dddd370f4bbec58379fc4e7349bfa3d8 +DIST libxmlb-0.2.0.tar.gz 97521 BLAKE2B 7a47164503b5b682e2bb9d877622a7dcad06d40bf87d6a7cf9e21898d8444e610ba3985d6be8cf65068f0637ee44ef8678610315be2795476b2f5ccaacb098ea SHA512 cff4245a47a942dd37675921ba753858a3ee0572500a1cd7291d2a063fa7fa9d9157c167bf33694e4e0204504d7e88fbfd2873c4b9851247d6cdb338c2d587a8 diff --git a/dev-libs/libxmlb/libxmlb-0.2.0.ebuild b/dev-libs/libxmlb/libxmlb-0.2.0.ebuild new file mode 100644 index 000000000000..eef8b51f8641 --- /dev/null +++ b/dev-libs/libxmlb/libxmlb-0.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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 ~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=" + >=dev-util/meson-0.47.0 + virtual/pkgconfig + introspection? ( + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + ${PYTHON_DEPS} + ) +" + +python_check_deps() { + has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use introspection && 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 +} |