summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexey D2017-09-10 13:10:55 +0300
committerAlexey D2017-09-10 13:17:17 +0300
commitf357eac5f2b6239bd9eb88b556c4b73e90ae39a7 (patch)
treea74a69b2de0d86f3ac9ce753158d3930ed601077 /PKGBUILD
parent788e494fe39f3448ba874b3e8c5e57aeb370366a (diff)
downloadaur-f357eac5f2b6239bd9eb88b556c4b73e90ae39a7.tar.gz
version 2.7.2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 24 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b91d182b41c..4c976e3abc7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,40 @@
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=udisks2-nosystemd
-pkgver=2.6.5
+pkgver=2.7.2
pkgrel=1
pkgdesc="Disk Management Service, version 2"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL2')
groups=('eudev-base')
-depends=('glib2' 'udev' 'polkit-consolekit' 'libatasmart' 'util-linux' 'libgudev')
-makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'gnome-common')
-optdepends=('parted: partition management'
+depends=('polkit-consolekit' 'libatasmart' 'libgudev' 'libblockdev')
+makedepends=('docbook-xsl' 'gobject-introspection' 'gnome-common' 'intltool' 'parted' 'libiscsi')
+optdepends=('gptfdisk: GUID partition table support'
+ 'parted: partition management'
'gptfdisk: GUID partition table support'
'ntfs-3g: NTFS filesystem management support'
- 'dosfstools: VFAT filesystem management support')
+ 'dosfstools: VFAT filesystem management support'
+ 'libiscsi: iSCSI support')
provides=("udisks2=${pkgver}")
conflicts=('udisks2' 'udisks2-eudev')
replaces=('udisks2' 'udisks2-eudev')
options=(!libtool)
-source=(https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz)
-sha256sums=('817e2de4efab458a98b24b15066933692e6ee3777430211b4e7aeddd0b9045f2')
+source=(https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz
+ fix_build.patch)
+sha256sums=('34d834520efcfbb8cca33ccf703e45752b32772ae766673dab6360202c7838aa'
+ '9b9144de4d68703f574987d36dbe08c3b97d525adea65870f9b940f3315eefe7')
+
+prepare() {
+ cd "udisks-udisks-$pkgver"
+
+ sed -e 's/AC_MSG_ERROR(\[libstoragemgmt/AC_MSG_WARN([libstoragemgmt/' \
+ -e 's/AC_MSG_ERROR(\[libconfig/AC_MSG_WARN([libconfig/' \
+ -i configure.ac
+
+ # Fix build with gtk-doc 2.16. See https://github.com/storaged-project/udisks/issues/389
+ patch -p1 -i "$srcdir"/fix_build.patch
+}
build() {
cd "udisks-udisks-$pkgver"
@@ -31,7 +46,8 @@ build() {
--localstatedir=/var \
--disable-static \
--sbindir=/usr/bin \
- --libexecdir=/usr/lib
+ --libexecdir=/usr/lib \
+ --enable-available-modules
make
}