diff options
Diffstat (limited to 'dev-libs/libxmlb')
-rw-r--r-- | dev-libs/libxmlb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libxmlb/libxmlb-0.3.11.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/Manifest b/dev-libs/libxmlb/Manifest index 564982ccc67f..492af458918d 100644 --- a/dev-libs/libxmlb/Manifest +++ b/dev-libs/libxmlb/Manifest @@ -1,4 +1,6 @@ AUX libxmlb-0.3.9-no_installed_tests.patch 574 BLAKE2B 6cee968b37e98e4cf49336f2974312453c12435655b00b5cf821b42ad17da304b6ed9f822478abe995b3e3467c541186c4a33433c536d3e6d6d531bed9338528 SHA512 ecc8e1d44400e3f168b53d5657e982b7457847954b05bcf0412e925767e4ca4efdb7e91ec3bcaba44b8ade01635166d8b6aa3683fc53d2e2165e71db4cdaf561 DIST libxmlb-0.3.10.tar.gz 122004 BLAKE2B e51caacff96aa41029314c5d8a13503713fb813b2512c322214e309a5aebed2b6cd5f8d24412240dbc57d500b7186b6760a82451063eeb1f1011c0b450f6ad99 SHA512 05907c3dd2fa2ab67580e40fb573f27d9d47053fef5e23eb11ed887163ae0194b0f9b590e758fa76501098a5f261a48d9cd94003af828f5a18c61d89a9ec05bb +DIST libxmlb-0.3.11.tar.gz 124796 BLAKE2B 7f54e7c6370e0f3ebb9f94c9859f3d211127caa7d4d3ffbc2d11378ec5f0ee0cb508a1697635c30187643acdba279d493f9054d4f2a54f93ede1785f79b378ce SHA512 cebbfe1372d933a212a46ed95169099a642c1c48914b170c9f1de51fb017dccb22ca8dc9e2108fabb92fd0519cfba58da88b10bccc74a49a3e9e7adb9a1d9872 EBUILD libxmlb-0.3.10.ebuild 1278 BLAKE2B bbaf1f67b785cb4fe82f0f220dd9242cbf42fabc80424d0322b2bb64426ea092b0c64e899c688eeab1fe5a06178a1df1533c2bb6f05bccc763f24615f2feffa6 SHA512 326bb61a50e9083581799e0b4b94f3f26b2810d74919bfb72ca5e4cf561b9e70f84671eb154a4b6fc4743ba298d5b815632c9e08af7900a81bd1562daa3252f5 +EBUILD libxmlb-0.3.11.ebuild 1305 BLAKE2B a6f2adb2ae62ed0193df6e9ffed9e9e890254cca09c0750da878824d67ac37ddd592a2ef0cef4d0651be5ec041967c0db0cbe96fe94416b21425118a21414376 SHA512 0acdaa55308327ddd59642ea694c9855bf6e6740b9bb5f130ca2e0557e46868cc5ba50504835fd714a33cf7b9f6dfa8c31e3955124f1285dc7b5d72f22b4da66 MISC metadata.xml 517 BLAKE2B 1a8ff3ec8ca972f43e6d511a6772390159275882cd62cf09be2f6a35752e9e8411fa55c794ff8ffeee861578340351fb69b695ee0fd89e5c61c729f1e8593870 SHA512 061822e49bd1130dea296e71371296d8139485b2db86c32627d696623b40bf9d056d3af08ca3dbf32b6f3794f483fb196256c9a0e10c84554513951c35a2d7a5 diff --git a/dev-libs/libxmlb/libxmlb-0.3.11.ebuild b/dev-libs/libxmlb/libxmlb-0.3.11.ebuild new file mode 100644 index 000000000000..62d8c5c5817f --- /dev/null +++ b/dev-libs/libxmlb/libxmlb-0.3.11.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..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 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc introspection stemmer test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/xz-utils + app-arch/zstd:= + 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() { + python_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 +} |