lightdm: always enable gir

This commit is contained in:
Jürgen Buchmüller 2019-04-29 15:59:54 +02:00
parent 316e590a98
commit e887529657

View file

@ -1,8 +1,9 @@
# Template file for 'lightdm'
pkgname=lightdm
version=1.28.0
revision=1
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
--with-greeter-user=lightdm --disable-static --disable-tests
$(vopt_enable gir introspection)"
@ -14,8 +15,7 @@ changelog="https://raw.githubusercontent.com/CanonicalLtd/lightdm/master/NEWS"
distfiles="https://github.com/CanonicalLtd/lightdm/releases/download/${version}/lightdm-${version}.tar.xz"
checksum=f20f599d8d7cf90b77a2df33c6e9e615abc443123b1b228de1c20a636aecfa07
build_options="gir"
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
hostmakedepends="pkg-config intltool itstool $(vopt_if gir 'gobject-introspection vala')"
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
libgcrypt-devel accountsservice-devel"
@ -28,8 +28,10 @@ make_dirs="
/var/lib/lightdm 0755 lightdm lightdm
/var/lib/lightdm-data 0755 lightdm lightdm"
build_options="gir"
build_options_default="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
configure_args+=" MOC5=/usr/lib/qt5/bin/moc"
makedepends+=" qt5-devel"
subpackages+=" liblightdm-qt5"