commit: 3a821f90740bd959ea59f2ba869aa90b14be81c1
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 21 23:38:41 2025 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 21 23:51:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a821f90
net-misc/ofono: add 2.18
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
net-misc/ofono/Manifest | 1 +
net-misc/ofono/metadata.xml | 1 +
net-misc/ofono/ofono-2.18.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+)
diff --git a/net-misc/ofono/Manifest b/net-misc/ofono/Manifest
index 97555b8701b7..14b907a650f0 100644
--- a/net-misc/ofono/Manifest
+++ b/net-misc/ofono/Manifest
@@ -1,3 +1,4 @@
DIST ofono-2.1.tar.xz 1097624 BLAKE2B
574293a73061470eec322df7fa62d581e8e8d2c5b81e896bff52173a986733f448686186bc0400ccf256fb931e26a1fef6a664dafa8f64935f936c9347e4a054
SHA512
7227939c488c2a62f640d5a8279e0698935aa1df5a2a349e195df9a8d9d9123c73a7f1177aae022b4c805d266c24a9770784193100adffa45f6c36a3ed847bb1
DIST ofono-2.14.tar.xz 1311452 BLAKE2B
96f3875d9a2f515f14b5b6b6b5576e38338fd4a4912c5c7ea2c9ab8ed0e2791e4d22b591f5eb3ed9ccc1cd133174cbc3787b7d57e9bd6161fd03ad1a1e3f17f2
SHA512
77466c9155753130465748660df66473ca13afee59441a27f3d7dde653e632fb142af294aa2272ea14ce9d4845b68b5e2d4a58a9534555819c92fe161b4ff893
+DIST ofono-2.18.tar.xz 1323512 BLAKE2B
1641771cc9b1154e126a5801c95f3e7ffd2e9340718a4c3df9ca678b0b29fd3c48fa8c90190374ccac5ed87b805bce707c1dd7f9f3776e5a9c8fc9e39a23e966
SHA512
83149007804f7d62fe66efd8cbc550f5fd2b7412fe3ced1098ea26f016a4f1b39925c531419c64b3d9a408be887ccf3027b58912809e8c5382a3461daf66ed05
DIST ofono-2.9.tar.xz 1302044 BLAKE2B
d468c179ead13ab75b5e9872c671bea3c5f7cd59242516ba432c323aefc423ea18fd401a236a7abacf0ff0f2c74c8921828496b8a74269a1dc246f893c89036b
SHA512
181f4aad276ea5c5888c6b89187e27b65d42f002d1dd72091f377033bda82bada17364c49773d4a1fd62ea7940d27d7f796da561595b606abbf4b4ec220ae031
diff --git a/net-misc/ofono/metadata.xml b/net-misc/ofono/metadata.xml
index 754b95c8b11c..7213fceb02e0 100644
--- a/net-misc/ofono/metadata.xml
+++ b/net-misc/ofono/metadata.xml
@@ -15,6 +15,7 @@
<flag name="phonesim">Enable phone Simulator support</flag>
<flag name="provision">Enable GPRS provisioning support</flag>
<flag name="qmimodem">Enable Qualcomm QMI modem support</flag>
+ <flag name="system-ell">Use the system-wide <pkg>dev-libs/ell</pkg></flag>
<flag name="tools">Enable testing tools</flag>
</use>
</pkgmetadata>
diff --git a/net-misc/ofono/ofono-2.18.ebuild b/net-misc/ofono/ofono-2.18.ebuild
new file mode 100644
index 000000000000..83146ae8e765
--- /dev/null
+++ b/net-misc/ofono/ofono-2.18.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 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
+qmimodem system-ell tools +udev upower"
+
+REQUIRED_USE="dundee? ( bluetooth )"
+
+RDEPEND=">=sys-apps/dbus-1.6
+ >=dev-libs/glib-2.68
+ system-ell? ( >=dev-libs/ell-0.79 )
+ 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 qmimodem) \
+ $(use_enable tools) \
+ $(use_enable examples test) \
+ $(use_enable upower) \
+ $(use_enable system-ell external-ell) \
+ --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-apn \
+ tools/get-location \
+ tools/tty-redirector
+ fi
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ use doc && dodoc doc/*.txt
+}