From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EE5361384B4 for ; Mon, 28 Dec 2015 23:10:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBEC221C044; Mon, 28 Dec 2015 23:09:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 703B921C043 for ; Mon, 28 Dec 2015 23:09:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 666B934072E for ; Mon, 28 Dec 2015 23:09:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91CE0CF4 for ; Mon, 28 Dec 2015 23:09:54 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1451344186.e5dba59a0513fa8f11a179ce2b0ca2754cab6058.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgusb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libgusb/Manifest dev-libs/libgusb/libgusb-0.2.8.ebuild X-VCS-Directories: dev-libs/libgusb/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: e5dba59a0513fa8f11a179ce2b0ca2754cab6058 X-VCS-Branch: master Date: Mon, 28 Dec 2015 23:09:54 +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-Archives-Salt: f9dcd0dd-1465-46f2-a57b-32efff73ffa6 X-Archives-Hash: 9351d90d96fa42e49eda3c6318cbc267 commit: e5dba59a0513fa8f11a179ce2b0ca2754cab6058 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Mon Dec 28 23:09:24 2015 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Mon Dec 28 23:09:46 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5dba59a dev-libs/libgusb: version bump to 0.2.8 Package-Manager: portage-2.2.26 dev-libs/libgusb/Manifest | 1 + dev-libs/libgusb/libgusb-0.2.8.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index 169e77d..5409839 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1 +1,2 @@ DIST libgusb-0.2.7.tar.xz 275492 SHA256 0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee SHA512 9210ddc95458c452fa32c8e11849c6f44e24680485aafe93887a52266c8253e495e5f0584f25e3e67051bb00247d6b658cd2ff3f6a4da167a113974d8fefd5ac WHIRLPOOL 7ce8652167f3bf553d33d2b2504e1b1a8fdbdd0844b9fa8f2b54ad5d91b0db505cdedb3d1b6827212bde36bea39c28160f51f0253c921db4f33dae1e9368c07d +DIST libgusb-0.2.8.tar.xz 289744 SHA256 a9c269ef21145b228e59fdcb533ef9c4ae214a6f4748d17ecd2e022f79389eed SHA512 83dce9704276f5edbe893b417a569bd62f2d14d8de1730d6e7e48c72170593c471c8354b813668d0736e31ecf48d2efe76a81c5dc485c1fa6ba62c5f8ceff3b4 WHIRLPOOL 878d07f37f79ef59506e76fa995b58b9e00fe75ae9424b86ea47bd5fb6c14868bc95e85e0744ff4d3c6a2f4aecdbf86f6c584c40c8febddd1c754cbc8386f261 diff --git a/dev-libs/libgusb/libgusb-0.2.8.ebuild b/dev-libs/libgusb/libgusb-0.2.8.ebuild new file mode 100644 index 0000000..2e5cef7 --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +# Yes, we really need API from dev-libs/libusb-1.0.19, not virtual/libusb +RDEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] + vala? ( $(vala_depend) ) +" + +# Tests try to access usb devices in /dev +RESTRICT="test" + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/api/html docs/api/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +}