udisks2: update to 2.9.1, adopt.

Remove zram build option, which wasn't functional without systemd
already, but now explicitly requires it.
This commit is contained in:
Érico Rolim 2020-10-02 22:07:19 -03:00 committed by Érico Nogueira Rolim
parent a676bc9ff6
commit 4823a719ea
2 changed files with 5 additions and 14 deletions

View file

@ -1,10 +0,0 @@
--- src/udiskslinuxblock.c.orig
+++ src/udiskslinuxblock.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/stat.h>
+#define __USE_GNU
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>

View file

@ -1,24 +1,25 @@
# Template file for 'udisks2'
pkgname=udisks2
version=2.9.0
version=2.9.1
revision=1
wrksrc="udisks-${version}"
build_style=gnu-configure
build_helper="gir"
# zram module is disabled, since it requires systemd units
configure_args="--disable-static --with-udevdir=/usr/lib/udev
--enable-lvm2 --enable-btrfs --enable-bcache --enable-vdo
--enable-lvmcache --enable-zram $(vopt_enable gir introspection)"
--enable-lvmcache $(vopt_enable gir introspection)"
hostmakedepends="docbook-xsl gettext glib-devel libxslt pkg-config
$(vopt_if gir 'gobject-introspection') polkit"
makedepends="acl-devel libatasmart-devel libgudev-devel libparted-devel
polkit-devel sg3_utils-devel libblockdev-devel libbtrfs-devel elogind-devel"
short_desc="Disk Management Service, version 2"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://www.freedesktop.org/wiki/Software/udisks"
changelog="https://raw.githubusercontent.com/storaged-project/udisks/master/NEWS"
distfiles="https://github.com/storaged-project/udisks/releases/download/udisks-${version}/udisks-${version}.tar.bz2"
checksum=25b09265d71b9b97069e4a2fae10f696a851e0b812e69b20bcc4b23efee1ad34
checksum=da25c348edebefd5614c727fd6a7c286ba114479aa3279dcd5df274da6f28646
make_dirs="/var/lib/udisks2 0750 root root"
conf_files="/etc/udisks2/udisks2.conf"