diff options
author | Michal Privoznik <michal.privoznik@gmail.com> | 2023-11-28 09:57:36 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-03 06:22:14 +0000 |
commit | ec01ea1e5c5656c35ec5579c7a13061ef2d963a2 (patch) | |
tree | 8649f07b2cefb98d0a0a165f9ed5036f1d93780d /sys-libs | |
parent | sys-apps/osinfo-db-tools: Add 1.11.0 (diff) | |
download | gentoo-ec01ea1e5c5656c35ec5579c7a13061ef2d963a2.tar.gz gentoo-ec01ea1e5c5656c35ec5579c7a13061ef2d963a2.tar.bz2 gentoo-ec01ea1e5c5656c35ec5579c7a13061ef2d963a2.zip |
sys-libs/libosinfo: Add 1.11.0
Unfortunately, libxml2 fixes missed the release and thus we need
to carry them over. But the libsoup3 meson option was merged [1]
so we can drop that patch.
1: https://gitlab.com/libosinfo/libosinfo/-/merge_requests/134
Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libosinfo/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libosinfo/libosinfo-1.11.0.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-libs/libosinfo/Manifest b/sys-libs/libosinfo/Manifest index 6da3725fcbb6..5800717815ea 100644 --- a/sys-libs/libosinfo/Manifest +++ b/sys-libs/libosinfo/Manifest @@ -1 +1,2 @@ DIST libosinfo-1.10.0.tar.xz 293804 BLAKE2B 5c676a466459c4e4150294fd263cd32ed95f181a3dea913977165f61dd81d75fb545dd96d0f87661ea13db9f10706c064421a5ecf0ec1b220054149c66c957d1 SHA512 58a30d62d5a4862150826fd9fda3d5189df3693efca3a8732efaa470fa65dbb64181987534ccc13c0bf2fd4efda229217a169590405f0601927472f6ca08e4e7 +DIST libosinfo-1.11.0.tar.xz 303944 BLAKE2B 3d61d66c6ef7a9e2706a1a5dd17d8ceff4538a8ff5988eb81509cbd81673dd193b3685092842d7dbb37e6f92c7ed1f915fcf71cf5db5cad8482f230b3ce066ac SHA512 d1b527cc50eaa92e143f068d9a484a1e591dafb77e65e0172e43d6d6440970c5c3b4e2d65050fd0d64f39d1163d49b339ae6d75943306917b4b367c26a938fb6 diff --git a/sys-libs/libosinfo/libosinfo-1.11.0.ebuild b/sys-libs/libosinfo/libosinfo-1.11.0.ebuild new file mode 100644 index 000000000000..cbe6e25ee3b9 --- /dev/null +++ b/sys-libs/libosinfo/libosinfo-1.11.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson vala xdg + +DESCRIPTION="GObject library for managing information about real and virtual OSes" +HOMEPAGE="https://libosinfo.org/" +SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.xz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" + +IUSE="gtk-doc +introspection +vala test" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# Unsure about osinfo-db-tools rdep, but at least fedora does it too +RDEPEND=" + >=dev-libs/glib-2.44:2 + net-libs/libsoup:3.0 + >=dev-libs/libxml2-2.6.0 + >=dev-libs/libxslt-1.0.0 + sys-apps/hwdata + sys-apps/osinfo-db-tools + sys-apps/osinfo-db + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) +" +DEPEND="${RDEPEND}" +# perl dep is for pod2man for automagic manpage building +BDEPEND=" + dev-lang/perl + dev-util/glib-utils + gtk-doc? ( + >=dev-util/gtk-doc-1.10 + app-text/docbook-xml-dtd:4.3 + ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}"/${PV}-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch +) + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc enable-gtk-doc) + $(meson_feature introspection enable-introspection) + $(meson_use test enable-tests) + $(meson_feature vala enable-vala) + -Dlibsoup-abi=3.0 + -Dwith-pci-ids-path="${EPREFIX}"/usr/share/hwdata/pci.ids + -Dwith-usb-ids-path="${EPREFIX}"/usr/share/hwdata/usb.ids + ) + meson_src_configure +} |