Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ofono/
Date: Wed, 02 Feb 2022 01:19:04
Message-Id: 1643764712.437de54a80402dd30c811cbb0d0b73d4a31d5574.dlan@gentoo
1 commit: 437de54a80402dd30c811cbb0d0b73d4a31d5574
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 01:18:32 2022 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 01:18:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437de54a
7
8 net-misc/ofono: version bump 1.34
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 net-misc/ofono/Manifest | 1 +
14 net-misc/ofono/ofono-1.34.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 67 insertions(+)
16
17 diff --git a/net-misc/ofono/Manifest b/net-misc/ofono/Manifest
18 index 6c678670a5d0..60dde38a982c 100644
19 --- a/net-misc/ofono/Manifest
20 +++ b/net-misc/ofono/Manifest
21 @@ -1,2 +1,3 @@
22 DIST ofono-1.31.tar.xz 1049252 BLAKE2B f7b40d3aa7854369a7886a4b64bb66044e8f016682665935f7727bf219c084d266d8fd7f80c97e58234d845f7db3dc52133298697274745d115cf14c62769d82 SHA512 377cda34dcc92d1f339a4b3271de5a14afaf309061c4467e5af18089cd821e65c0d8ad29d07e96d0f0480bb51554b284afb6bc2b9da586cc30dc0c1440612b20
23 DIST ofono-1.33.tar.xz 1060408 BLAKE2B 646a96c0926ea032fef0357aabe6a4be6da88f4ccbdff59bb86b5de73a9b469362151b212a05234619f5d616b534343137c66e923782c7d50dfe13d2bf66558c SHA512 8d88226aa2b43eca840c6330045ee7a96c91f6003b06fca5ea55b74fc229f0e0ba0c8d98f7945f8c23ec5a8e7057bffef6335c61842e245686e0ed7c5feda589
24 +DIST ofono-1.34.tar.xz 1060828 BLAKE2B be0d3787ca9226763fb2bff46f1c3cec813d702730d6231986ec5aa43e2d96e08385fa3f64ccff97cf15844e41a33d6c37d1d35c8b0c5fcf3765848e258e3372 SHA512 79ebf0bc795288f07b58eeaa1a0aa3309b4afecae3abdd26c0749e22a4c2e74b65e93cbcfdfd1738dbcb2d0cfb8c687d182d706696a7c1cd5b4ed3bcec059489
25
26 diff --git a/net-misc/ofono/ofono-1.34.ebuild b/net-misc/ofono/ofono-1.34.ebuild
27 new file mode 100644
28 index 000000000000..1afaf2e3612b
29 --- /dev/null
30 +++ b/net-misc/ofono/ofono-1.34.ebuild
31 @@ -0,0 +1,66 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit systemd
38 +
39 +DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon"
40 +HOMEPAGE="https://01.org/ofono"
41 +SRC_URI="https://www.kernel.org/pub/linux/network/${PN}/${P}.tar.xz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +IUSE="+atmodem bluetooth +cdmamodem +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem tools +udev upower"
47 +
48 +REQUIRED_USE="dundee? ( bluetooth )"
49 +
50 +RDEPEND=">=sys-apps/dbus-1.6
51 + >=dev-libs/glib-2.68
52 + net-misc/mobile-broadband-provider-info
53 + bluetooth? ( >=net-wireless/bluez-4.99 )
54 + udev? ( virtual/udev )
55 + examples? ( dev-python/dbus-python )
56 + tools? ( virtual/libusb:1 )"
57 +DEPEND="${RDEPEND}"
58 +BDEPEND="virtual/pkgconfig"
59 +
60 +DOCS=( ChangeLog AUTHORS )
61 +
62 +src_configure() {
63 + econf \
64 + $(use_enable udev) \
65 + $(use_enable isimodem) \
66 + $(use_enable atmodem) \
67 + $(use_enable cdmamodem) \
68 + $(use_enable datafiles) \
69 + $(use_enable dundee) \
70 + $(use_enable bluetooth) \
71 + $(use_enable phonesim) \
72 + $(use_enable provision) \
73 + $(use_enable qmimodem) \
74 + $(use_enable tools) \
75 + $(use_enable examples test) \
76 + $(use_enable upower) \
77 + --disable-maintainer-mode \
78 + --disable-rilmodem
79 + --localstatedir=/var \
80 + --with-systemdunitdir="$(systemd_get_systemunitdir)"
81 +}
82 +
83 +src_install() {
84 + default
85 +
86 + if use tools ; then
87 + dobin tools/auto-enable \
88 + tools/huawei-audio \
89 + tools/lookup-provider-name \
90 + tools/lookup-apn \
91 + tools/get-location \
92 + tools/tty-redirector
93 + fi
94 +
95 + newinitd "${FILESDIR}"/${PN}.initd ${PN}
96 + use doc && dodoc doc/*.txt
97 +}