summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-11-01 17:37:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-11-01 17:37:33 +0000
commit5f49edf3c10c61a66bc8dce783863ead662625a7 (patch)
treeb25ac5255dc68200dc795b905362fe3284bcbe3e /x11-misc
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-5f49edf3c10c61a66bc8dce783863ead662625a7.tar.gz
gentoo-2-5f49edf3c10c61a66bc8dce783863ead662625a7.tar.bz2
gentoo-2-5f49edf3c10c61a66bc8dce783863ead662625a7.zip
Version bump.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/lightdm/ChangeLog7
-rw-r--r--x11-misc/lightdm/lightdm-0.1.2.ebuild58
-rw-r--r--x11-misc/lightdm/metadata.xml7
3 files changed, 68 insertions, 4 deletions
diff --git a/x11-misc/lightdm/ChangeLog b/x11-misc/lightdm/ChangeLog
index 2ea515b4a8f3..08b6bc6bfc24 100644
--- a/x11-misc/lightdm/ChangeLog
+++ b/x11-misc/lightdm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/lightdm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.2 2010/09/08 07:09:21 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/ChangeLog,v 1.3 2010/11/01 17:37:33 ssuominen Exp $
+
+*lightdm-0.1.2 (01 Nov 2010)
+
+ 01 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> +lightdm-0.1.2.ebuild:
+ Version bump.
08 Sep 2010; Kacper Kowalik <xarthisius@gentoo.org> lightdm-0.1.1.ebuild,
+files/lightdm-0.1.1-webkit.patch, metadata.xml:
diff --git a/x11-misc/lightdm/lightdm-0.1.2.ebuild b/x11-misc/lightdm/lightdm-0.1.2.ebuild
new file mode 100644
index 000000000000..683499975c8a
--- /dev/null
+++ b/x11-misc/lightdm/lightdm-0.1.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lightdm/lightdm-0.1.2.ebuild,v 1.1 2010/11/01 17:37:33 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils pam
+
+DESCRIPTION="A lightweight display manager"
+HOMEPAGE="http://launchpad.net/lightdm"
+SRC_URI="http://people.ubuntu.com/~robert-ancell/${PN}/releases/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="consolekit +introspection nls webkit"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/dbus-glib
+ x11-libs/gtk+:2
+ x11-libs/libxcb
+ x11-libs/libXdmcp
+ x11-libs/libxklavier
+ virtual/pam
+ consolekit? ( sys-auth/consolekit )
+ introspection? ( dev-libs/gobject-introspection )
+ webkit? ( net-libs/webkit-gtk )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( dev-util/intltool )"
+
+src_prepare() {
+ # hardcoded service name to start PAM session
+ sed -i -e "s:check_pass:${PN}:" src/pam-session.c || die
+ # Fix ubuntu way of launching WM
+ sed -i -e "s:/etc/X11/Xsession::" src/display.c || die
+
+ epatch "${FILESDIR}"/${PN}-0.1.1-webkit.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localstatedir=/var \
+ --disable-dependency-tracking \
+ --disable-static \
+ $(use_enable webkit) \
+ $(use_enable introspection) \
+ $(use_enable consolekit console-kit) \
+ $(use_enable nls) \
+ --with-html-dir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ pamd_mimic_system lightdm auth account password session
+ dodoc ChangeLog NEWS
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+}
diff --git a/x11-misc/lightdm/metadata.xml b/x11-misc/lightdm/metadata.xml
index 636e5b0f3ad7..36ffe32d4b1b 100644
--- a/x11-misc/lightdm/metadata.xml
+++ b/x11-misc/lightdm/metadata.xml
@@ -10,7 +10,8 @@
* Cross-desktop (greeters can be written in any toolkit)
</longdescription>
<use>
- <flag name="consolekit">Enables support for authorization using consolekit</flag>
- <flag name="webkit">Build greeter based on <pkg>net-libs/webkit-gtk</pkg></flag>
- </use>
+ <flag name="consolekit">Enables support for authorization using consolekit</flag>
+ <flag name="webkit">Build greeter based on <pkg>net-libs/webkit-gtk</pkg></flag>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
+ </use>
</pkgmetadata>