gdm: cross build
This commit is contained in:
parent
cfd75b75c8
commit
7e6660867d
1 changed files with 5 additions and 2 deletions
|
@ -22,7 +22,6 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://wiki.gnome.org/Projects/GDM"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=e85df657aa8d9361af4fb122014d8f123a93bfe45a7662fba2b373d839dbd8d3
|
||||
nocross="gnome-shell can't be crosscompiled yet"
|
||||
|
||||
conf_files="
|
||||
/etc/gdm/custom.conf
|
||||
|
@ -40,10 +39,14 @@ gdm_homedir="/var/lib/gdm"
|
|||
build_options="gir"
|
||||
build_options_default="gir"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" glib-devel pam-devel"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vinstall $FILESDIR/Xsession 755 etc/gdm
|
||||
|
||||
sed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/*
|
||||
vsed -i "s/pam_systemd\.so/pam_elogind.so/" $DESTDIR/etc/pam.d/*
|
||||
|
||||
# runit service
|
||||
vsv gdm
|
||||
|
|
Loading…
Reference in a new issue