summaryrefslogtreecommitdiff
path: root/x11-misc/lightdm-kde/lightdm-kde-0.3.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/lightdm-kde/lightdm-kde-0.3.1.ebuild')
-rw-r--r--x11-misc/lightdm-kde/lightdm-kde-0.3.1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-misc/lightdm-kde/lightdm-kde-0.3.1.ebuild b/x11-misc/lightdm-kde/lightdm-kde-0.3.1.ebuild
new file mode 100644
index 00000000..1e9ac685
--- /dev/null
+++ b/x11-misc/lightdm-kde/lightdm-kde-0.3.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+KDE_MINIMAL="4.8"
+KDE_SCM="git"
+EGIT_REPONAME="${PN/-kde/}"
+KDE_LINGUAS="cs da de el es et fi fr ga hu it ja km lt nds nl pl pt pt_BR ro sk sv uk"
+inherit kde4-base
+
+DESCRIPTION="LightDM KDE greeter"
+HOMEPAGE="https://projects.kde.org/projects/playground/base/lightdm"
+[[ ${PV} = 9999* ]] || SRC_URI="mirror://kde/unstable/${PN}/src/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+KEYWORDS="amd64 ~ppc x86"
+SLOT="4"
+IUSE="debug"
+
+DEPEND="x11-libs/libX11
+ dev-qt/qtdeclarative:4
+ >=x11-misc/lightdm-1.3.2[qt4]
+"
+RDEPEND="${DEPEND}
+ app-admin/eselect-lightdm"
+
+S=${WORKDIR}/${PN/-kde}-${PV}
+
+pkg_postinst() {
+ # Make sure to have a greeter properly configured
+ eselect lightdm set lightdm-kde-greeter --use-old
+}
+
+pkg_postrm() {
+ eselect lightdm set 1 # hope some other greeter is installed
+}