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: Fri, 24 Jun 2022 15:33:47
Message-Id: 1656084805.01f5b4d1a1402c67ce73fed31e0746f6a0cae992.mattst88@gentoo
1 commit: 01f5b4d1a1402c67ce73fed31e0746f6a0cae992
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 24 15:04:27 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 24 15:33:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f5b4d1
7
8 net-libs/libqmi: Version bump to 1.30.8
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.8.ebuild | 51 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest
17 index ac92804a733c..711f235e6a0e 100644
18 --- a/net-libs/libqmi/Manifest
19 +++ b/net-libs/libqmi/Manifest
20 @@ -1 +1,2 @@
21 DIST libqmi-1.30.6.tar.xz 1242612 BLAKE2B 318af914b595f0442f7929be53c128dcd111e12913814bb52e683fff814b7aa00a32d40f8eae367db469a7adef6c146fb692d5908951cec4337f21e9a266a400 SHA512 6dc9819bb45063ea827b989e99e8e889db0ce6ebec62586003ea385bd54bd76f3e79d63e3f2b57e19da5f42ed87d7aa11aa024a805ec86a6b203981eb7922a76
22 +DIST libqmi-1.30.8.tar.xz 1244844 BLAKE2B c8d98106783eb22571ee82c0012e1ce7ed79e94818350134b80853e16fa287c77bafb34d2913690ae593d02112dc5d2b0ff77606a24c4ce63733fd64245961a1 SHA512 60567e82eb35ed7ab3d65f1073e19ca8faa68e909f96e498b8f9d8ce2a987156e0a580f9c212416c4e0740d2ad05cb93f4dfeae9b2d048f0eb53ab6a83f6d024
23
24 diff --git a/net-libs/libqmi/libqmi-1.30.8.ebuild b/net-libs/libqmi/libqmi-1.30.8.ebuild
25 new file mode 100644
26 index 000000000000..56d9060d775c
27 --- /dev/null
28 +++ b/net-libs/libqmi/libqmi-1.30.8.ebuild
29 @@ -0,0 +1,51 @@
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 ~loong ~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 +qrtr"
49 +
50 +RDEPEND=">=dev-libs/glib-2.56
51 + >=dev-libs/libgudev-232
52 + mbim? ( >=net-libs/libmbim-1.18.0 )
53 + qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= )
54 +"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="
57 + virtual/pkgconfig
58 + gtk-doc? ( dev-util/gtk-doc )"
59 +[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214
60 +
61 +src_prepare() {
62 + default
63 + [[ ${PV} == "9999" ]] && eautoreconf
64 +}
65 +
66 +src_configure() {
67 + local myconf=(
68 + --disable-Werror
69 + --disable-static
70 + $(use_enable qrtr)
71 + $(use_enable mbim mbim-qmux)
72 + $(use_enable gtk-doc)
73 + )
74 + econf "${myconf[@]}"
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${ED}" -name '*.la' -delete || die
80 +}