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 5DD3315807A for ; Wed, 9 Oct 2024 08:23:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AE22E29B4; Wed, 9 Oct 2024 08:23:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 738FCE29B4 for ; Wed, 9 Oct 2024 08:23:33 +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 85FA2343079 for ; Wed, 9 Oct 2024 08:23:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFE4F1F42 for ; Wed, 9 Oct 2024 08:23:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1728462032.37a69f6f9e9e4cb65b26632a1aeee33c2a86ccba.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmbim/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libmbim/libmbim-1.28.4-r1.ebuild X-VCS-Directories: net-libs/libmbim/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 37a69f6f9e9e4cb65b26632a1aeee33c2a86ccba X-VCS-Branch: master Date: Wed, 9 Oct 2024 08:23:30 +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: 873bb734-5e24-411e-bd71-15ef8d85b76c X-Archives-Hash: 5440f0ef9d8e24d055c7f533e3e03c58 commit: 37a69f6f9e9e4cb65b26632a1aeee33c2a86ccba Author: Sam James gentoo org> AuthorDate: Wed Oct 9 08:20:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 9 08:20:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37a69f6f net-libs/libmbim: make introspection optional This is useful for embedded environments that want a small image. Closes: https://bugs.gentoo.org/936949 Signed-off-by: Sam James gentoo.org> net-libs/libmbim/libmbim-1.28.4-r1.ebuild | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/net-libs/libmbim/libmbim-1.28.4-r1.ebuild b/net-libs/libmbim/libmbim-1.28.4-r1.ebuild new file mode 100644 index 000000000000..d64b685b3b68 --- /dev/null +++ b/net-libs/libmbim/libmbim-1.28.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) +inherit bash-completion-r1 meson python-any-r1 + +DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim" +SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" +IUSE="gtk-doc introspection" + +RDEPEND=" + >=dev-libs/glib-2.56:2 + introspection? ( >=dev-libs/gobject-introspection-0.9.6:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + gtk-doc? ( dev-util/gtk-doc ) + dev-util/glib-utils + sys-apps/help2man + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + -Dman=true + # Let's avoid BuildRequiring bash-completion, install it manually + -Dbash_completion=false + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + ) + meson_src_configure +} + +src_install() { + meson_src_install + dobashcomp src/mbimcli/mbimcli +}