aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/lightdm/Manifest3
-rw-r--r--x11-misc/lightdm/files/lightdm.service10
-rw-r--r--x11-misc/lightdm/lightdm-1.0.0.ebuild6
3 files changed, 16 insertions, 3 deletions
diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest
index 3c39221..b18d002 100644
--- a/x11-misc/lightdm/Manifest
+++ b/x11-misc/lightdm/Manifest
@@ -1,2 +1,3 @@
-EBUILD lightdm-1.0.0.ebuild 1591 RMD160 ab870e30c5dbae60a1a0cbda650a2582e83c6738 SHA1 8390b7991a0703226c4e3fa314da87819cb6ecd5 SHA256 a624286949098848718a41695f6d053b82e2b741a471afaf04a03e34d080c3d5
+AUX lightdm.service 212 RMD160 2ce7a2c320415873a8b86e169513bf6cf5dc0e53 SHA1 8c97e4ef2119828f526cf5fd76b622cc6533a02e SHA256 1e19d7f8840cfe2eb4815ab244c4023f057f7f4130eba5a562d61ad5c216ad43
+EBUILD lightdm-1.0.0.ebuild 1666 RMD160 26f55871e8b0a3ea4d701e198e5a1da237e14ae0 SHA1 5c928909f5936ebc98a56ade5047a05838be0779 SHA256 1dfb4f83efd96c6a3d1b6d17d772574989083356b600206c59dfdc5e5c93c0a4
DIST lightdm-1.0.0.tar.gz 633441 RMD160 fede14749e151aafdc132c3bed10f500b247f682 SHA1 62a37239e5b51bbabfca083008b94a21f5135f79 SHA256 c874cc95a941c106a4be6ce5bdec243c56bc99e1ce721dcd43be0eef0550b715
diff --git a/x11-misc/lightdm/files/lightdm.service b/x11-misc/lightdm/files/lightdm.service
new file mode 100644
index 0000000..1abd5bd
--- /dev/null
+++ b/x11-misc/lightdm/files/lightdm.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Display Manager
+Conflicts=xdm.service gdm.service kdm.service lxdm.service slim.service
+
+[Service]
+ExecStart=/usr/sbin/lightdm
+
+[Install]
+Alias=displaymanager.service
+WantedBy=graphical.target
diff --git a/x11-misc/lightdm/lightdm-1.0.0.ebuild b/x11-misc/lightdm/lightdm-1.0.0.ebuild
index ba36e36..20c5cb3 100644
--- a/x11-misc/lightdm/lightdm-1.0.0.ebuild
+++ b/x11-misc/lightdm/lightdm-1.0.0.ebuild
@@ -3,7 +3,7 @@
# $Header: $
EAPI=3
-inherit eutils pam
+inherit eutils pam systemd
DESCRIPTION="A lightweight display manager"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
@@ -12,7 +12,7 @@ SRC_URI="http://launchpad.net/lightdm/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gtk +introspection nls qt4 vala"
+IUSE="gtk +introspection nls qt4 systemd vala"
VALASLOT="0.12"
@@ -62,6 +62,8 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
+ use systemd && systemd_dounit "${FILES}"/lightdm.service
+
pamd_mimic system-local-login lightdm auth account session || die
find "${ED}" -name '*.la' -exec rm {} + || die