# Template file for 'gnome-disk-utility'
pkgname=gnome-disk-utility
version=3.12.1
revision=4
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gnome-doc-utils"
makedepends="liblzma-devel gtk+3-devel libcanberra-devel udisks2-devel
 libdvdread-devel libsecret-devel libpwquality-devel libnotify-devel
 gnome-settings-daemon-devel>=3.12"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="GNOME libraries and applications for dealing with storage devices"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=5994bfae57063d74be45736050cf166cda5b1600a599703240b641b39375718e

# Package build options
build_options="gir systemd"

if [ "$build_option_systemd" ]; then
	configure_args+=" --enable-libsystemd-login"
	makedepends+=" systemd-devel"
else
	configure_args+=" --disable-libsystemd-login"
fi
