[arch-commits] Commit in udisks2/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jun 6 18:35:25 UTC 2017


    Date: Tuesday, June 6, 2017 @ 18:35:25
  Author: felixonmars
Revision: 298102

upgpkg: udisks2 2.7.0-1

Modified:
  udisks2/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-06 18:12:56 UTC (rev 298101)
+++ PKGBUILD	2017-06-06 18:35:25 UTC (rev 298102)
@@ -3,27 +3,33 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=udisks2
-pkgver=2.6.5
+pkgver=2.7.0
 pkgrel=1
 pkgdesc="Disk Management Service, version 2"
 arch=('i686' 'x86_64')
 url="http://www.freedesktop.org/wiki/Software/udisks"
 license=('GPL2')
-depends=('glib2' 'systemd' 'polkit' 'libatasmart' 'util-linux' 'libgudev')
-makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'gnome-common')
-optdepends=('parted: partition management'
-            'gptfdisk: GUID partition table support'
+depends=('polkit' 'libatasmart' 'libgudev' 'libblockdev')
+makedepends=('docbook-xsl' 'gobject-introspection' 'gnome-common' 'intltool' 'parted')
+optdepends=('gptfdisk: GUID partition table support'
             'ntfs-3g: NTFS filesystem management support'
             'dosfstools: VFAT filesystem management support')
 source=("https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz")
-sha256sums=('817e2de4efab458a98b24b15066933692e6ee3777430211b4e7aeddd0b9045f2')
+sha512sums=('1f6830bcea0d26aeb63a54437f92756e2fecc35953d985469b01067774bed8d7bbff1edb2f09a451ae1929d299c6015a4c0aea3b0dc01cc36bd4759685dcf55b')
 
+prepare() {
+  sed -e 's/AC_MSG_ERROR(\[libstoragemgmt/AC_MSG_WARN([libstoragemgmt/' \
+      -e 's/AC_MSG_ERROR(\[libconfig/AC_MSG_WARN([libconfig/' \
+      -i udisks-udisks-$pkgver/configure.ac
+}
+
 build() {
   cd udisks-udisks-$pkgver
   ./autogen.sh --prefix=/usr --sysconfdir=/etc \
       --sbindir=/usr/bin --libexecdir=/usr/lib \
       --with-systemdsystemunitdir=/usr/lib/systemd/system \
-      --localstatedir=/var --disable-static
+      --localstatedir=/var --disable-static \
+      --enable-available-modules
   make
 }
 



More information about the arch-commits mailing list