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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA1C9158012 for ; Tue, 13 Sep 2022 20:11:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07B83E08EB; Tue, 13 Sep 2022 20:11:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF333E08EB for ; Tue, 13 Sep 2022 20:11:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7BB7340D5E for ; Tue, 13 Sep 2022 20:11:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B5F356A for ; Tue, 13 Sep 2022 20:11:35 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1663099504.3c484cb5f653742e11e8fc51b8b2c424479129f6.mattst88@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.4.0.ebuild X-VCS-Directories: dev-libs/libgusb/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 3c484cb5f653742e11e8fc51b8b2c424479129f6 X-VCS-Branch: master Date: Tue, 13 Sep 2022 20:11:35 +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: e4deebe7-c5ea-48ad-a71a-875dee763a96 X-Archives-Hash: b9a04fa0f1c4f777cddf56ff56ffbcff commit: 3c484cb5f653742e11e8fc51b8b2c424479129f6 Author: Matt Turner gentoo org> AuthorDate: Tue Sep 13 19:24:07 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Sep 13 20:05:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c484cb5 dev-libs/libgusb: Version bump to 0.4.0 Signed-off-by: Matt Turner gentoo.org> dev-libs/libgusb/Manifest | 1 + dev-libs/libgusb/libgusb-0.4.0.ebuild | 64 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index 9d0b5549cd32..652ea0353b83 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1 +1,2 @@ DIST libgusb-0.3.10.tar.xz 42972 BLAKE2B 4c49aa15cbbbb56d5ee5b896adb3e34b45332cd846933fd3aa86a645e7d897418d0e7a30d9972980e6527f1e60fc6e579f5df119708a12b3e504ff695c94d922 SHA512 66bd7c292cb9df2799b02acd48dc4b07794e7339ea1bd6473ea512dfec1b8e7e58abbd40f16a2a4805240cc8df4aec050335edb4f4178ad12ac5275438b8ae59 +DIST libgusb-0.4.0.tar.xz 49844 BLAKE2B 9f2b552d8f224b4c8209f8adaec9d9131adf6ea938a25dca2ce2e6a8b4f154e3d9d6c75dc5bb1d42c6f00b2727136156c76f6291156f2c364aaa3343990ac3bd SHA512 80aa3dea90a7a49d1108cddf066232dcb3c3a41bbbec5e598fbb1f5a554997b2fbc3ad95e514813ffb575a018585deef6ec16ba4533eefb3c1a086e1cc4534ce diff --git a/dev-libs/libgusb/libgusb-0.4.0.ebuild b/dev-libs/libgusb/libgusb-0.4.0.ebuild new file mode 100644 index 000000000000..4749b7480219 --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.4.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="xml(+)" + +inherit meson-multilib python-any-r1 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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="gtk-doc +introspection test +vala" +REQUIRED_USE="vala? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + >=dev-libs/json-glib-1.1.1[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + sys-apps/hwdata +" +DEPEND="${RDEPEND} + test? ( >=dev-util/umockdev-0.17.7[${MULTILIB_USEDEP}] )" +BDEPEND=" + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + 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 +" + +python_check_deps() { + python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + use vala && vala_setup +} + +multilib_src_configure() { + local emesonargs=( + -Ddefault_library=shared + $(meson_use test tests) + $(meson_native_use_bool vala vapi) + -Dusb_ids="${EPREFIX}"/usr/share/hwdata/usb.ids + $(meson_native_use_bool gtk-doc docs) + $(meson_native_use_bool introspection) + $(meson_feature test umockdev) + + ) + meson_src_configure +}