From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2012B138350 for ; Sun, 23 Feb 2020 18:10:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABE90E0870; Sun, 23 Feb 2020 18:10:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D781E0870 for ; Sun, 23 Feb 2020 18:10:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9E6A34EF9F for ; Sun, 23 Feb 2020 18:10:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93815CF for ; Sun, 23 Feb 2020 18:10:05 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1582481376.737763b6df5743779a1715d1d32be3bf2da30d6d.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libosinfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libosinfo/Manifest sys-libs/libosinfo/libosinfo-1.6.0.ebuild X-VCS-Directories: sys-libs/libosinfo/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 737763b6df5743779a1715d1d32be3bf2da30d6d X-VCS-Branch: master Date: Sun, 23 Feb 2020 18:10:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 190cb6ec-d813-4be6-a3a2-11dd287c4010 X-Archives-Hash: 95a5d2540940b71cc0cdbbfd41a1fa12 commit: 737763b6df5743779a1715d1d32be3bf2da30d6d Author: Mart Raudsepp gentoo org> AuthorDate: Sun Feb 23 17:46:54 2020 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sun Feb 23 18:09:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737763b6 sys-libs/libosinfo: bump to 1.6.0 There's a 1.7.1 out, but we were so behind that this is just a quick bump to move us forward, with the meson port in 1.7 to be done later with more effort. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> sys-libs/libosinfo/Manifest | 1 + sys-libs/libosinfo/libosinfo-1.6.0.ebuild | 58 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-libs/libosinfo/Manifest b/sys-libs/libosinfo/Manifest index ab0943ecc2d..53b0d226d06 100644 --- a/sys-libs/libosinfo/Manifest +++ b/sys-libs/libosinfo/Manifest @@ -1 +1,2 @@ DIST libosinfo-1.4.0.tar.gz 1075852 BLAKE2B 93129a29ea3a1a3aa69fdceabcf6f41393c8e1dd3f92872d97dcc23a3316b0e4d16ede104da9a3ea0c49d352ba88e05ba5a38806c8c039fe92217e4b6e3140ab SHA512 531b7acf811add53252e52917f8b13b409dbe7a4bc5837dcbe34e729b0f294e760d5a57c5c1c56f1f65217b7fc6e285a56a6fa49d36f02cf696b7cc181db1fe5 +DIST libosinfo-1.6.0.tar.gz 1024787 BLAKE2B 4d0783b41f8c9ed7472c798acede0cd1f3808858ab954e838e8d7543dc50a9819d1f26b0cb02a97c8ed8ebee47db1b915aab5daadc0be2742e8f5c1ba8451a75 SHA512 53359095e40ef12e0cc142ddc92119b4a753bb47a728f13a8ff500a19108a44eb1f6ebe4ed67b04347a707dd0c0d55bcfe6815b57d187237dddd7376ebe9cf5e diff --git a/sys-libs/libosinfo/libosinfo-1.6.0.ebuild b/sys-libs/libosinfo/libosinfo-1.6.0.ebuild new file mode 100644 index 00000000000..1990a9c8b5a --- /dev/null +++ b/sys-libs/libosinfo/libosinfo-1.6.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# 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="https://libosinfo.org/" +SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" + +IUSE="+introspection +vala test" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +# Unsure about osinfo-db-tools rdep, but at least fedora does it too +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=dev-libs/libxml2-2.6.0 + >=dev-libs/libxslt-1.0.0 + net-libs/libsoup:2.4 + 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, and configure.ac checks for it too now +DEPEND="${RDEPEND} + dev-lang/perl + dev-libs/gobject-introspection-common + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.10 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + 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 +}