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 596AF138334 for ; Wed, 18 Dec 2019 15:07:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3DDAE0909; Wed, 18 Dec 2019 15:07:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 7E075E0909 for ; Wed, 18 Dec 2019 15:07:11 +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 5F9A934D9E8 for ; Wed, 18 Dec 2019 15:07:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CFD459A6 for ; Wed, 18 Dec 2019 15:07:05 +0000 (UTC) From: "Jason A. Donenfeld" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason A. Donenfeld" Message-ID: <1576681617.ba577ae75cc7611310231a10fdc51d8570b84503.zx2c4@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.3.1.ebuild X-VCS-Directories: dev-libs/libgusb/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason A. Donenfeld X-VCS-Revision: ba577ae75cc7611310231a10fdc51d8570b84503 X-VCS-Branch: master Date: Wed, 18 Dec 2019 15:07: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: 6deaee4c-dc2d-495e-b547-5ef886ec3510 X-Archives-Hash: 9cdb801cd296e0b6c6d10d055078003e commit: ba577ae75cc7611310231a10fdc51d8570b84503 Author: Jason A. Donenfeld gentoo org> AuthorDate: Wed Dec 18 14:30:28 2019 +0000 Commit: Jason A. Donenfeld gentoo org> CommitDate: Wed Dec 18 15:06:57 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba577ae7 dev-libs/libgusb: bump to 0.3.1 Closes: https://bugs.gentoo.org/698154 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jason A. Donenfeld gentoo.org> dev-libs/libgusb/Manifest | 1 + dev-libs/libgusb/libgusb-0.3.1.ebuild | 66 +++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index bdddc3e42bc..197f5f0b196 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1 +1,2 @@ DIST libgusb-0.2.11.tar.xz 291992 BLAKE2B f43065fac0fcfbc3e392b90dc05537746ce1325d623161e93e1a306b87b07012ef4e11242514cd3da0b83a7df6adc052e20fd3336b53d2543ed9e23886a776f5 SHA512 f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096 +DIST libgusb-0.3.1.tar.xz 38568 BLAKE2B d09afae9d210fde1411de5a0b9b8852eef49f88558ff4c434ef5f2ed9c1c6c29600b96dad73f6873027c5ce0987a3fd99691ffd97d90cfba9f63fbb2cc73f8cd SHA512 5c864e35ec64d1e52ec15ab971c75e0ee3e4664223a6b365815a54819f23342889e5f9739b998799a3af3d37ee75f0ae38ee0d8bca4ed1e2d6ff712f65a53b9a diff --git a/dev-libs/libgusb/libgusb-0.3.1.ebuild b/dev-libs/libgusb/libgusb-0.3.1.ebuild new file mode 100644 index 00000000000..b0e759e5f5d --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.3.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit meson multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="gtk-doc +introspection static-libs test vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + sys-apps/hwids +" +DEPEND="${RDEPEND}" +BDEPEND=" + gtk-doc? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.4 + dev-util/gtk-doc + ) + vala? ( $(vala_depend) ) + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +RESTRICT="!test? ( test )" + +src_prepare() { + use vala && vala_src_prepare + default +} + +multilib_src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + $(meson_use test tests) + -Dvapi=$(multilib_native_usex vala true false) + -Dusb_ids="${EPREFIX}"/usr/share/misc/usb.ids + -Ddocs=$(multilib_native_usex gtk-doc true false) + -Dintrospection=$(multilib_native_usex introspection true false) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +}