Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libqmi/
Date: Wed, 15 Sep 2021 20:27:20
Message-Id: 1631737629.4e863522232e6f0612c1617914538bceac207651.mattst88@gentoo
1 commit: 4e863522232e6f0612c1617914538bceac207651
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 15 20:06:16 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 20:27:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e863522
7
8 net-libs/libqmi: Version bump to 1.30.2
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-libs/libqmi/Manifest | 1 +
13 net-libs/libqmi/libqmi-1.30.2.ebuild | 49 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest
17 index 9cfe6fabd6f..3b55b67f92d 100644
18 --- a/net-libs/libqmi/Manifest
19 +++ b/net-libs/libqmi/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libqmi-1.28.6.tar.xz 1192736 BLAKE2B 30330a8d085b26fc461c6fec2cfa58757e91093243aed8a4ac6df53a7656881f295a800979ff8fd42b815f96fafd128848765ecfb163e8101ac9c9a52eaaf507 SHA512 f4f7022e8c9b60618062548ec97450d98a5125dbd0e26df3dfb8bda5ab19a1f4c7864d35f7bd77217a4fe5562ce665fa613902b1d2185680bfa5d0c1e229e6dd
22 DIST libqmi-1.30.0.tar.xz 1237944 BLAKE2B 862a7f12d458d7fce53596ec12e6e20d41a8378e6d9fd44535ea54b409f7020d33f5b3bab08ce583452e11abcbf5af48cc3a24a5fd382c7a833c435327c91614 SHA512 e0cf97f1ebc27feb68033d19b8bc146c41d134782c3eeefb1dd3502b08e493d8c484835235a7877854c1a9c2524ed6cc31aa1b897b873d0662f494a771b2c98f
23 +DIST libqmi-1.30.2.tar.xz 1239408 BLAKE2B be762988dcb40cdc29a9024989de0da42d3246c970ee63caba4f3a722b52e478879c177097165e880a48a7151d01f8f30e82d5a769258bd7c9cba9a24b0157a2 SHA512 e34e9cb4b49df6eac555e6493cfc89aaf6f9be3fbfb0b19a5fb6b69c81768fda499a6438b1a4f39b84a350899721c6a04c4195985077ac35da0036794bc59367
24
25 diff --git a/net-libs/libqmi/libqmi-1.30.2.ebuild b/net-libs/libqmi/libqmi-1.30.2.ebuild
26 new file mode 100644
27 index 00000000000..c48a2bddbb4
28 --- /dev/null
29 +++ b/net-libs/libqmi/libqmi-1.30.2.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +if [[ ${PV} == "9999" ]] ; then
37 + inherit git-r3 autotools
38 + EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git"
39 +else
40 + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
41 + SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz"
42 +fi
43 +
44 +DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol library"
45 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi"
46 +
47 +LICENSE="LGPL-2"
48 +SLOT="0/5.8" # soname of libqmi-glib.so
49 +IUSE="gtk-doc +mbim"
50 +
51 +RDEPEND=">=dev-libs/glib-2.56
52 + >=dev-libs/libgudev-232
53 + mbim? ( >=net-libs/libmbim-1.18.0 )"
54 +DEPEND="${RDEPEND}"
55 +BDEPEND="
56 + virtual/pkgconfig
57 + gtk-doc? ( dev-util/gtk-doc )"
58 +[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214
59 +
60 +src_prepare() {
61 + default
62 + [[ ${PV} == "9999" ]] && eautoreconf
63 +}
64 +
65 +src_configure() {
66 + local myconf=(
67 + --disable-Werror
68 + --disable-static
69 + --disable-qrtr # libqrtr-glib not packaged
70 + $(use_enable mbim mbim-qmux)
71 + $(use_enable gtk-doc)
72 + )
73 + econf "${myconf[@]}"
74 +}
75 +
76 +src_install() {
77 + default
78 + find "${ED}" -name '*.la' -delete || die
79 +}