gdm: remove systemd build option (#1736)
This commit is contained in:
parent
142e7e8641
commit
99c9a2f987
1 changed files with 4 additions and 11 deletions
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'gdm'
|
||||
pkgname=gdm
|
||||
version=3.16.1.1
|
||||
revision=1
|
||||
revision=2
|
||||
patch_args="-Np1"
|
||||
build_style=gnu-configure
|
||||
configure_args="$(vopt_enable gir introspection)
|
||||
--disable-schemas-compile --disable-static --with-default-pam-config=arch
|
||||
--with-at-spi-registryd-directory=/usr/libexec --without-tcp-wrappers
|
||||
--with-screenshot-dir=/var/lib/gdm/greeter --sbindir=/usr/bin --without-plymouth
|
||||
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid"
|
||||
--with-xauth-dir=/run/gdm --with-pid-file=/run/gdm/gdm.pid
|
||||
--with-console-kit --without-systemd --disable-systemd-journal --with-initial-vt=7"
|
||||
hostmakedepends="automake libtool pkg-config itstool intltool gnome-doc-utils
|
||||
$(vopt_if gir gobject-introspection)"
|
||||
makedepends="glib-devel iso-codes gettext-devel
|
||||
|
@ -35,20 +36,12 @@ distfiles="${GNOME_SITE}/$pkgname/${version%.*.*}/$pkgname-$version.tar.xz"
|
|||
checksum=2d2409fdc0a53b080377730a7775bc3239f8584829ff327d3465def0b20433db
|
||||
|
||||
# Package build options
|
||||
build_options="gir systemd"
|
||||
build_options="gir"
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gir"
|
||||
fi
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --with-systemd --enable-systemd-journal --with-initial-vt=1"
|
||||
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
makedepends+=" systemd-devel"
|
||||
else
|
||||
configure_args+=" --with-console-kit --without-systemd --disable-systemd-journal --with-initial-vt=7"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
AUTOPOINT='intltoolize --automake -c' NOCONFIGURE=1 autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue