1 |
commit: 737763b6df5743779a1715d1d32be3bf2da30d6d |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 23 17:46:54 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 23 18:09:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737763b6 |
7 |
|
8 |
sys-libs/libosinfo: bump to 1.6.0 |
9 |
|
10 |
There's a 1.7.1 out, but we were so behind that this is just a quick |
11 |
bump to move us forward, with the meson port in 1.7 to be done later |
12 |
with more effort. |
13 |
|
14 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
15 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
16 |
|
17 |
sys-libs/libosinfo/Manifest | 1 + |
18 |
sys-libs/libosinfo/libosinfo-1.6.0.ebuild | 58 +++++++++++++++++++++++++++++++ |
19 |
2 files changed, 59 insertions(+) |
20 |
|
21 |
diff --git a/sys-libs/libosinfo/Manifest b/sys-libs/libosinfo/Manifest |
22 |
index ab0943ecc2d..53b0d226d06 100644 |
23 |
--- a/sys-libs/libosinfo/Manifest |
24 |
+++ b/sys-libs/libosinfo/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST libosinfo-1.4.0.tar.gz 1075852 BLAKE2B 93129a29ea3a1a3aa69fdceabcf6f41393c8e1dd3f92872d97dcc23a3316b0e4d16ede104da9a3ea0c49d352ba88e05ba5a38806c8c039fe92217e4b6e3140ab SHA512 531b7acf811add53252e52917f8b13b409dbe7a4bc5837dcbe34e729b0f294e760d5a57c5c1c56f1f65217b7fc6e285a56a6fa49d36f02cf696b7cc181db1fe5 |
27 |
+DIST libosinfo-1.6.0.tar.gz 1024787 BLAKE2B 4d0783b41f8c9ed7472c798acede0cd1f3808858ab954e838e8d7543dc50a9819d1f26b0cb02a97c8ed8ebee47db1b915aab5daadc0be2742e8f5c1ba8451a75 SHA512 53359095e40ef12e0cc142ddc92119b4a753bb47a728f13a8ff500a19108a44eb1f6ebe4ed67b04347a707dd0c0d55bcfe6815b57d187237dddd7376ebe9cf5e |
28 |
|
29 |
diff --git a/sys-libs/libosinfo/libosinfo-1.6.0.ebuild b/sys-libs/libosinfo/libosinfo-1.6.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..1990a9c8b5a |
32 |
--- /dev/null |
33 |
+++ b/sys-libs/libosinfo/libosinfo-1.6.0.ebuild |
34 |
@@ -0,0 +1,58 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+VALA_USE_DEPEND="vapigen" |
40 |
+ |
41 |
+inherit gnome2 udev vala |
42 |
+ |
43 |
+DESCRIPTION="GObject library for managing information about real and virtual OSes" |
44 |
+HOMEPAGE="https://libosinfo.org/" |
45 |
+SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2+ LGPL-2.1+" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+IUSE="+introspection +vala test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+REQUIRED_USE="vala? ( introspection )" |
53 |
+ |
54 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
55 |
+ |
56 |
+# Unsure about osinfo-db-tools rdep, but at least fedora does it too |
57 |
+RDEPEND=" |
58 |
+ >=dev-libs/glib-2.44:2 |
59 |
+ >=dev-libs/libxml2-2.6.0 |
60 |
+ >=dev-libs/libxslt-1.0.0 |
61 |
+ net-libs/libsoup:2.4 |
62 |
+ sys-apps/hwids[pci,usb] |
63 |
+ sys-apps/osinfo-db-tools |
64 |
+ sys-apps/osinfo-db |
65 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.7:= ) |
66 |
+" |
67 |
+# perl dep is for pod2man, and configure.ac checks for it too now |
68 |
+DEPEND="${RDEPEND} |
69 |
+ dev-lang/perl |
70 |
+ dev-libs/gobject-introspection-common |
71 |
+ dev-util/glib-utils |
72 |
+ >=dev-util/gtk-doc-am-1.10 |
73 |
+ >=sys-devel/gettext-0.19.8 |
74 |
+ virtual/pkgconfig |
75 |
+ vala? ( $(vala_depend) ) |
76 |
+" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ gnome2_src_prepare |
80 |
+ use vala && vala_src_prepare |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ gnome2_src_configure \ |
85 |
+ --with-usb-ids-path=/usr/share/misc/usb.ids \ |
86 |
+ --with-pci-ids-path=/usr/share/misc/pci.ids \ |
87 |
+ --disable-static \ |
88 |
+ $(use_enable test tests) \ |
89 |
+ $(use_enable introspection) \ |
90 |
+ $(use_enable vala) \ |
91 |
+ --disable-coverage |
92 |
+} |