summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2019-04-01 13:18:11 +0100
committerTony Vroon <chainsaw@gentoo.org>2019-04-01 13:18:11 +0100
commitc25f7daba26c3a776b776ddfd9c365fe81cd876d (patch)
tree2284e1307895caeedce805507b2fe23d34274902 /net-libs/libqmi
parentnet-libs/libmbim: Version bump to 1.18.0 (diff)
downloadgentoo-c25f7daba26c3a776b776ddfd9c365fe81cd876d.tar.gz
gentoo-c25f7daba26c3a776b776ddfd9c365fe81cd876d.tar.bz2
gentoo-c25f7daba26c3a776b776ddfd9c365fe81cd876d.zip
net-libs/libqmi: Version bump to 1.22.2
EAPI bump 6->7. GLIB minimum version 2.36 as per upstream autoconf. MBIM minimum version 1.18 as per upstream autoconf. Updated SLOT based on current SONAME. Test-suite passes. Closes: https://bugs.gentoo.org/681450 Suggested-By: Mart Raudsepp <leio@gentoo.org> Signed-Off-By: Tony Vroon <chainsaw@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'net-libs/libqmi')
-rw-r--r--net-libs/libqmi/Manifest1
-rw-r--r--net-libs/libqmi/libqmi-1.22.2.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest
index 853bf9d6bfff..073fbca7bb34 100644
--- a/net-libs/libqmi/Manifest
+++ b/net-libs/libqmi/Manifest
@@ -7,3 +7,4 @@ DIST libqmi-1.18.0.tar.xz 873176 BLAKE2B ff60e3616d2ac94576df993f8f03020e19b8745
DIST libqmi-1.18.2.tar.xz 845560 BLAKE2B 732c7385d149073a9cf89a58f0e2977fff593b00ca86f4d1abfbbc1a4521a257f57d56fc73ba5e46bfc902b9aa882eed6e3e63ac00cab2649ab35b8a547c844c SHA512 769e67534e0eeb7454849b69be72674ba07f65ec26adec668c0a0cf91c22c11bb6d91546606a33036d2a05fcd290efe05dcc1d4ab0740d625756628a7a7d3428
DIST libqmi-1.20.0.tar.xz 859464 BLAKE2B 146b07b47aa5d40d93ce381aca107ec554918a909aef85b28751228fdcb3a518ffa9479a88b1f17a94f9251a1cff1cb606c4cfd4689e8d5e813a6467f078e5cb SHA512 fceec9aff22942fa64f7a568527033354dc379f347b96c9b37844bbdfb7bfa0936f554402b855c4b191fd63ca488776b94ee69e84502a460e941caddbd648b63
DIST libqmi-1.20.2.tar.xz 860408 BLAKE2B d6f757c7eb7d93101763714f32dee1bfc4de1f4b58fe2b6f457b938e42175da12ba6070395f06542f4edb9c6b3264ad74a718f7fc58ac25de4f4d5f2692ee123 SHA512 2d1ceda25ad995b27dc20d9b5d85ee23a841c43f33aa68b3543df10cc1da72062e648c1136a2706740659ae2cf8c17373d7c6c6f5f8d075864f47e4fb89d7b50
+DIST libqmi-1.22.2.tar.xz 947124 BLAKE2B 662cf58cb3fe48b5bbe167ac552b12ecff2944d1098e47b5a8c216a65c42c5e5c462f16625c4572e0e27e69a55cdfad76777468a42f8887f5b3984313c70747b SHA512 5785b56a60db8fb2566b6a712a18ec2ae74ce1da257473ab6b7cdea3163298ebee6c60a3158a7041aa759bd717eee4b16d9eeaa6b15d9b6e911bc8c8c44bd3d8
diff --git a/net-libs/libqmi/libqmi-1.22.2.ebuild b/net-libs/libqmi/libqmi-1.22.2.ebuild
new file mode 100644
index 000000000000..84afb73ad2d7
--- /dev/null
+++ b/net-libs/libqmi/libqmi-1.22.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit multilib
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/libqmi.git"
+else
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+ SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz"
+fi
+
+DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol library"
+HOMEPAGE="https://cgit.freedesktop.org/libqmi/"
+
+LICENSE="LGPL-2"
+SLOT="0/5.4" # soname of libqmi-glib.so
+IUSE="doc +mbim static-libs"
+
+RDEPEND=">=dev-libs/glib-2.36
+ virtual/libgudev
+ mbim? ( >=net-libs/libmbim-1.18.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"
+}