summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-06-24 11:04:27 -0400
committerMatt Turner <mattst88@gentoo.org>2022-06-24 11:33:25 -0400
commit01f5b4d1a1402c67ce73fed31e0746f6a0cae992 (patch)
tree021d067d7438abd05ad26a90b974a0e2de4ac3a8 /net-libs/libqmi
parentnet-libs/libqmi: Propagate ~riscv keyword (diff)
downloadgentoo-01f5b4d1a1402c67ce73fed31e0746f6a0cae992.tar.gz
gentoo-01f5b4d1a1402c67ce73fed31e0746f6a0cae992.tar.bz2
gentoo-01f5b4d1a1402c67ce73fed31e0746f6a0cae992.zip
net-libs/libqmi: Version bump to 1.30.8
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-libs/libqmi')
-rw-r--r--net-libs/libqmi/Manifest1
-rw-r--r--net-libs/libqmi/libqmi-1.30.8.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest
index ac92804a733c..711f235e6a0e 100644
--- a/net-libs/libqmi/Manifest
+++ b/net-libs/libqmi/Manifest
@@ -1 +1,2 @@
DIST libqmi-1.30.6.tar.xz 1242612 BLAKE2B 318af914b595f0442f7929be53c128dcd111e12913814bb52e683fff814b7aa00a32d40f8eae367db469a7adef6c146fb692d5908951cec4337f21e9a266a400 SHA512 6dc9819bb45063ea827b989e99e8e889db0ce6ebec62586003ea385bd54bd76f3e79d63e3f2b57e19da5f42ed87d7aa11aa024a805ec86a6b203981eb7922a76
+DIST libqmi-1.30.8.tar.xz 1244844 BLAKE2B c8d98106783eb22571ee82c0012e1ce7ed79e94818350134b80853e16fa287c77bafb34d2913690ae593d02112dc5d2b0ff77606a24c4ce63733fd64245961a1 SHA512 60567e82eb35ed7ab3d65f1073e19ca8faa68e909f96e498b8f9d8ce2a987156e0a580f9c212416c4e0740d2ad05cb93f4dfeae9b2d048f0eb53ab6a83f6d024
diff --git a/net-libs/libqmi/libqmi-1.30.8.ebuild b/net-libs/libqmi/libqmi-1.30.8.ebuild
new file mode 100644
index 000000000000..56d9060d775c
--- /dev/null
+++ b/net-libs/libqmi/libqmi-1.30.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3 autotools
+ 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://www.freedesktop.org/software/libqmi/${P}.tar.xz"
+fi
+
+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"
+SLOT="0/5.8" # soname of libqmi-glib.so
+IUSE="gtk-doc +mbim +qrtr"
+
+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:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc )"
+[[ ${PV} == "9999" ]] && BDEPEND+=" dev-util/gtk-doc" #469214
+
+src_prepare() {
+ default
+ [[ ${PV} == "9999" ]] && eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-Werror
+ --disable-static
+ $(use_enable qrtr)
+ $(use_enable mbim mbim-qmux)
+ $(use_enable gtk-doc)
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}