2011-02-16 14:27:20 +01:00
|
|
|
# Template file for 'lightdm'
|
|
|
|
pkgname=lightdm
|
2014-03-15 08:14:10 +01:00
|
|
|
version=1.8.8
|
2014-02-19 20:23:24 +01:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-04-20 10:22:48 +02:00
|
|
|
configure_args="--with-greeter-session=lightdm-gtk-greeter
|
2012-10-15 23:30:02 +02:00
|
|
|
--with-greeter-user=lightdm --disable-static --disable-tests"
|
2011-02-16 14:27:20 +01:00
|
|
|
short_desc="Light Display Manager"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-09 08:41:52 +01:00
|
|
|
license="GPL-3, LGPL-3"
|
2012-07-09 23:05:03 +02:00
|
|
|
homepage="https://launchpad.net/lightdm"
|
2013-10-11 09:49:48 +02:00
|
|
|
distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz"
|
2014-03-15 08:14:10 +01:00
|
|
|
checksum=b366c7580574766f40d5b24dbaaecdc5e332be6df44bd4b3df0c04a729b493ba
|
2011-02-16 14:27:20 +01:00
|
|
|
|
2013-10-11 09:49:48 +02:00
|
|
|
hostmakedepends="pkg-config intltool itstool gobject-introspection which"
|
|
|
|
makedepends="dbus-glib-devel libxklavier-devel libxml2-devel
|
2013-01-04 12:11:10 +01:00
|
|
|
qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
|
2014-01-09 09:25:01 +01:00
|
|
|
libgcrypt-devel gnome-icon-theme dbus accountsservice-devel"
|
|
|
|
depends="gnome-icon-theme dbus accountsservice"
|
2014-01-01 16:10:11 +01:00
|
|
|
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"
|
2011-02-16 14:27:20 +01:00
|
|
|
|
2012-04-20 10:22:48 +02:00
|
|
|
post_install() {
|
2011-05-18 12:25:00 +02:00
|
|
|
# Remove provided init file and use our own.
|
2011-02-16 14:27:20 +01:00
|
|
|
rm -rf ${DESTDIR}/etc/init
|
2012-07-09 23:05:03 +02:00
|
|
|
vinstall ${FILESDIR}/lightdm.service 644 usr/lib/systemd/system
|
2013-10-11 09:49:48 +02:00
|
|
|
vinstall ${FILESDIR}/lightdm.tmpfiles 644 usr/lib/tmpfiles.d lightdm.conf
|
2011-10-11 05:22:40 +02:00
|
|
|
vinstall ${FILESDIR}/lightdm.pam 644 etc/pam.d lightdm
|
2012-04-20 10:22:48 +02:00
|
|
|
vinstall ${FILESDIR}/lightdm-autologin.pam 644 etc/pam.d lightdm-autologin
|
2013-01-04 11:45:37 +01:00
|
|
|
vinstall ${FILESDIR}/lightdm.rules 644 usr/share/polkit-1/rules.d
|
2013-10-11 10:16:08 +02:00
|
|
|
vinstall ${FILESDIR}/xsession 755 etc/lightdm Xsession
|
2011-02-16 14:27:20 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
liblightdm-gobject_package() {
|
2013-10-11 09:49:48 +02:00
|
|
|
short_desc+=" - GObject support library"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
2013-10-11 09:49:48 +02:00
|
|
|
vmove "usr/lib/liblightdm-gobject*.so.*"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
liblightdm-qt_package() {
|
2013-10-11 09:49:48 +02:00
|
|
|
short_desc+=" - QT support library"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
2013-10-11 09:49:48 +02:00
|
|
|
vmove "usr/lib/liblightdm-qt*.so.*"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lightdm-devel_package() {
|
2014-01-22 10:28:38 +01:00
|
|
|
depends="libglib-devel liblightdm-gobject>=${version}_${revision}
|
|
|
|
liblightdm-qt>=${version}_${revision}"
|
2013-10-11 09:49:48 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
vmove usr/share/gir-1.0
|
2013-10-11 09:49:48 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|