diff options
Diffstat (limited to 'net-libs/libqmi')
-rw-r--r-- | net-libs/libqmi/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libqmi/libqmi-1.30.6.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-libs/libqmi/Manifest b/net-libs/libqmi/Manifest index 9230781d5b28..041f2ebb71f5 100644 --- a/net-libs/libqmi/Manifest +++ b/net-libs/libqmi/Manifest @@ -1,4 +1,6 @@ DIST libqmi-1.30.4.tar.xz 1241912 BLAKE2B 561a2d4afd1b65955176490337e4f2335b0468010f0af546ea6026441224fa2713c2e7ed6aab958cb2657755247b75529d390155ef0bfc3aabba738755d28f23 SHA512 969c3e3fc8086c38e9192070eca155f5309947cdd1cfc9b883c27d80c6af2d069098a59e193bf1786260ab4fe4d05375555b5081dd173a88b33d84d409fa4a59 +DIST libqmi-1.30.6.tar.xz 1242612 BLAKE2B 318af914b595f0442f7929be53c128dcd111e12913814bb52e683fff814b7aa00a32d40f8eae367db469a7adef6c146fb692d5908951cec4337f21e9a266a400 SHA512 6dc9819bb45063ea827b989e99e8e889db0ce6ebec62586003ea385bd54bd76f3e79d63e3f2b57e19da5f42ed87d7aa11aa024a805ec86a6b203981eb7922a76 EBUILD libqmi-1.30.4.ebuild 1235 BLAKE2B 5ae87c213329b62ef4524cfa6467c51a293b47adbfa63c8029ba8644addd9c5fafd2e7cc51912ca92cb0cbe0ddbf605a73e5bcabdf992b24bff99c072aa8bcfa SHA512 3706265a9818b428d44a5e1cce48c43f51d847bc33ca846897520426988f3a72150ac797f3b8a50bd7af3d1ed1365160017c6ee05c37a86bdca1367e0caf6032 +EBUILD libqmi-1.30.6.ebuild 1241 BLAKE2B a2e3bfc7855a42feb1b87628b652155ad54853aba4cad2468043fc2faa54b5e405aee9424836e989ff7d405fd79d3367a046ea0cf6bd6503f440c06515c31e8f SHA512 a31f54dfb3558cc2988aa7352866baa9006b665d4cb388998fe96e45121c96f824811e04f1c8a908e37c365e328206b5d17fdb06e031d25070c1b0118f45045e EBUILD libqmi-9999.ebuild 1234 BLAKE2B 472ceb47d460b35418e0f367a642871b473ad69849a4ba4d06779069aa21bb6b91fe2e2f305aad251113b938ddd8bf69706c0ac85b977085a966d6ef56e4c5fa SHA512 2bc68f62ef72269258850579872ca6394dfb9395b183b58bcbb983c6590d949d0f7c9c9d933270eafeccd60b6cf485d2d7410d8b704722679882952329b1eed6 MISC metadata.xml 425 BLAKE2B 95b85fd54d9a2f9836025d60e76d9d51d39f7ff9c08c571b134326bdd69fccdae3f7483b3f3e178bc03939f90a3fafcbf2bc98876b64726172d2bf3b25ce3c01 SHA512 626784480b99bfc5c55ada209c4ee6a8e8891583a34c9f45c1f3ffe3a01b465444e352c3a508b24611a05ea7c4e49c5dbb6157a18d3ac8f478c05871b6ef0040 diff --git a/net-libs/libqmi/libqmi-1.30.6.ebuild b/net-libs/libqmi/libqmi-1.30.6.ebuild new file mode 100644 index 000000000000..a73bf3b1aab6 --- /dev/null +++ b/net-libs/libqmi/libqmi-1.30.6.ebuild @@ -0,0 +1,49 @@ +# 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 ~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" + +RDEPEND=">=dev-libs/glib-2.56 + >=dev-libs/libgudev-232 + mbim? ( >=net-libs/libmbim-1.18.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 + --disable-qrtr # libqrtr-glib not packaged + $(use_enable mbim mbim-qmux) + $(use_enable gtk-doc) + ) + econf "${myconf[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |