summaryrefslogtreecommitdiff
path: root/sys-libs/libosinfo
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libosinfo')
-rw-r--r--sys-libs/libosinfo/Manifest6
-rw-r--r--sys-libs/libosinfo/libosinfo-1.0.0-r1.ebuild57
-rw-r--r--sys-libs/libosinfo/libosinfo-1.0.0.ebuild49
-rw-r--r--sys-libs/libosinfo/metadata.xml8
4 files changed, 120 insertions, 0 deletions
diff --git a/sys-libs/libosinfo/Manifest b/sys-libs/libosinfo/Manifest
new file mode 100644
index 000000000000..1caefc4f40b1
--- /dev/null
+++ b/sys-libs/libosinfo/Manifest
@@ -0,0 +1,6 @@
+DIST libosinfo-1.0.0.tar.gz 896212 SHA256 f7b425ecde5197d200820eb44401c5033771a5d114bd6390230de768aad0396b SHA512 962b68b2f6639c70b1ab7377475bbddc99a056075e18d1f281e65188eb8a704b932e7ed26362a36ae805d53137e99b0f8303d18a5a1d7b840fad15eb188ab7d0 WHIRLPOOL b141f420db8f17ff3c904c2f9b0b2cb37d895813a0654e72d667e4d4a4543d607cfe52e10fdc385c1f80e2dadea96700d5c94968e0dfee0d60f14001a712912e
+EBUILD libosinfo-1.0.0-r1.ebuild 1396 SHA256 85d4deb834688aeedadb9362579ca9d68ccc404d89e34f5e7a5f3377c4b873c9 SHA512 f0ba90206910ac4ce04d9f125217cb42775f8d844ca1e087cdf13d10ffd7c45f91bd9fc699b29c7c4000a97d4d94f8a83a7cd93866765ad267a4ab732c3f7e29 WHIRLPOOL 17b0861dee9c8ab63e411974894a09de3a2f94c1c929c57acd39089ece6305c1cec2a8acfcf9cd90259530179f0c73dc5ea1bf8fdb4127340c234a0e983a9d18
+EBUILD libosinfo-1.0.0.ebuild 1084 SHA256 683fda36d5c316d35c87f27b79e909d0359710b09f2efa954d84d9ef5fdd409d SHA512 f352ebf34598cd9ddecb747b569ac3fad6dc3815a870279e5592a77c2a0f10683b55e7f7cd8274ace06541c2fbb9526c931a9c1b4b7c85d5bb2cbe56c9574641 WHIRLPOOL cd97b1d2a19810185db572d95bf1c59a9beb60e61d0151f76ae8294c897d01436eda973270a91f24e2ed931b6e8ba036a56bf03847ed1fbf2109701f67db5dab
+MISC ChangeLog 4509 SHA256 cebedddf7978ba3ec811fdc69989fe02cdf9917533c3efb6b7615e66cd4dcd06 SHA512 3f7a14e03dd0208e12c80c0e426bbaf54a43b1df3875b55cebf8099acbd1e418cef15944a60c48179b2462915c4ceb3511bbcab0f96fba1c9e269d3d15372a8f WHIRLPOOL 2d9e7b599cb9e19f00806e70e080a09b8260a1bb82f9c6a66170a01eb1eb3d9f96e0474356f2426537733024225704d7df51aa1e7b331fcd4923b71446213837
+MISC ChangeLog-2015 6034 SHA256 260a92275cf563ff91d257d7c647ddba0fecff024272c3805be21f26e9bb3112 SHA512 3aa72b800db16b9419279fc15018a999fa4d8065c69e07f4157af1f3d5922cb339bfeb6abddd4612772ddb4f94941d5ce85dba3ed047d3264d2aded002e4f97b WHIRLPOOL 53b70ebf10154c9aadb215cd1e06a6012e6fb6d3d07c9abedb05d6d5663468599465d4560e30c685157f009a44b158a07208578f0f4d157c965d4174b1d86f2a
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/sys-libs/libosinfo/libosinfo-1.0.0-r1.ebuild b/sys-libs/libosinfo/libosinfo-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..d610203f02b5
--- /dev/null
+++ b/sys-libs/libosinfo/libosinfo-1.0.0-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 udev vala
+
+DESCRIPTION="GObject library for managing information about real and virtual OSes"
+HOMEPAGE="http://libosinfo.org/"
+SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+
+IUSE="+introspection +vala test"
+REQUIRED_USE="vala? ( introspection )"
+
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86"
+
+# Unsure about osinfo-db-tools rdep, but at least fedora does it too
+RDEPEND="
+ >=dev-libs/glib-2.36.0:2
+ >=net-libs/libsoup-2.42:2.4
+ >=dev-libs/libxml2-2.6.0
+ >=dev-libs/libxslt-1.0.0
+ sys-apps/hwids[pci,usb]
+ sys-apps/osinfo-db-tools
+ sys-apps/osinfo-db
+ introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
+"
+# perl dep is for pod2man
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-libs/gobject-introspection-common
+ >=dev-util/gtk-doc-am-1.10
+ >=dev-util/intltool-0.40.0
+ virtual/pkgconfig
+ test? ( dev-libs/check )
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ gnome2_src_prepare
+ use vala && vala_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --with-usb-ids-path=/usr/share/misc/usb.ids \
+ --with-pci-ids-path=/usr/share/misc/pci.ids \
+ --disable-static \
+ $(use_enable test tests) \
+ $(use_enable introspection) \
+ $(use_enable vala) \
+ --disable-coverage
+}
diff --git a/sys-libs/libosinfo/libosinfo-1.0.0.ebuild b/sys-libs/libosinfo/libosinfo-1.0.0.ebuild
new file mode 100644
index 000000000000..97da310d3301
--- /dev/null
+++ b/sys-libs/libosinfo/libosinfo-1.0.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 udev vala
+
+DESCRIPTION="GObject library for managing information about real and virtual OSes"
+HOMEPAGE="http://libosinfo.org/"
+SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+
+IUSE="+introspection +vala test"
+REQUIRED_USE="vala? ( introspection )"
+
+KEYWORDS="~sparc"
+
+RDEPEND="
+ >=dev-libs/glib-2.36.0:2
+ >=dev-libs/libxslt-1.0.0:=
+ dev-libs/libxml2:=
+ >=net-libs/libsoup-2.42:2.4
+ sys-apps/hwids
+ introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
+"
+DEPEND="${RDEPEND}
+ dev-libs/gobject-introspection-common
+ >=dev-util/gtk-doc-am-1.10
+ virtual/pkgconfig
+ test? ( dev-libs/check )
+ vala? ( $(vala_depend) )
+"
+
+src_prepare() {
+ gnome2_src_prepare
+ use vala && vala_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable test tests) \
+ $(use_enable introspection) \
+ $(use_enable vala) \
+ --disable-coverage
+}
diff --git a/sys-libs/libosinfo/metadata.xml b/sys-libs/libosinfo/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/sys-libs/libosinfo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>