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