Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libosinfo/
Date: Mon, 29 Jan 2018 11:59:28
Message-Id: 1517225452.2b75764d2b88ebb03ee78562eaf8a904985c0b74.leio@gentoo
1 commit: 2b75764d2b88ebb03ee78562eaf8a904985c0b74
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 29 11:30:52 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 29 11:30:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b75764d
7
8 sys-libs/libosinfo: bump to 1.1.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 sys-libs/libosinfo/Manifest | 1 +
13 sys-libs/libosinfo/libosinfo-1.1.0.ebuild | 57 +++++++++++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/sys-libs/libosinfo/Manifest b/sys-libs/libosinfo/Manifest
17 index 42b0ca5708b..e8d986ca153 100644
18 --- a/sys-libs/libosinfo/Manifest
19 +++ b/sys-libs/libosinfo/Manifest
20 @@ -1 +1,2 @@
21 DIST libosinfo-1.0.0.tar.gz 896212 BLAKE2B 4bd9df9e1aca1b78595bd3f21dda127f46e44ed47a1a82ce83d23dd02fe5d217b5830a808db9cfa658cfa7d8ff5ff4c138c3420e9500255bace4c1a65e7388df SHA512 962b68b2f6639c70b1ab7377475bbddc99a056075e18d1f281e65188eb8a704b932e7ed26362a36ae805d53137e99b0f8303d18a5a1d7b840fad15eb188ab7d0
22 +DIST libosinfo-1.1.0.tar.gz 904154 BLAKE2B b34d1aaf2d53ac43613cfbdfd05bc12de505d37a743d64e43af379351f640759ad0ec2f30af74bf82a97b3e12b4a02b097bbdd6e0d3e83f7befa2af5340724a2 SHA512 c4f9e67bb5538e31e7d2ed3d764547ba0a2263da5bbf4d1ef930a32d5953fab59abc672e5f86a1f7f5ac1ebd0c5195986193f699a6b0efbcb6769917c0ed7102
23
24 diff --git a/sys-libs/libosinfo/libosinfo-1.1.0.ebuild b/sys-libs/libosinfo/libosinfo-1.1.0.ebuild
25 new file mode 100644
26 index 00000000000..65f0c4c2dbc
27 --- /dev/null
28 +++ b/sys-libs/libosinfo/libosinfo-1.1.0.ebuild
29 @@ -0,0 +1,57 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +VALA_USE_DEPEND="vapigen"
35 +
36 +inherit gnome2 udev vala
37 +
38 +DESCRIPTION="GObject library for managing information about real and virtual OSes"
39 +HOMEPAGE="http://libosinfo.org/"
40 +SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2 LGPL-2.1"
43 +SLOT="0"
44 +
45 +IUSE="+introspection +vala test"
46 +REQUIRED_USE="vala? ( introspection )"
47 +
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
49 +
50 +# Unsure about osinfo-db-tools rdep, but at least fedora does it too
51 +RDEPEND="
52 + >=dev-libs/glib-2.36.0:2
53 + >=net-libs/libsoup-2.42:2.4
54 + >=dev-libs/libxml2-2.6.0
55 + >=dev-libs/libxslt-1.0.0
56 + sys-apps/hwids[pci,usb]
57 + sys-apps/osinfo-db-tools
58 + sys-apps/osinfo-db
59 + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
60 +"
61 +# perl dep is for pod2man, and configure.ac checks for it too now
62 +DEPEND="${RDEPEND}
63 + dev-lang/perl
64 + dev-libs/gobject-introspection-common
65 + >=dev-util/gtk-doc-am-1.10
66 + >=dev-util/intltool-0.40.0
67 + virtual/pkgconfig
68 + test? ( dev-libs/check )
69 + vala? ( $(vala_depend) )
70 +"
71 +
72 +src_prepare() {
73 + gnome2_src_prepare
74 + use vala && vala_src_prepare
75 +}
76 +
77 +src_configure() {
78 + gnome2_src_configure \
79 + --with-usb-ids-path=/usr/share/misc/usb.ids \
80 + --with-pci-ids-path=/usr/share/misc/pci.ids \
81 + --disable-static \
82 + $(use_enable test tests) \
83 + $(use_enable introspection) \
84 + $(use_enable vala) \
85 + --disable-coverage
86 +}