summaryrefslogtreecommitdiff
path: root/net-misc/ofono
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ofono')
-rw-r--r--net-misc/ofono/Manifest2
-rw-r--r--net-misc/ofono/ofono-2.0.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/ofono/Manifest b/net-misc/ofono/Manifest
index 0f56b47fd70c..b2079406f569 100644
--- a/net-misc/ofono/Manifest
+++ b/net-misc/ofono/Manifest
@@ -1,6 +1,8 @@
AUX ofono.initd 418 BLAKE2B 0a0f8894ec52b7213e46c8a1474f1a6061324f6e31842910e241e40e88fdb92c15560f9a8744922fea9cf83114a242315de910fe849918e9e26f7b8ce63831ad SHA512 ef86f8e4d3b30d98eee5849c85fd8fd1bed0d8ac9c76bcce91440483439dbaea36e1ff3529fe8f5c1b0255a91917ab67d98513cafcae8f0031cce1bf3f133704
DIST ofono-1.33.tar.xz 1060408 BLAKE2B 646a96c0926ea032fef0357aabe6a4be6da88f4ccbdff59bb86b5de73a9b469362151b212a05234619f5d616b534343137c66e923782c7d50dfe13d2bf66558c SHA512 8d88226aa2b43eca840c6330045ee7a96c91f6003b06fca5ea55b74fc229f0e0ba0c8d98f7945f8c23ec5a8e7057bffef6335c61842e245686e0ed7c5feda589
DIST ofono-1.34.tar.xz 1060828 BLAKE2B be0d3787ca9226763fb2bff46f1c3cec813d702730d6231986ec5aa43e2d96e08385fa3f64ccff97cf15844e41a33d6c37d1d35c8b0c5fcf3765848e258e3372 SHA512 79ebf0bc795288f07b58eeaa1a0aa3309b4afecae3abdd26c0749e22a4c2e74b65e93cbcfdfd1738dbcb2d0cfb8c687d182d706696a7c1cd5b4ed3bcec059489
+DIST ofono-2.0.tar.xz 1096856 BLAKE2B 28b29577cdd70129fd8f7346bd82e03078452b03bb4baf152c4e406cfc17a5eeac11312999592acad85d7c61c4595403d266482068576573fd1d75a15e610d80 SHA512 3b29845d06784bfec8e60f6590237b77baa0826b1366f7ed8491d41622da19c72290ff8508a4625e5d7d5f68a03237524aa2ef1936b26dbc035fb3e7fa747f23
EBUILD ofono-1.33.ebuild 1635 BLAKE2B 2ec579c72af17add304ccd2b4945a21c9fd5725907e93e3457d3f9504ef9d6ecd868a2b7a43c49c5ee6411de12266677d14ce51f31d9808573c453cb98211303 SHA512 bcaeb56d9a37cc0bb35d45f553b1c930c9a7d1cbca604a0ce862769dcd298ee784be9f885f59a009bf1c35baf1b79b7723208d99050b99767e07ca9e871c872d
EBUILD ofono-1.34.ebuild 1649 BLAKE2B c326d9205f5bbc9cae979bf200a71a93adb9d0b1a713eeae3e3ee43c3910b5581b40acd0a012e99ea304d59e751b7e76b47969ed8be8a362bcd4be16573fbdd3 SHA512 a6dc0c22d953c6ced714ec62a5a88360b167f553bd6858e2928160374317b80d3872ccafdadaf80036f2a4da51303097473e94f808a228e15988631236edf84e
+EBUILD ofono-2.0.ebuild 1688 BLAKE2B ff581907148eaa815b7c2a2210b2b697086c893cc5919c59d1e1efa8e8f25d6f702acdc543759bb9b9932b4bccbbcccdb3561c6caa8cb199c266e73be89e6e78 SHA512 e31a1fb9019a9c988024dfce75edcd96effc0879cb71cdb7972355452965962c5366434c1e4256653b05f55d5ba603b60db9f76dd09838facaa90234bf35674a
MISC metadata.xml 952 BLAKE2B 9980756397330c03bd0f21db6d44e4af119135b9a864d4cdc97a697e7f0013051985c7db3c48d8d17bd592cfaf185a81add398d3e0a3ddc64aa61979a1603d5e SHA512 a745e9cf9a89e3c989cd950651c3d914ffe17e34f32f9623c468127011c6faa35942484d24c34c217b614b295743120a035a56aa30ae79343a72ba5cfbc462f0
diff --git a/net-misc/ofono/ofono-2.0.ebuild b/net-misc/ofono/ofono-2.0.ebuild
new file mode 100644
index 000000000000..9da45c1586a8
--- /dev/null
+++ b/net-misc/ofono/ofono-2.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 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"
+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 +cdmamodem +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 cdmamodem) \
+ $(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
+}