Diff libqmi-1.30.8 with a libqmi-1.32.4

/usr/portage/net-libs/libqmi/libqmi-1.32.4.ebuild 2023-10-09 14:52:34.492368476 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
if [[ ${PV} == "9999" ]] ; then
7
	inherit git-r3 autotools
7
	inherit git-r3
8 8
	EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git"
9 9
else
10
	KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv x86"
11
	SRC_URI="https://www.freedesktop.org/software/libqmi/${P}.tar.xz"
10
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
11
	SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/${PV}/${P}.tar.bz2"
12 12
fi
13 13

  
14
inherit bash-completion-r1 meson udev
15

  
14 16
DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol library"
15 17
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi"
16 18

  
17 19
LICENSE="LGPL-2"
18
SLOT="0/5.8"	# soname of libqmi-glib.so
19 20
IUSE="gtk-doc +mbim +qrtr"
20 21

  
21
RDEPEND=">=dev-libs/glib-2.56
22
SLOT="0/5.9"	# soname of libqmi-glib.so
23

  
24
RDEPEND="
25
	>=dev-libs/glib-2.56
22 26
	>=dev-libs/libgudev-232
23 27
	mbim? ( >=net-libs/libmbim-1.18.0 )
24 28
	qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= )
29

  
30
	dev-libs/gobject-introspection:=
25 31
"
26 32
DEPEND="${RDEPEND}"
27 33
BDEPEND="
34
	sys-apps/help2man
28 35
	virtual/pkgconfig
29
	gtk-doc? ( dev-util/gtk-doc )"
30
[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214
31

  
32
src_prepare() {
33
	default
34
	[[ ${PV} == "9999" ]] && eautoreconf
35
}
36
	gtk-doc? ( dev-util/gtk-doc )
37
"
36 38

  
37 39
src_configure() {
38
	local myconf=(
39
		--disable-Werror
40
		--disable-static
41
		$(use_enable qrtr)
42
		$(use_enable mbim mbim-qmux)
43
		$(use_enable gtk-doc)
40
	# Let's avoid BuildRequiring bash-completion, install it manually
41
	local emesonargs=(
42
		$(meson_use mbim mbim_qmux)
43
		$(meson_use qrtr)
44
		-Drmnet=true
45

  
46
		-Dudev=true
47
		-Dudevdir="$(get_udevdir)"
48

  
49
		-Dintrospection=true
50
		$(meson_use gtk-doc gtk_doc)
51
		-Dman=true
52

  
53
		-Dbash_completion=false
44 54
	)
45
	econf "${myconf[@]}"
55
	meson_src_configure
46 56
}
47 57

  
48 58
src_install() {
49
	default
50
	find "${ED}" -name '*.la' -delete || die
59
	meson_src_install
60
	dobashcomp src/qmicli/qmicli
51 61
}
Thank you!