Date: Friday, October 16, 2020 @ 10:13:47 Author: heftig Revision: 398440
archrelease: copy trunk to extra-x86_64 Added: modemmanager/repos/extra-x86_64/PKGBUILD (from rev 398439, modemmanager/trunk/PKGBUILD) Deleted: modemmanager/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 168 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-16 10:13:37 UTC (rev 398439) +++ PKGBUILD 2020-10-16 10:13:47 UTC (rev 398440) @@ -1,84 +0,0 @@ -# Contributor: Ionut Biru <ib...@archlinux.org> -# Contributor: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgbase=modemmanager -pkgname=(modemmanager libmm-glib) -pkgver=1.14.2 -pkgrel=1 -pkgdesc="Mobile broadband modem management service" -arch=(x86_64) -url="https://www.freedesktop.org/wiki/Software/ModemManager/" -license=(GPL2 LGPL2.1) -depends=(systemd libgudev polkit ppp libqmi libmbim - mobile-broadband-provider-info) -makedepends=(gtk-doc gobject-introspection vala autoconf-archive git) -_commit=88bbae4fe8b2b3b4dfca6bf4370a8124810ed74f # tags/1.14.2 -source=("git+https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd ModemManager - git describe --tags | sed 's/-rc/rc/;s/-/+/g' -} - -prepare() { - cd ModemManager - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd ModemManager - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --sbindir=/usr/bin \ - --with-dbus-sys-dir=/usr/share/dbus-1/system.d \ - --with-udev-base-dir=/usr/lib/udev \ - --with-polkit=permissive \ - --with-systemd-journal \ - --with-systemd-suspend-resume \ - --enable-compile-warnings=yes \ - --enable-gtk-doc \ - --disable-static - - # https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make -} - -check() { - cd ModemManager - make -k check -} - -package_modemmanager() { - depends+=(libmm-glib.so libg{lib,object,io,module}-2.0.so libsystemd.so libgudev-1.0.so - libqmi-glib.so libmbim-glib.so) - optdepends=('usb_modeswitch: install if your modem shows up as a storage drive') - options=(!emptydirs) - - cd ModemManager - make DESTDIR="$pkgdir" install - make DESTDIR="$pkgdir" -C libmm-glib uninstall - make DESTDIR="$pkgdir" -C vapi uninstall - - # Some stuff to move is left over - mv "$pkgdir/usr/include" .. - mv "$pkgdir/usr/lib/pkgconfig" .. -} - -package_libmm-glib() { - pkgdesc="ModemManager library" - depends=(libg{lib,object,io}-2.0.so) - provides=(libmm-glib.so) - - install -d "$pkgdir/usr/lib" - mv include "$pkgdir/usr" - mv pkgconfig "$pkgdir/usr/lib" - - cd ModemManager - make DESTDIR="$pkgdir" -C libmm-glib install - make DESTDIR="$pkgdir" -C vapi install -} Copied: modemmanager/repos/extra-x86_64/PKGBUILD (from rev 398439, modemmanager/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-16 10:13:47 UTC (rev 398440) @@ -0,0 +1,84 @@ +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgbase=modemmanager +pkgname=(modemmanager libmm-glib) +pkgver=1.14.6 +pkgrel=1 +pkgdesc="Mobile broadband modem management service" +arch=(x86_64) +url="https://www.freedesktop.org/wiki/Software/ModemManager/" +license=(GPL2 LGPL2.1) +depends=(systemd libgudev polkit ppp libqmi libmbim + mobile-broadband-provider-info) +makedepends=(gtk-doc gobject-introspection vala autoconf-archive git) +_commit=5ac0d258a3d20e1bde3b1d9858f3856559ee42fa # tags/1.14.6 +source=("git+https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd ModemManager + git describe --tags | sed 's/-rc/rc/;s/-/+/g' +} + +prepare() { + cd ModemManager + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd ModemManager + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --with-dbus-sys-dir=/usr/share/dbus-1/system.d \ + --with-udev-base-dir=/usr/lib/udev \ + --with-polkit=permissive \ + --with-systemd-journal \ + --with-systemd-suspend-resume \ + --enable-compile-warnings=yes \ + --enable-gtk-doc \ + --disable-static + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd ModemManager + make -k check +} + +package_modemmanager() { + depends+=(libmm-glib.so libg{lib,object,io,module}-2.0.so libsystemd.so libgudev-1.0.so + libqmi-glib.so libmbim-glib.so) + optdepends=('usb_modeswitch: install if your modem shows up as a storage drive') + options=(!emptydirs) + + cd ModemManager + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" -C libmm-glib uninstall + make DESTDIR="$pkgdir" -C vapi uninstall + + # Some stuff to move is left over + mv "$pkgdir/usr/include" .. + mv "$pkgdir/usr/lib/pkgconfig" .. +} + +package_libmm-glib() { + pkgdesc="ModemManager library" + depends=(libg{lib,object,io}-2.0.so) + provides=(libmm-glib.so) + + install -d "$pkgdir/usr/lib" + mv include "$pkgdir/usr" + mv pkgconfig "$pkgdir/usr/lib" + + cd ModemManager + make DESTDIR="$pkgdir" -C libmm-glib install + make DESTDIR="$pkgdir" -C vapi install +}