net-misc/ofono: version bump 1.18

Package-Manager: portage-2.2.28
This commit is contained in:
Yixun Lan
2016-05-27 15:13:58 +08:00
parent 627f44c711
commit dd19b3d53d
2 changed files with 70 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST ofono-1.16.tar.xz 854296 SHA256 403b98dadece8bc804c0bd16b96d3db5a3bb0f84af64b3d67924da2d1a754b07 SHA512 21887e1bc3b8af18881f9456f950b97885b567164e28ebe2ab6fc5a3042c439891a20b5034a8fa0c7a78567286ac53c1b8a72122f428fbcf5da8bf139423b913 WHIRLPOOL b13aec1b3548b4959e68bd742efc239a0c6d928be2a0d70352d5bdcca3c551b6d2f4c09dd3eef4afcf3547547c47c488bbd49ebac1e468c2519846de3fe8e81a
DIST ofono-1.17.tar.xz 860460 SHA256 cbf20f07fd15253c682b23c1786d517f505c3688f7c4ea93da777e1523b89635 SHA512 d945c87b9c759b459926fcc002d4fb6938c5359a0070a0c623da9f98e342fd2bd92a5f4f22a14e4aa66b5cb3467c3d8f09a95d991ced0b774c066a6406d0746c WHIRLPOOL d509c69030c63d62f158c96a2b39764f803b68435bcf9ff561e910b80372a98659b9563976995bc83c6b2aaed9c27ad787357a67717e3c4d1ce06339c246870a
DIST ofono-1.18.tar.xz 919948 SHA256 53cdbf342913f46bce4827241c60e24255a3d43a94945edf77482ae5b312d51f SHA512 f15d971ea501cda19aa80cb7cb65a008a70eb433931d2b8c80025ab0a424cf35991131d0267e14cb5161eaff46f25dd65fe28a1c5e21cef02c94baa1efa83d6a WHIRLPOOL 9f2c7af752b5cdcd1385b56e8d8b2bd68691a0a75fffafec37bb8e3592e3b8e55488933a3306f3383c5036479ff79485f3654dcc1f76eaa72c14cbae532c0311

View File

@@ -0,0 +1,69 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils multilib systemd
DESCRIPTION="Open Source mobile telephony (GSM/UMTS) daemon"
HOMEPAGE="http://ofono.org/"
SRC_URI="mirror://kernel/linux/network/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="+atmodem bluetooth +cdmamodem +datafiles doc dundee examples +isimodem +phonesim +provision +qmimodem threads tools +udev upower"
REQUIRED_USE="dundee? ( bluetooth )"
RDEPEND=">=sys-apps/dbus-1.4
>=dev-libs/glib-2.32
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}
virtual/pkgconfig"
DOCS=( ChangeLog AUTHORS )
src_configure() {
econf \
$(use_enable threads) \
$(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/qmi \
tools/tty-redirector
fi
newinitd "${FILESDIR}"/${PN}.initd ${PN}
use doc && dodoc doc/*.txt
}