summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libqmi')
-rw-r--r--net-libs/libqmi/Manifest1
-rw-r--r--net-libs/libqmi/libqmi-1.18.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest
index 83dbd5ca687..732208600d5 100644
--- a/net-libs/libqmi/Manifest
+++ b/net-libs/libqmi/Manifest
@@ -2,3 +2,4 @@ DIST libqmi-1.12.6.tar.xz 710564 SHA256 0857bffece4e8ddfa7f721dd9ca63b4c78de345a
DIST libqmi-1.14.0.tar.xz 759472 SHA256 6618fb92ffe6d017d7fd18082b5c13da954c3c9060f7cc4f8807ba7b2bea349d SHA512 d5b4affe479e4704a9d94232bbef096533322413de8ea3c27d3ab7d6fd077fbbae779b49633fa22833ab1ce25f76cf341bfb84ec81d75fdc477f2a355ac298bd WHIRLPOOL d3054a0bcafd38e7a488d7b4df93b38a84844f30e5157688c638816d491800471fc7e48f2e4e54e053fc14d7f16dd65eb899a74db125ac1399cc964b66caad56
DIST libqmi-1.16.0.tar.xz 734280 SHA256 7ab6bb47fd23bf4d3fa17424e40ea5552d08b19e5ee4f125f21f316c8086ba2a SHA512 e8ac10b72a15ab3d102ab5dd45ed2960f552d37c291b7ef2818f41d5a46121a5c25e60bb549f96d4982468607a11f33866632c13b0454c5cbe0d61aa95992996 WHIRLPOOL 5168a137fd205c357ff61aa733907d1e8e71832937c0d01ce2ecb55c5e2271bcfd5387c76cbb022df2915adb666bfe8cf763a129f74c3218c53b4dfdc95bd44d
DIST libqmi-1.16.2.tar.xz 735124 SHA256 290bb367b12de1a24c3d2dee83886ca9669e281505ac3ee0bfdbe6bd84c44b81 SHA512 7d0977d1904efb76adcdde0ca52cef864fc66a065e641f1d2b905d74fa5d314e6eae5b6ef58a508725f631823308fc8ddcc67a0547bd0e4c87dc8e3eb39b4cfb WHIRLPOOL 7a195b47e37abff7a8c4d6552b89856006e14b2acb4c958552f465ac359b6c7ae760e6ffa7b74cfdb2d851aa1a9a212c9ef5541824b5b64cb3b8126b136acf5e
+DIST libqmi-1.18.0.tar.xz 873176 SHA256 a0a42c55935e75a630208e2f70840bd4407f56fe1c5258f5b0f6c0aaedf88cec SHA512 3890501fa2299ce5ac8fda732363e39738c95ffb153708d8f727e88c082014018463c569a0d9666385f6394d060ec41052dec400f3f6c733e78748ca7ee56b76 WHIRLPOOL 337f68dde312ea3771340ce0b8b5d5d36019ad14d79cff176822e38560afccbf7fd6c1c8ab5630962887d8604b88152057ef2c838bb5819f8e07da039f91ebed
diff --git a/net-libs/libqmi/libqmi-1.18.0.ebuild b/net-libs/libqmi/libqmi-1.18.0.ebuild
new file mode 100644
index 00000000000..48772670168
--- /dev/null
+++ b/net-libs/libqmi/libqmi-1.18.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit multilib
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}"
+else
+ KEYWORDS="~amd64 ~arm ~mips ~x86"
+ SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
+fi
+
+DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol helper library"
+HOMEPAGE="https://cgit.freedesktop.org/libqmi/"
+
+LICENSE="LGPL-2"
+SLOT="0/5.1" # soname of libqmi-glib.so
+IUSE="doc +mbim static-libs"
+
+RDEPEND=">=dev-libs/glib-2.32
+ mbim? ( >=net-libs/libmbim-1.14.0 )"
+DEPEND="${RDEPEND}
+ doc? ( dev-util/gtk-doc )
+ virtual/pkgconfig"
+[[ ${PV} == "9999" ]] && DEPEND+=" dev-util/gtk-doc" #469214
+
+src_prepare() {
+ default
+ [[ -e configure ]] || eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-more-warnings \
+ $(use_enable mbim mbim-qmux) \
+ $(use_enable static{-libs,}) \
+ $(use_enable {,gtk-}doc)
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${ED}/usr/$(get_libdir)/${PN}-glib.la"
+}