Date: Wednesday, December 27, 2017 @ 04:10:25 Author: heftig Revision: 313667
archrelease: copy trunk to extra-x86_64 Added: modemmanager/repos/extra-x86_64/PKGBUILD (from rev 313666, modemmanager/trunk/PKGBUILD) Deleted: modemmanager/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 158 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 79 insertions(+), 79 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-27 04:08:49 UTC (rev 313666) +++ PKGBUILD 2017-12-27 04:10:25 UTC (rev 313667) @@ -1,79 +0,0 @@ -# $Id$ -# Contributor: Ionut Biru <ib...@archlinux.org> -# Contributor: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgbase=modemmanager -pkgname=(modemmanager libmm-glib) -pkgver=1.6.10 -pkgrel=1 -pkgdesc="Mobile broadband modem management service" -arch=(i686 x86_64) -url="https://www.freedesktop.org/wiki/Software/ModemManager/" -license=(GPL2 LGPL2.1) -depends=(systemd libgudev polkit ppp libqmi libmbim) -makedepends=(intltool gtk-doc gobject-introspection vala autoconf-archive git) -_commit=b23413a064f03fb2f2214fb32164bcb4b7037c45 # tags/1.6.10 -source=("git+https://anongit.freedesktop.org/git/ModemManager/ModemManager#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd ModemManager - git describe --tags | sed '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-suspend-resume=systemd \ - --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) - 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=(glib2) - - 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 313666, modemmanager/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-27 04:10:25 UTC (rev 313667) @@ -0,0 +1,79 @@ +# $Id$ +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgbase=modemmanager +pkgname=(modemmanager libmm-glib) +pkgver=1.6.12 +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) +makedepends=(intltool gtk-doc gobject-introspection vala autoconf-archive git) +_commit=9059729a4cd4b4cbac0854e87122245c20567f1c # tags/1.6.12 +source=("git+https://anongit.freedesktop.org/git/ModemManager/ModemManager#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd ModemManager + git describe --tags | sed '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-suspend-resume=systemd \ + --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) + 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=(glib2) + + 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 +}