gnome-disk-utility: handle gir/systemd build options correctly.
This commit is contained in:
parent
02665a5576
commit
719e0817b7
1 changed files with 8 additions and 10 deletions
|
@ -1,14 +1,16 @@
|
||||||
# Template file for 'gnome-disk-utility'
|
# Template file for 'gnome-disk-utility'
|
||||||
pkgname=gnome-disk-utility
|
pkgname=gnome-disk-utility
|
||||||
version=3.14.0
|
version=3.14.0
|
||||||
revision=1
|
revision=2
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static $(vopt_enable gir introspection)
|
||||||
hostmakedepends="pkg-config intltool gnome-doc-utils"
|
$(vopt_enable systemd libsystemd-login)"
|
||||||
|
hostmakedepends="pkg-config intltool gnome-doc-utils
|
||||||
|
$(vopt_if gir gobject-introspection)"
|
||||||
makedepends="liblzma-devel gtk+3-devel libcanberra-devel udisks2-devel
|
makedepends="liblzma-devel gtk+3-devel libcanberra-devel udisks2-devel
|
||||||
libdvdread-devel libsecret-devel libpwquality-devel libnotify-devel
|
libdvdread-devel libsecret-devel libpwquality-devel libnotify-devel
|
||||||
gnome-settings-daemon-devel>=3.12"
|
gnome-settings-daemon-devel>=3.12 $(vopt_if systemd systemd-devel)"
|
||||||
depends="hicolor-icon-theme desktop-file-utils"
|
depends="hicolor-icon-theme desktop-file-utils"
|
||||||
short_desc="GNOME libraries and applications for dealing with storage devices"
|
short_desc="GNOME libraries and applications for dealing with storage devices"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -19,10 +21,6 @@ checksum=85ee6453e56c97a5c33b7346849016f31df53f9acbe325a046d269242797d32b
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir systemd"
|
build_options="gir systemd"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
if [ "$build_option_systemd" ]; then
|
build_options_default="gir"
|
||||||
configure_args+=" --enable-libsystemd-login"
|
|
||||||
makedepends+=" systemd-devel"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-libsystemd-login"
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue