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 CA21215838C for ; Tue, 30 Jan 2024 12:53:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C35B5E2AE5; Tue, 30 Jan 2024 12:53:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 A4AC9E2AE5 for ; Tue, 30 Jan 2024 12:53:15 +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 ABAFE3430A9 for ; Tue, 30 Jan 2024 12:53:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C72C7EC0 for ; Tue, 30 Jan 2024 12:53:12 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1706619156.a9c3a1138e8433399d5a8e33faac161af513f1e4.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ofono/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ofono/Manifest net-misc/ofono/ofono-2.3.ebuild X-VCS-Directories: net-misc/ofono/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: a9c3a1138e8433399d5a8e33faac161af513f1e4 X-VCS-Branch: master Date: Tue, 30 Jan 2024 12:53:12 +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: 8fc08480-2b92-4c16-b690-866c9ed8dbfa X-Archives-Hash: b75e10304add7784e10995dda97bd2e4 commit: a9c3a1138e8433399d5a8e33faac161af513f1e4 Author: Yixun Lan gentoo org> AuthorDate: Tue Jan 30 12:50:48 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Jan 30 12:52:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c3a113 net-misc/ofono: add 2.3 Signed-off-by: Yixun Lan gentoo.org> net-misc/ofono/Manifest | 1 + net-misc/ofono/ofono-2.3.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-misc/ofono/Manifest b/net-misc/ofono/Manifest index 1e20cd5b72cf..b402a97bcd6f 100644 --- a/net-misc/ofono/Manifest +++ b/net-misc/ofono/Manifest @@ -2,3 +2,4 @@ DIST ofono-1.33.tar.xz 1060408 BLAKE2B 646a96c0926ea032fef0357aabe6a4be6da88f4cc DIST ofono-1.34.tar.xz 1060828 BLAKE2B be0d3787ca9226763fb2bff46f1c3cec813d702730d6231986ec5aa43e2d96e08385fa3f64ccff97cf15844e41a33d6c37d1d35c8b0c5fcf3765848e258e3372 SHA512 79ebf0bc795288f07b58eeaa1a0aa3309b4afecae3abdd26c0749e22a4c2e74b65e93cbcfdfd1738dbcb2d0cfb8c687d182d706696a7c1cd5b4ed3bcec059489 DIST ofono-2.0.tar.xz 1096856 BLAKE2B 28b29577cdd70129fd8f7346bd82e03078452b03bb4baf152c4e406cfc17a5eeac11312999592acad85d7c61c4595403d266482068576573fd1d75a15e610d80 SHA512 3b29845d06784bfec8e60f6590237b77baa0826b1366f7ed8491d41622da19c72290ff8508a4625e5d7d5f68a03237524aa2ef1936b26dbc035fb3e7fa747f23 DIST ofono-2.1.tar.xz 1097624 BLAKE2B 574293a73061470eec322df7fa62d581e8e8d2c5b81e896bff52173a986733f448686186bc0400ccf256fb931e26a1fef6a664dafa8f64935f936c9347e4a054 SHA512 7227939c488c2a62f640d5a8279e0698935aa1df5a2a349e195df9a8d9d9123c73a7f1177aae022b4c805d266c24a9770784193100adffa45f6c36a3ed847bb1 +DIST ofono-2.3.tar.xz 1216872 BLAKE2B e32ea09dbc8f0aa2ca3f322ffc34d9f9d06d862792b05a0f96ddba4ebe4038199ab40a4065582d68a35d2a5725646626bc36c8f9e83d89a42be8d76271144751 SHA512 0c53c2c441d28f89140192fe808769b3b27ef1ebf75e9ee9f9bfa53d0d102a47d11fcb364077ca88cdc598e8368924f477024b44a2adf795efe40b52ffe92dce diff --git a/net-misc/ofono/ofono-2.3.ebuild b/net-misc/ofono/ofono-2.3.ebuild new file mode 100644 index 000000000000..10655da4f763 --- /dev/null +++ b/net-misc/ofono/ofono-2.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon" +HOMEPAGE="https://git.kernel.org/pub/scm/network/ofono/ofono.git" +SRC_URI="https://mirrors.edge.kernel.org/pub/linux/network/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+atmodem bluetooth +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem tools +udev upower" + +REQUIRED_USE="dundee? ( bluetooth )" + +RDEPEND=">=sys-apps/dbus-1.6 + >=dev-libs/glib-2.68 + net-misc/mobile-broadband-provider-info + bluetooth? ( >=net-wireless/bluez-4.99 ) + udev? ( virtual/udev ) + examples? ( dev-python/dbus-python ) + tools? ( virtual/libusb:1 )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( ChangeLog AUTHORS ) + +src_configure() { + econf \ + $(use_enable udev) \ + $(use_enable isimodem) \ + $(use_enable atmodem) \ + $(use_enable datafiles) \ + $(use_enable dundee) \ + $(use_enable bluetooth) \ + $(use_enable phonesim) \ + $(use_enable provision) \ + $(use_enable qmimodem) \ + $(use_enable tools) \ + $(use_enable examples test) \ + $(use_enable upower) \ + --disable-maintainer-mode \ + --disable-rilmodem + --localstatedir=/var \ + --with-systemdunitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + default + + if use tools ; then + dobin tools/auto-enable \ + tools/huawei-audio \ + tools/lookup-provider-name \ + tools/lookup-apn \ + tools/get-location \ + tools/tty-redirector + fi + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + use doc && dodoc doc/*.txt +}