From 766195a81fd5cfeeb9e1e340fca62867b09d20a0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 1 Feb 2004 20:48:51 +0000 Subject: ver bump --- x11-misc/entrance/entrance-0.9.0.20040201.ebuild | 65 ++++++++++++++++++++++ .../entrance/files/digest-entrance-0.9.0.20040201 | 2 + 2 files changed, 67 insertions(+) create mode 100644 x11-misc/entrance/entrance-0.9.0.20040201.ebuild create mode 100644 x11-misc/entrance/files/digest-entrance-0.9.0.20040201 (limited to 'x11-misc/entrance') diff --git a/x11-misc/entrance/entrance-0.9.0.20040201.ebuild b/x11-misc/entrance/entrance-0.9.0.20040201.ebuild new file mode 100644 index 000000000000..f4cb11e28db2 --- /dev/null +++ b/x11-misc/entrance/entrance-0.9.0.20040201.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/entrance/entrance-0.9.0.20040201.ebuild,v 1.1 2004/02/01 20:48:51 vapier Exp $ + +inherit enlightenment eutils + +DESCRIPTION="next generation of Elogin, a login/display manager for X" +HOMEPAGE="http://xcomputerman.com/pages/entrance.html" +SRC_URI="${SRC_URI} + mirror://gentoo/extraicons-1.tar.bz2 + http://wh0rd.de/gentoo/distfiles/extraicons-1.tar.bz2" + +IUSE="${IUSE} pam" + +DEPEND="virtual/x11 + pam? ( sys-libs/pam ) + >=dev-db/edb-1.0.4.20031013 + >=x11-libs/evas-1.0.0.20031025_pre11 + >=x11-libs/ecore-0.0.2.20031018_pre4 + >=media-libs/edje-0.0.1.20031020 + >=x11-libs/esmart-0.0.2.20031025" + +src_compile() { + if [ `use pam` ] ; then + export MY_ECONF="--with-auth-mode=pam" + else + export MY_ECONF="--with-auth-mode=shadow" + fi + enlightenment_src_compile +} + +src_install() { + enlightenment_src_install + rm -rf ${D}/etc/init.d + insinto /usr/share/entrance/images/sessions + doins ${WORKDIR}/extraicons/* + exeinto /usr/share/entrance + doexe data/config/build_config.sh + + cd /etc/X11/Sessions + local edb="${D}/etc/entrance_config.db" + local count="`edb_ed ${edb} get /entrance/session/count int`" + local datadir="${D}/usr/share/entrance/images/sessions" + local icon="" + while [ ${count} -ge 0 ] ; do + edb_ed ${edb} del /entrance/session/${count}/icon + edb_ed ${edb} del /entrance/session/${count}/session + edb_ed ${edb} del /entrance/session/${count}/title + count=$((${count} - 1)) + done + count=0 + for s in Default * failsafe ; do + [ "${s}" == "Xsession" ] && continue + icon="`find ${datadir} -iname ${s}.png -printf %f`" + if [ -z "${icon}" ] ; then + edb_ed ${edb} add /entrance/session/${count}/icon str default.png + else + edb_ed ${edb} add /entrance/session/${count}/icon str ${icon} + fi + edb_ed ${edb} add /entrance/session/${count}/session str ${s} + edb_ed ${edb} add /entrance/session/${count}/title str ${s} + count=$((${count} + 1)) + done + edb_ed ${edb} add /entrance/session/count int ${count} +} diff --git a/x11-misc/entrance/files/digest-entrance-0.9.0.20040201 b/x11-misc/entrance/files/digest-entrance-0.9.0.20040201 new file mode 100644 index 000000000000..506a610e4331 --- /dev/null +++ b/x11-misc/entrance/files/digest-entrance-0.9.0.20040201 @@ -0,0 +1,2 @@ +MD5 afa785b2f43156945050e720c271b13b entrance-0.9.0.20040201.tar.bz2 6559260 +MD5 b1d2a452028c3a09443d84968e24144c extraicons-1.tar.bz2 16770 -- cgit v1.2.3-65-gdbad