71 lines
2.2 KiB
Plaintext
71 lines
2.2 KiB
Plaintext
# Template file for 'lightdm'
|
|
pkgname=lightdm
|
|
version=1.8.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-greeter-session=lightdm-gtk-greeter
|
|
--with-greeter-user=lightdm --disable-static --disable-tests"
|
|
short_desc="Light Display Manager"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-3, LGPL-3"
|
|
homepage="https://launchpad.net/lightdm"
|
|
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
|
|
checksum=6a56b98224f147e27e0c26ce586ae9b7380dd23291b38a625fcc79a50cc63e39
|
|
|
|
hostmakedepends="pkg-config intltool itstool gobject-introspection which"
|
|
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
|
qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
|
libgcrypt-devel gnome-icon-theme dbus accountsservice-devel"
|
|
depends="gnome-icon-theme dbus accountsservice"
|
|
conf_files="
|
|
/etc/lightdm/keys.conf
|
|
/etc/lightdm/lightdm.conf
|
|
/etc/lightdm/users.conf
|
|
/etc/pam.d/lightdm
|
|
/etc/pam.d/lightdm-greeter
|
|
/etc/pam.d/lightdm-autologin"
|
|
system_accounts="lightdm"
|
|
lightdm_homedir="/var/cache/lightdm"
|
|
systemd_services="lightdm.service off"
|
|
make_dirs="/var/cache/lightdm 0755 lightdm lightdm"
|
|
|
|
post_install() {
|
|
# Remove provided init file and use our own.
|
|
rm -rf ${DESTDIR}/etc/init
|
|
vinstall ${FILESDIR}/lightdm.service 644 usr/lib/systemd/system
|
|
vinstall ${FILESDIR}/lightdm.tmpfiles 644 usr/lib/tmpfiles.d lightdm.conf
|
|
vinstall ${FILESDIR}/lightdm.pam 644 etc/pam.d lightdm
|
|
vinstall ${FILESDIR}/lightdm-autologin.pam 644 etc/pam.d lightdm-autologin
|
|
vinstall ${FILESDIR}/lightdm.rules 644 usr/share/polkit-1/rules.d
|
|
vinstall ${FILESDIR}/xsession 755 etc/lightdm Xsession
|
|
}
|
|
|
|
liblightdm-gobject_package() {
|
|
short_desc+=" - GObject support library"
|
|
pkg_install() {
|
|
vmove "usr/lib/liblightdm-gobject*.so.*"
|
|
vmove usr/lib/girepository-1.0
|
|
}
|
|
}
|
|
|
|
liblightdm-qt_package() {
|
|
short_desc+=" - QT support library"
|
|
pkg_install() {
|
|
vmove "usr/lib/liblightdm-qt*.so.*"
|
|
}
|
|
}
|
|
|
|
lightdm-devel_package() {
|
|
depends="libglib-devel liblightdm-gobject>=${version}_${revision}
|
|
liblightdm-qt>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/vala
|
|
vmove usr/share/gir-1.0
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|