public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: sys-libs/libosinfo/
Date: Sun, 22 Dec 2013 22:51:48 +0000 (UTC)	[thread overview]
Message-ID: <1387752677.33df8166dcc80ca96126736d50f324bbc79b6277.eva@gentoo> (raw)

commit:     33df8166dcc80ca96126736d50f324bbc79b6277
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 22:51:17 2013 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 22:51:17 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=33df8166

sys-libs/libosinfo: fix repoman warnings

* Sync with gentoo-x86
* Apply team policy
* Add metadata.xml

---
 sys-libs/libosinfo/libosinfo-9999.ebuild | 80 +++++++++++++++++++++-----------
 sys-libs/libosinfo/metadata.xml          |  8 ++++
 2 files changed, 60 insertions(+), 28 deletions(-)

diff --git a/sys-libs/libosinfo/libosinfo-9999.ebuild b/sys-libs/libosinfo/libosinfo-9999.ebuild
index 26d6522..ebe19a8 100644
--- a/sys-libs/libosinfo/libosinfo-9999.ebuild
+++ b/sys-libs/libosinfo/libosinfo-9999.ebuild
@@ -1,49 +1,73 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
-GCONF_DEBUG="no"
-GNOME2_LA_PUNT="yes"
+EAPI=5
+VALA_MIN_API_VERSION="0.16"
+VALA_USE_DEPEND="vapigen"
 
-inherit gnome2
+inherit udev vala
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
 
 DESCRIPTION="GObject library for managing information about real and virtual OSes"
-HOMEPAGE="https://fedorahosted.org/libosinfo/"
+HOMEPAGE="http://fedorahosted.org/libosinfo/"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
+IUSE="+introspection +vala test"
+REQUIRED_USE="vala? ( introspection )"
 if [[ ${PV} = 9999 ]]; then
 	EGIT_REPO_URI="git://git.fedorahosted.org/${PN}.git"
 	KEYWORDS=""
+	IUSE="${IUSE} doc"
 else
-	SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 fi
-IUSE="doc +introspection +vala test"
-REQUIRED_USE="vala? ( introspection )"
 
 RDEPEND="
-	dev-libs/glib:2
-	>=dev-libs/libxml2-2.6.0:2
-	introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
+	>=dev-libs/glib-2:2
+	>=dev-libs/libxslt-1.0.0:=
+	dev-libs/libxml2:=
+	net-libs/libsoup-gnome:2.4
+	sys-apps/hwids
+	introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
+"
 DEPEND="${RDEPEND}
+	dev-libs/gobject-introspection-common
+	>=dev-util/gtk-doc-am-1.10
 	virtual/pkgconfig
-	doc? ( >=dev-util/gtk-doc-1.10 )
-	introspection? ( dev-libs/check )
-	vala? ( dev-lang/vala:0.14 )"
-
-pkg_setup() {
-	# --enable-udev only installs udev rules
-	G2CONF="--disable-coverage
-		--disable-static
-		--enable-udev
-		--with-udev-rulesdir=/lib/udev/rules.d
-		VAPIGEN=$(type -P vapigen-0.14)
-		$(use_enable introspection)
-		$(use_enable test tests)
-		$(use_enable vala)"
+	test? ( dev-libs/check )
+	vala? ( $(vala_depend) )
+"
+
+if [[ ${PV} = 9999 ]]; then
+	DEPEND="${DEPEND}
+		doc? ( >=dev-util/gtk-doc-1.10 )"
+fi
+
+src_prepare() {
+	use vala && vala_src_prepare
+}
+
+src_configure() {
+	# --enable-udev is only for rules.d file install
+	econf \
+		--disable-static \
+		$(use_enable doc gtk-doc) \
+		$(use_enable test tests) \
+		$(use_enable introspection) \
+		$(use_enable vala) \
+		--enable-udev \
+		--disable-coverage \
+		--with-udev-rulesdir="$(get_udevdir)"/rules.d \
+		--with-usb-ids-path=/usr/share/misc/usb.ids \
+		--with-pci-ids-path=/usr/share/misc/pci.ids
+}
+
+src_install() {
+	default
+	prune_libtool_files
 }

diff --git a/sys-libs/libosinfo/metadata.xml b/sys-libs/libosinfo/metadata.xml
new file mode 100644
index 0000000..c83b672
--- /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>
+<herd>gnome</herd>
+<use>
+	<flag name="vala">Enable bindings for <pkg>dev-lang/vala</pkg></flag>
+</use>
+</pkgmetadata>


             reply	other threads:[~2013-12-22 22:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-22 22:51 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-12-23 21:56 [gentoo-commits] proj/gnome:master commit in: sys-libs/libosinfo/ Gilles Dartiguelongue
2014-04-20 18:17 Gilles Dartiguelongue
2011-11-16  1:52 Nirbheek Chauhan
2011-11-15  1:31 Nirbheek Chauhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387752677.33df8166dcc80ca96126736d50f324bbc79b6277.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox