[arch-commits] Commit in modemmanager/repos (6 files)

Jan Steffens heftig at archlinux.org
Tue May 5 23:56:10 UTC 2015


    Date: Wednesday, May 6, 2015 @ 01:56:10
  Author: heftig
Revision: 238529

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  modemmanager/repos/extra-i686/PKGBUILD
    (from rev 238528, modemmanager/trunk/PKGBUILD)
  modemmanager/repos/extra-i686/modemmanager.install
    (from rev 238528, modemmanager/trunk/modemmanager.install)
  modemmanager/repos/extra-x86_64/PKGBUILD
    (from rev 238528, modemmanager/trunk/PKGBUILD)
  modemmanager/repos/extra-x86_64/modemmanager.install
    (from rev 238528, modemmanager/trunk/modemmanager.install)
Deleted:
  modemmanager/repos/extra-i686/PKGBUILD
  modemmanager/repos/extra-x86_64/PKGBUILD

-----------------------------------+
 /PKGBUILD                         |  134 ++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD               |   61 ----------------
 extra-i686/modemmanager.install   |   13 +++
 extra-x86_64/PKGBUILD             |   61 ----------------
 extra-x86_64/modemmanager.install |   13 +++
 5 files changed, 160 insertions(+), 122 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2015-05-05 23:54:59 UTC (rev 238528)
+++ extra-i686/PKGBUILD	2015-05-05 23:56:10 UTC (rev 238529)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=modemmanager
-pkgname=(modemmanager libmm-glib)
-pkgver=1.4.6
-pkgrel=1
-pkgdesc="Mobile broadband modem management service"
-arch=(i686 x86_64)
-url="http://www.freedesktop.org/wiki/Software/ModemManager/"
-license=(GPL2 LGPL2.1)
-depends=(systemd polkit ppp libqmi libmbim)
-makedepends=(intltool gtk-doc gobject-introspection vala)
-source=(http://www.freedesktop.org/software/ModemManager/ModemManager-$pkgver.tar.xz)
-sha256sums=('0cedabf46310f8c56630b116944f54ee64369c76c2f35f5f460ca19a8bb5a5cd')
-
-build() {
-  cd ModemManager-$pkgver
-  ./configure --prefix=/usr \
-        --sysconfdir=/etc \
-        --localstatedir=/var \
-        --sbindir=/usr/bin \
-        --with-udev-base-dir=/usr/lib/udev \
-        --with-polkit=permissive \
-        --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
-}
-
-package_modemmanager() {
-  depends+=(libmm-glib)
-  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
-  options=(!emptydirs)
-
-  cd ModemManager-$pkgver
-  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-$pkgver
-  make DESTDIR="$pkgdir" -C libmm-glib install
-  make DESTDIR="$pkgdir" -C vapi install
-}

Copied: modemmanager/repos/extra-i686/PKGBUILD (from rev 238528, modemmanager/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2015-05-05 23:56:10 UTC (rev 238529)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=modemmanager
+pkgname=(modemmanager libmm-glib)
+pkgver=1.4.8
+pkgrel=1
+pkgdesc="Mobile broadband modem management service"
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/ModemManager/"
+license=(GPL2 LGPL2.1)
+depends=(systemd polkit ppp libqmi libmbim hicolor-icon-theme)
+makedepends=(intltool gtk-doc gobject-introspection vala)
+source=(http://www.freedesktop.org/software/ModemManager/ModemManager-$pkgver.tar.xz)
+sha256sums=('d951eaffbe513bcde54f90602c6c423a49593f656d6485ba95f6fcb4bc1e8003')
+
+build() {
+  cd ModemManager-$pkgver
+  ./configure --prefix=/usr \
+        --sysconfdir=/etc \
+        --localstatedir=/var \
+        --sbindir=/usr/bin \
+        --with-udev-base-dir=/usr/lib/udev \
+        --with-polkit=permissive \
+        --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-$pkgver
+  make -k check
+}
+
+package_modemmanager() {
+  depends+=(libmm-glib)
+  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+  options=(!emptydirs)
+  install=modemmanager.install
+
+  cd ModemManager-$pkgver
+  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-$pkgver
+  make DESTDIR="$pkgdir" -C libmm-glib install
+  make DESTDIR="$pkgdir" -C vapi install
+}

Copied: modemmanager/repos/extra-i686/modemmanager.install (from rev 238528, modemmanager/trunk/modemmanager.install)
===================================================================
--- extra-i686/modemmanager.install	                        (rev 0)
+++ extra-i686/modemmanager.install	2015-05-05 23:56:10 UTC (rev 238529)
@@ -0,0 +1,13 @@
+post_install() {
+  if [[ -x usr/bin/gtk-update-icon-cache ]]; then
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2015-05-05 23:54:59 UTC (rev 238528)
+++ extra-x86_64/PKGBUILD	2015-05-05 23:56:10 UTC (rev 238529)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=modemmanager
-pkgname=(modemmanager libmm-glib)
-pkgver=1.4.6
-pkgrel=1
-pkgdesc="Mobile broadband modem management service"
-arch=(i686 x86_64)
-url="http://www.freedesktop.org/wiki/Software/ModemManager/"
-license=(GPL2 LGPL2.1)
-depends=(systemd polkit ppp libqmi libmbim)
-makedepends=(intltool gtk-doc gobject-introspection vala)
-source=(http://www.freedesktop.org/software/ModemManager/ModemManager-$pkgver.tar.xz)
-sha256sums=('0cedabf46310f8c56630b116944f54ee64369c76c2f35f5f460ca19a8bb5a5cd')
-
-build() {
-  cd ModemManager-$pkgver
-  ./configure --prefix=/usr \
-        --sysconfdir=/etc \
-        --localstatedir=/var \
-        --sbindir=/usr/bin \
-        --with-udev-base-dir=/usr/lib/udev \
-        --with-polkit=permissive \
-        --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
-}
-
-package_modemmanager() {
-  depends+=(libmm-glib)
-  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
-  options=(!emptydirs)
-
-  cd ModemManager-$pkgver
-  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-$pkgver
-  make DESTDIR="$pkgdir" -C libmm-glib install
-  make DESTDIR="$pkgdir" -C vapi install
-}

Copied: modemmanager/repos/extra-x86_64/PKGBUILD (from rev 238528, modemmanager/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-05-05 23:56:10 UTC (rev 238529)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=modemmanager
+pkgname=(modemmanager libmm-glib)
+pkgver=1.4.8
+pkgrel=1
+pkgdesc="Mobile broadband modem management service"
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/wiki/Software/ModemManager/"
+license=(GPL2 LGPL2.1)
+depends=(systemd polkit ppp libqmi libmbim hicolor-icon-theme)
+makedepends=(intltool gtk-doc gobject-introspection vala)
+source=(http://www.freedesktop.org/software/ModemManager/ModemManager-$pkgver.tar.xz)
+sha256sums=('d951eaffbe513bcde54f90602c6c423a49593f656d6485ba95f6fcb4bc1e8003')
+
+build() {
+  cd ModemManager-$pkgver
+  ./configure --prefix=/usr \
+        --sysconfdir=/etc \
+        --localstatedir=/var \
+        --sbindir=/usr/bin \
+        --with-udev-base-dir=/usr/lib/udev \
+        --with-polkit=permissive \
+        --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-$pkgver
+  make -k check
+}
+
+package_modemmanager() {
+  depends+=(libmm-glib)
+  optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+  options=(!emptydirs)
+  install=modemmanager.install
+
+  cd ModemManager-$pkgver
+  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-$pkgver
+  make DESTDIR="$pkgdir" -C libmm-glib install
+  make DESTDIR="$pkgdir" -C vapi install
+}

Copied: modemmanager/repos/extra-x86_64/modemmanager.install (from rev 238528, modemmanager/trunk/modemmanager.install)
===================================================================
--- extra-x86_64/modemmanager.install	                        (rev 0)
+++ extra-x86_64/modemmanager.install	2015-05-05 23:56:10 UTC (rev 238529)
@@ -0,0 +1,13 @@
+post_install() {
+  if [[ -x usr/bin/gtk-update-icon-cache ]]; then
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list