aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSardem FF7 <sardemff7.pub@gmail.com>2011-05-31 00:34:24 +0200
committerSardem FF7 <sardemff7.pub@gmail.com>2011-05-31 00:34:24 +0200
commit93bbcc2f8ef0edaffb2b5829c47b37085149a5a0 (patch)
tree7afe106b05c0100cd27e5e5c8641a5d9c613da95
parentCleanup Gnome-Shell stuff (diff)
downloadsardemff7-93bbcc2f8ef0edaffb2b5829c47b37085149a5a0.tar.gz
sardemff7-93bbcc2f8ef0edaffb2b5829c47b37085149a5a0.tar.bz2
sardemff7-93bbcc2f8ef0edaffb2b5829c47b37085149a5a0.zip
Add x11-misc/lightdm
Based on https://gist.github.com/971684 Thanks to matsuu
-rw-r--r--x11-misc/lightdm/Manifest2
-rw-r--r--x11-misc/lightdm/lightdm-0.3.6.ebuild70
2 files changed, 72 insertions, 0 deletions
diff --git a/x11-misc/lightdm/Manifest b/x11-misc/lightdm/Manifest
new file mode 100644
index 0000000..2442dfb
--- /dev/null
+++ b/x11-misc/lightdm/Manifest
@@ -0,0 +1,2 @@
+EBUILD lightdm-0.3.6.ebuild 1591 RMD160 ab870e30c5dbae60a1a0cbda650a2582e83c6738 SHA1 8390b7991a0703226c4e3fa314da87819cb6ecd5 SHA256 a624286949098848718a41695f6d053b82e2b741a471afaf04a03e34d080c3d5
+DIST lightdm-0.3.6.tar.gz 1101949 RMD160 17bc287e920bd748ec62ab362e53c4ff93dc6426 SHA1 83d95f537dc8f931ac6ebea2fc4c54584acdc1ab SHA256 03950dca25801dbf3d3b486e3c0c05ad8b5c3b1969e00f4ebdad71702ef60d95
diff --git a/x11-misc/lightdm/lightdm-0.3.6.ebuild b/x11-misc/lightdm/lightdm-0.3.6.ebuild
new file mode 100644
index 0000000..ba36e36
--- /dev/null
+++ b/x11-misc/lightdm/lightdm-0.3.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+inherit eutils pam
+
+DESCRIPTION="A lightweight display manager"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/LightDM"
+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"
+
+VALASLOT="0.12"
+
+RDEPEND="
+ >=dev-libs/glib-2.26:2
+ x11-libs/libxcb
+ x11-libs/libXdmcp
+ x11-libs/libX11
+ x11-libs/libxklavier
+ virtual/pam
+ gtk? ( x11-libs/gtk+:2 )
+ introspection? ( dev-libs/gobject-introspection )
+ nls? ( virtual/libintl )
+ qt4? (
+ x11-libs/qt-core:4
+ x11-libs/qt-dbus:4
+ x11-libs/qt-gui:4
+ )
+ vala? ( dev-lang/vala:${VALASLOT} )
+ "
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )
+ "
+
+pkg_setup() {
+ export VALAC="$(type -p valac-${VALASLOT})"
+
+ enewgroup lightdm
+ enewuser lightdm -1 -1 /var/lib/lightdm lightdm
+}
+
+src_configure() {
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ --disable-static \
+ --disable-dependency-tracking \
+ --with-greeter-user=lightdm \
+ --with-xserver-binary="${EPREFIX}/usr/bin/X" \
+ --with-xsession-dir="${EPREFIX}/usr/share/xsessions" \
+ $(use_enable gtk liblightdm_gobject) \
+ $(use_enable introspection) \
+ $(use_enable nls) \
+ $(use_enable qt4 liblightdm_qt) || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ pamd_mimic system-local-login lightdm auth account session || die
+
+ find "${ED}" -name '*.la' -exec rm {} + || die
+
+ dodoc AUTHORS ChangeLog NEWS README || die
+}