mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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"
|
homepage="https://wiki.gnome.org/Projects/GDM"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=e85df657aa8d9361af4fb122014d8f123a93bfe45a7662fba2b373d839dbd8d3
|
checksum=e85df657aa8d9361af4fb122014d8f123a93bfe45a7662fba2b373d839dbd8d3
|
||||||
nocross="gnome-shell can't be crosscompiled yet"
|
|
||||||
|
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/gdm/custom.conf
|
/etc/gdm/custom.conf
|
||||||
|
@ -40,10 +39,14 @@ gdm_homedir="/var/lib/gdm"
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" glib-devel pam-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall $FILESDIR/Xsession 755 etc/gdm
|
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
|
# runit service
|
||||||
vsv gdm
|
vsv gdm
|
||||||
|
|
Loading…
Add table
Reference in a new issue