summaryrefslogtreecommitdiff
path: root/packages/e17/entrance_20050810.bb
blob: e43fe9aff8c353ca872fea425b5a7fc873ffa7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
DESCRIPTION = "Entrace is the Enlightenment login manager"
SECTION = "e/apps"
LICENSE = "MIT"
# can also use pam and crypt
DEPENDS = "edb evas-x11 ecore-x11 edje esmart bash keylaunch detect-stylus x11-common"
RDEPENDS += "bash keylaunch detect-stylus x11-common"
HOMEPAGE = "http://www.enlightenment.org"
MAINTAINER = "Justin Patrin <papercrane@reversefold.com>"
CVSDATE = "${PV}"
PR = "r3"

SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/apps/entrance \
           file://Xserver.patch;patch=1 \
           file://config-db.patch;patch=1 \
           file://allow-missing-xsession.patch;patch=1 \
           file://run-Xinit.patch;patch=1 \
           file://use-bash.patch;patch=1 \
	   file://Xinit.d \
	   file://Sessions"
	   
S = "${WORKDIR}/entrance"

inherit autotools update-rc.d

INITSCRIPT_NAME = "entrance"
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."

EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR}/edje_cc \
                --with-xsession=/etc/X11/Xsession"

FILES += "${datadir}"

do_install_append() {
	install -d ${D}/etc/X11/Xinit.d
	install -d ${D}/etc/X11/Xsession.d
	install -d ${D}/etc/X11/Sessions
	
	install -m 755 ${WORKDIR}/Xinit.d/* ${D}/etc/X11/Xinit.d
	install -m 755 ${WORKDIR}/Sessions/* ${D}/etc/X11/Sessions
	
}