diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-07-29 13:48:12 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-07-29 13:48:13 +0200 |
commit | 1f39cf059943f51981d4a61a676457af65023cd2 (patch) | |
tree | 4be6041075cbd3e310572f3b29cfaea2c902f1a9 /net-libs/libqmi | |
parent | net-libs/libmbim: add 1.28.4 (diff) | |
download | gentoo-1f39cf059943f51981d4a61a676457af65023cd2.tar.gz gentoo-1f39cf059943f51981d4a61a676457af65023cd2.tar.bz2 gentoo-1f39cf059943f51981d4a61a676457af65023cd2.zip |
net-libs/libqmi: add 1.32.4
Thanks-to: Matt Turner
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'net-libs/libqmi')
-rw-r--r-- | net-libs/libqmi/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libqmi/libqmi-1.32.4.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest index 04b9d9b87436..40d11f0b3f56 100644 --- a/net-libs/libqmi/Manifest +++ b/net-libs/libqmi/Manifest @@ -1 +1,2 @@ DIST libqmi-1.30.8.tar.xz 1244844 BLAKE2B c8d98106783eb22571ee82c0012e1ce7ed79e94818350134b80853e16fa287c77bafb34d2913690ae593d02112dc5d2b0ff77606a24c4ce63733fd64245961a1 SHA512 60567e82eb35ed7ab3d65f1073e19ca8faa68e909f96e498b8f9d8ce2a987156e0a580f9c212416c4e0740d2ad05cb93f4dfeae9b2d048f0eb53ab6a83f6d024 +DIST libqmi-1.32.4.tar.bz2 3710575 BLAKE2B 728cc821208432ec69d21d6b1b16e82f982e27ba899e0a2426b6e1ae6ce8cc800f15417e4d5ff6fd9a60ad2a0e7c3f3ddc77caee9115431d174e29bd40a8398b SHA512 6f68e2dd4bf5493de0c9298d88e477f9477b367f887bf5321a1faab7e8217fd10e761748326deb37ca26659bef70d5c8464bcb964d0ed0ba1f44c423785ebb0f diff --git a/net-libs/libqmi/libqmi-1.32.4.ebuild b/net-libs/libqmi/libqmi-1.32.4.ebuild new file mode 100644 index 000000000000..5336e7de9c06 --- /dev/null +++ b/net-libs/libqmi/libqmi-1.32.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi.git" +else + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" + SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/${PV}/${P}.tar.bz2" +fi + +inherit bash-completion-r1 meson udev + +DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol library" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libqmi/ https://gitlab.freedesktop.org/mobile-broadband/libqmi" + +LICENSE="LGPL-2" +IUSE="gtk-doc +mbim +qrtr" + +SLOT="0/5.9" # soname of libqmi-glib.so + +RDEPEND=" + >=dev-libs/glib-2.56 + >=dev-libs/libgudev-232 + mbim? ( >=net-libs/libmbim-1.18.0 ) + qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= ) + + dev-libs/gobject-introspection:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/help2man + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) +" + +src_configure() { + # Let's avoid BuildRequiring bash-completion, install it manually + local emesonargs=( + $(meson_use mbim mbim_qmux) + $(meson_use qrtr) + -Drmnet=true + + -Dudev=true + -Dudevdir="$(get_udevdir)" + + -Dintrospection=true + $(meson_use gtk-doc gtk_doc) + -Dman=true + + -Dbash_completion=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + dobashcomp src/qmicli/qmicli +} |