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 B158515807A 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 91F04E29B1; Wed, 9 Oct 2024 08:23:33 +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 722F6E29B1 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 6B3FB340C57 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 CB1351C89 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: <1728461924.7f004736df522df022d1e38800b8f3e22a7909a9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libqmi/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libqmi/libqmi-1.32.4-r1.ebuild net-libs/libqmi/libqmi-9999.ebuild X-VCS-Directories: net-libs/libqmi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7f004736df522df022d1e38800b8f3e22a7909a9 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: 34f9465c-8326-4d39-8653-9c9fd2c77334 X-Archives-Hash: 049e42f53cb24f2773f6b36302a560b2 commit: 7f004736df522df022d1e38800b8f3e22a7909a9 Author: Sam James gentoo org> AuthorDate: Wed Oct 9 08:18:44 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 9 08:18:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f004736 net-libs/libqmi: make introspection optional again, style tweaks * Make introspection optional again as unconditionally depending on it is problematic for embedded use as it drags in Python as well. This was the case before the Meson port in d26c72d36cfa28a035d89a9efdf7182e6351544c. * Style tweaks (just variable order bits which are IMO unobjectionable). Bug: https://bugs.gentoo.org/936949 Signed-off-by: Sam James gentoo.org> .../{libqmi-9999.ebuild => libqmi-1.32.4-r1.ebuild} | 16 +++++++--------- net-libs/libqmi/libqmi-9999.ebuild | 16 +++++++--------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/net-libs/libqmi/libqmi-9999.ebuild b/net-libs/libqmi/libqmi-1.32.4-r1.ebuild similarity index 81% copy from net-libs/libqmi/libqmi-9999.ebuild copy to net-libs/libqmi/libqmi-1.32.4-r1.ebuild index 5336e7de9c06..68b118b34834 100644 --- a/net-libs/libqmi/libqmi-9999.ebuild +++ b/net-libs/libqmi/libqmi-1.32.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,8 +7,8 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" else - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" fi inherit bash-completion-r1 meson udev @@ -17,17 +17,15 @@ DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi" LICENSE="LGPL-2" -IUSE="gtk-doc +mbim +qrtr" - -SLOT="0/5.9" # soname of libqmi-glib.so +SLOT="0/5.9" # soname of libqmi-glib.so +IUSE="gtk-doc introspection +mbim +qrtr" RDEPEND=" >=dev-libs/glib-2.56 >=dev-libs/libgudev-232 + introspection? ( dev-libs/gobject-introspection:= ) mbim? ( >=net-libs/libmbim-1.18.0 ) qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= ) - - dev-libs/gobject-introspection:= " DEPEND="${RDEPEND}" BDEPEND=" @@ -37,7 +35,6 @@ BDEPEND=" " src_configure() { - # Let's avoid BuildRequiring bash-completion, install it manually local emesonargs=( $(meson_use mbim mbim_qmux) $(meson_use qrtr) @@ -46,10 +43,11 @@ src_configure() { -Dudev=true -Dudevdir="$(get_udevdir)" - -Dintrospection=true + $(meson_use introspection) $(meson_use gtk-doc gtk_doc) -Dman=true + # Let's avoid BuildRequiring bash-completion, install it manually -Dbash_completion=false ) meson_src_configure diff --git a/net-libs/libqmi/libqmi-9999.ebuild b/net-libs/libqmi/libqmi-9999.ebuild index 5336e7de9c06..68b118b34834 100644 --- a/net-libs/libqmi/libqmi-9999.ebuild +++ b/net-libs/libqmi/libqmi-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,8 +7,8 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" else - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" fi inherit bash-completion-r1 meson udev @@ -17,17 +17,15 @@ DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi" LICENSE="LGPL-2" -IUSE="gtk-doc +mbim +qrtr" - -SLOT="0/5.9" # soname of libqmi-glib.so +SLOT="0/5.9" # soname of libqmi-glib.so +IUSE="gtk-doc introspection +mbim +qrtr" RDEPEND=" >=dev-libs/glib-2.56 >=dev-libs/libgudev-232 + introspection? ( dev-libs/gobject-introspection:= ) mbim? ( >=net-libs/libmbim-1.18.0 ) qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= ) - - dev-libs/gobject-introspection:= " DEPEND="${RDEPEND}" BDEPEND=" @@ -37,7 +35,6 @@ BDEPEND=" " src_configure() { - # Let's avoid BuildRequiring bash-completion, install it manually local emesonargs=( $(meson_use mbim mbim_qmux) $(meson_use qrtr) @@ -46,10 +43,11 @@ src_configure() { -Dudev=true -Dudevdir="$(get_udevdir)" - -Dintrospection=true + $(meson_use introspection) $(meson_use gtk-doc gtk_doc) -Dman=true + # Let's avoid BuildRequiring bash-completion, install it manually -Dbash_completion=false ) meson_src_configure