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: Thu, 28 Apr 2022 15:31:44
Message-Id: 1651159866.f6a3b4edb1bcef02da3edc40c7d4b67ccb03eccd.mattst88@gentoo
1 commit: f6a3b4edb1bcef02da3edc40c7d4b67ccb03eccd
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 15:27:39 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 15:31:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a3b4ed
7
8 net-libs/libqmi: Version bump to 1.30.6
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.6.ebuild | 49 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest
17 index 30a9a80e7b53..feac217b35ef 100644
18 --- a/net-libs/libqmi/Manifest
19 +++ b/net-libs/libqmi/Manifest
20 @@ -1 +1,2 @@
21 DIST libqmi-1.30.4.tar.xz 1241912 BLAKE2B 561a2d4afd1b65955176490337e4f2335b0468010f0af546ea6026441224fa2713c2e7ed6aab958cb2657755247b75529d390155ef0bfc3aabba738755d28f23 SHA512 969c3e3fc8086c38e9192070eca155f5309947cdd1cfc9b883c27d80c6af2d069098a59e193bf1786260ab4fe4d05375555b5081dd173a88b33d84d409fa4a59
22 +DIST libqmi-1.30.6.tar.xz 1242612 BLAKE2B 318af914b595f0442f7929be53c128dcd111e12913814bb52e683fff814b7aa00a32d40f8eae367db469a7adef6c146fb692d5908951cec4337f21e9a266a400 SHA512 6dc9819bb45063ea827b989e99e8e889db0ce6ebec62586003ea385bd54bd76f3e79d63e3f2b57e19da5f42ed87d7aa11aa024a805ec86a6b203981eb7922a76
23
24 diff --git a/net-libs/libqmi/libqmi-1.30.6.ebuild b/net-libs/libqmi/libqmi-1.30.6.ebuild
25 new file mode 100644
26 index 000000000000..a73bf3b1aab6
27 --- /dev/null
28 +++ b/net-libs/libqmi/libqmi-1.30.6.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +if [[ ${PV} == "9999" ]] ; then
36 + inherit git-r3 autotools
37 + EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git"
38 +else
39 + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
40 + SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz"
41 +fi
42 +
43 +DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol library"
44 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi"
45 +
46 +LICENSE="LGPL-2"
47 +SLOT="0/5.8" # soname of libqmi-glib.so
48 +IUSE="gtk-doc +mbim"
49 +
50 +RDEPEND=">=dev-libs/glib-2.56
51 + >=dev-libs/libgudev-232
52 + mbim? ( >=net-libs/libmbim-1.18.0 )"
53 +DEPEND="${RDEPEND}"
54 +BDEPEND="
55 + virtual/pkgconfig
56 + gtk-doc? ( dev-util/gtk-doc )"
57 +[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214
58 +
59 +src_prepare() {
60 + default
61 + [[ ${PV} == "9999" ]] && eautoreconf
62 +}
63 +
64 +src_configure() {
65 + local myconf=(
66 + --disable-Werror
67 + --disable-static
68 + --disable-qrtr # libqrtr-glib not packaged
69 + $(use_enable mbim mbim-qmux)
70 + $(use_enable gtk-doc)
71 + )
72 + econf "${myconf[@]}"
73 +}
74 +
75 +src_install() {
76 + default
77 + find "${ED}" -name '*.la' -delete || die
78 +}