gnome-disk-utility: add systemd build option (on by default).
This commit is contained in:
parent
c27703be0b
commit
d7a85c9d46
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'gnome-disk-utility'
|
||||
pkgname=gnome-disk-utility
|
||||
version=3.12.1
|
||||
revision=1
|
||||
revision=2
|
||||
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 systemd-devel
|
||||
gnome-settings-daemon-devel>=3.12 libnotify-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>"
|
||||
|
@ -16,3 +16,15 @@ 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"
|
||||
desc_option_systemd="Enable support for systemd"
|
||||
build_options_default="systemd"
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --enable-libsystemd-login"
|
||||
makedepends+=" systemd-devel"
|
||||
else
|
||||
configure_args+=" --disable-libsystemd-login"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue