mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
Merge updates from master
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit bash-completion-r1 meson python-any-r1
|
||||
|
||||
DESCRIPTION="Mobile Broadband Interface Model (MBIM) modem protocol helper library"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libmbim/ https://gitlab.freedesktop.org/mobile-broadband/libmbim"
|
||||
SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="gtk-doc introspection"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.56:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
gtk-doc? ( dev-util/gtk-doc )
|
||||
dev-util/glib-utils
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dman=true
|
||||
# Let's avoid BuildRequiring bash-completion, install it manually
|
||||
-Dbash_completion=false
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
$(meson_use introspection)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
dobashcomp src/mbimcli/mbimcli
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2024 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
|
||||
SRC_URI="https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
|
||||
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"
|
||||
SLOT="0/5.9" # soname of libqmi-glib.so
|
||||
IUSE="gtk-doc introspection +mbim +qrtr"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.56
|
||||
>=dev-libs/libgudev-232
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
mbim? ( >=net-libs/libmbim-1.18.0 )
|
||||
qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-apps/help2man
|
||||
virtual/pkgconfig
|
||||
gtk-doc? ( dev-util/gtk-doc )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use mbim mbim_qmux)
|
||||
$(meson_use qrtr)
|
||||
-Drmnet=true
|
||||
|
||||
-Dudev=true
|
||||
-Dudevdir="$(get_udevdir)"
|
||||
|
||||
$(meson_use introspection)
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Dman=true
|
||||
|
||||
# Let's avoid BuildRequiring bash-completion, install it manually
|
||||
-Dbash_completion=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
dobashcomp src/qmicli/qmicli
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -7,8 +7,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"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 meson udev
|
||||
@@ -17,17 +17,15 @@ DESCRIPTION="Qualcomm MSM (Mobile Station Modem) Interface (QMI) modem protocol
|
||||
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
|
||||
SLOT="0/5.9" # soname of libqmi-glib.so
|
||||
IUSE="gtk-doc introspection +mbim +qrtr"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.56
|
||||
>=dev-libs/libgudev-232
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
mbim? ( >=net-libs/libmbim-1.18.0 )
|
||||
qrtr? ( >=net-libs/libqrtr-glib-1.0.0:= )
|
||||
|
||||
dev-libs/gobject-introspection:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
@@ -37,7 +35,6 @@ BDEPEND="
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# Let's avoid BuildRequiring bash-completion, install it manually
|
||||
local emesonargs=(
|
||||
$(meson_use mbim mbim_qmux)
|
||||
$(meson_use qrtr)
|
||||
@@ -46,10 +43,11 @@ src_configure() {
|
||||
-Dudev=true
|
||||
-Dudevdir="$(get_udevdir)"
|
||||
|
||||
-Dintrospection=true
|
||||
$(meson_use introspection)
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Dman=true
|
||||
|
||||
# Let's avoid BuildRequiring bash-completion, install it manually
|
||||
-Dbash_completion=false
|
||||
)
|
||||
meson_src_configure
|
||||
|
||||
Reference in New Issue
Block a user