diff options
author | Jonathan Davies <jpds@protonmail.com> | 2021-03-24 11:30:43 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-03-24 22:25:37 -0400 |
commit | adef91f728b8973dd56eec38bac1e02db89e1abb (patch) | |
tree | 2dff4f60819aeec22179b38174b493506cbd94fb /app-emulation/libvirt-glib | |
parent | app-emulation/libvirt-glib: Dropped old. (diff) | |
download | gentoo-adef91f728b8973dd56eec38bac1e02db89e1abb.tar.gz gentoo-adef91f728b8973dd56eec38bac1e02db89e1abb.tar.bz2 gentoo-adef91f728b8973dd56eec38bac1e02db89e1abb.zip |
app-emulation/libvirt-glib: Version updated to 4.0.0 with changes:
* EAPI 7 update, added BDEPEND
* Ported ebuild to use meson
* Removed nls and added gtk-doc and test USE flag
* Updated HOMEPAGE
* Changed SRC_URI to use HTTPS
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-emulation/libvirt-glib')
-rw-r--r-- | app-emulation/libvirt-glib/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/libvirt-glib/libvirt-glib-4.0.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app-emulation/libvirt-glib/Manifest b/app-emulation/libvirt-glib/Manifest index eb7c318aaccc..01ec657f55d8 100644 --- a/app-emulation/libvirt-glib/Manifest +++ b/app-emulation/libvirt-glib/Manifest @@ -1 +1,2 @@ DIST libvirt-glib-3.0.0.tar.gz 899180 BLAKE2B ef10b3d9bad48e49dd1898733aacb2f51f1826330eda9c63a7f8df5f11c96812f8cc7fe6a867961efa85a433f45c934d75cf605eb523ec723459da4646335b1a SHA512 b9e7d782c25b5c3a9b2829f1be8162352438ab3505510a1ca7dd64d741eaab158dc9206fdd4b0e3e27b0c049e4bcfc47db0c9a7fa1a84888864e23d3c35c079e +DIST libvirt-glib-4.0.0.tar.xz 161836 BLAKE2B e196d1f02f6f202b1883500241bbfda963b34ee12bd945b3fa897f84f55a049f98e0429132ccfad7168e5ba2b41245e9e7e3817a7f057e0dc40b674ca6c9b661 SHA512 e1b99e80aa671fa5a4d7f7f7a4ea70ce7c5fdaf97574407f79aa11a75dd177e1e3f92027728a83ded62e305852bbda76eb90326aaa1f5f19b77272b008351810 diff --git a/app-emulation/libvirt-glib/libvirt-glib-4.0.0.ebuild b/app-emulation/libvirt-glib/libvirt-glib-4.0.0.ebuild new file mode 100644 index 000000000000..15bc2925d9cf --- /dev/null +++ b/app-emulation/libvirt-glib/libvirt-glib-4.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson vala + +DESCRIPTION="GLib and GObject mappings for libvirt" +HOMEPAGE="https://libvirt.org/ https://gitlab.com/libvirt/libvirt-glib/" +SRC_URI="https://libvirt.org/sources/glib/${P}.tar.xz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="gtk-doc +introspection test +vala" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +BDEPEND=" + dev-util/glib-utils + >=dev-util/intltool-0.35.0 + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) + vala? ( $(vala_depend) ) +" +RDEPEND=" + >=dev-libs/libxml2-2.9.1 + >=app-emulation/libvirt-1.2.8:= + >=dev-libs/glib-2.48.0:2 + introspection? ( >=dev-libs/gobject-introspection-1.48.0:= ) +" + +DEPEND="${RDEPEND}" + +src_prepare() { + default + use vala && vala_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_feature gtk-doc docs) + $(meson_feature introspection) + $(meson_feature test tests) + $(meson_feature vala vapi) + ) + + meson_src_configure +} |