Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "Login manager for Enlightenment" |
| 2 | DEPENDS = "efreet eina eet ecore elementary" |
| 3 | LICENSE = "GPLv3+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 5 | SECTION = "e/apps" |
| 6 | |
| 7 | inherit e gettext systemd |
| 8 | SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep \ |
| 9 | file://0001-pam-use-common-auth-instead-of-system-auth.patch \ |
| 10 | file://entrance.service \ |
| 11 | " |
| 12 | S = "${WORKDIR}/${SRCNAME}" |
| 13 | |
| 14 | PNBLACKLIST[entrance] ?= "broken: switch to https://git.enlightenment.org/misc/entrance.git and fix 0.0.4+svnr82070-r7/entrance/data/themes/old/default.edc:678. invalid state name: 'defaault'. "default" state must always be first." |
| 15 | |
| 16 | PACKAGECONFIG ??= "" |
| 17 | PACKAGECONFIG[consolekit] = "--enable-consolekit,--disable-consolekit,consolekit" |
| 18 | |
| 19 | EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '--disable-pam', d)}" |
| 20 | |
| 21 | PR = "r7" |
| 22 | PV = "0.0.4+svnr${SRCPV}" |
| 23 | SRCREV = "${EFL_SRCREV}" |
| 24 | |
| 25 | RDEPENDS_${PN} += "${PN}-themes sessreg xauth" |
| 26 | CONFFILES_${PN} += "${sysconfdir}/entrance.conf" |
| 27 | |
| 28 | RCONFLICTS_${PN} += "xserver-nodm-init" |
| 29 | RREPLACES_${PN} += "xserver-nodm-init" |
| 30 | |
| 31 | RCONFLICTS_${PN} += "xserver-nodm-init-systemd" |
| 32 | RREPLACES_${PN} += "xserver-nodm-init-systemd" |
| 33 | |
| 34 | RPROVIDES_${PN} += "${PN}-systemd" |
| 35 | RREPLACES_${PN} += "${PN}-systemd" |
| 36 | RCONFLICTS_${PN} += "${PN}-systemd" |
| 37 | |
| 38 | SYSTEMD_SERVICE_${PN} = "entrance.service" |
| 39 | |
| 40 | do_install_append() { |
| 41 | install -d ${D}${systemd_unitdir}/system |
| 42 | install -m 0644 ${WORKDIR}/entrance.service ${D}${systemd_unitdir}/system |
| 43 | } |