fix: modemmanager mp-check unknown directory errors

This commit is contained in:
ngn 2024-08-25 07:02:18 +03:00
parent f0bbaa7439
commit 0cd7c40709
3 changed files with 26 additions and 8 deletions

View File

@ -1,13 +1,22 @@
NAME="modemmanager"
DESC="Unified high level API for communicating with mobile broadband modems, regardless of the protocol used to communicate with the actual device"
VERSION="1.18.12"
FILES=("https://www.freedesktop.org/software/ModemManager/ModemManager-$VERSION.tar.xz")
FILES=("https://www.freedesktop.org/software/ModemManager/ModemManager-${VERSION}.tar.xz")
HASHES=("9f014dfc59f1bd8bc230bb2c2974d104")
DEPENDS=("libgudev" "gobject-introspection" "libmbim" "libqmi")
DEPENDS=(
"glib" "libgudev" "libmbim"
"libqmi" "polkit" "systemd"
)
BUILD=(
"gtk-doc" "meson" "vala"
"gobject-introspection"
)
PACKAGE() {
tar xf ModemManager-$VERSION.tar.xz
cd ModemManager-$VERSION
tar xf "ModemManager-${VERSION}.tar.xz"
cd "ModemManager-${VERSION}"
./configure --prefix=/usr \
--sysconfdir=/etc \
@ -15,8 +24,13 @@ PACKAGE() {
--disable-static \
--disable-maintainer-mode \
--with-systemd-journal \
--with-systemd-suspend-resume
make && make DESTDIR="$ROOTDIR" install
--with-systemd-suspend-resum
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r ModemManager-$VERSION
# remove the /lib directory
mv "${ROOTDIR}/lib/udev" "${ROOTDIR}/usr/lib"
rm -r "${ROOTDIR}/lib"
cd .. && rm -r "ModemManager-${VERSION}"
}

View File

@ -1,2 +1,5 @@
# 20.11.1
Updated to a newer upstream release
# 18.17.1
First version

View File

@ -23,7 +23,8 @@ PACKAGE() {
--shared-nghttp2 \
--shared-zlib \
--with-intl=system-icu
make && make DESTDIR="${ROOTDIR}" install
make
make DESTDIR="${ROOTDIR}" install
ln -sf node "${ROOTDIR}/usr/share/doc/node-${VERSION}"
cd .. && rm -r "node-v${VERSION}"