forked from enlightenment/enlightenment
parent
3f34680b7a
commit
cd28bc8145
8 changed files with 94 additions and 27 deletions
@ -0,0 +1,9 @@ |
||||
AUTOMAKE_OPTIONS = 1.4 foreign
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
if HAVE_SYSTEMD_USER_SESSION |
||||
unitsdir = $(USER_SESSION_DIR)
|
||||
units_DATA = e18.service
|
||||
endif |
||||
|
||||
EXTRA_DIST = $(units_DATA)
|
@ -0,0 +1,27 @@ |
||||
[Unit] |
||||
Description=Enlightenment 17 service |
||||
Before=end.target |
||||
After=xorg.target |
||||
Requires=xorg.target |
||||
Requires=dbus.socket |
||||
Requires=pulseaudio.service |
||||
Requires=ssh-agent.service |
||||
AllowIsolate=true |
||||
|
||||
[Service] |
||||
Type=notify |
||||
#Environment=PATH=uncomment:to:override:your:PATH |
||||
Environment=E_START=enlightenment |
||||
ExecStart=/usr/bin/enlightenment |
||||
Restart=always |
||||
RestartPreventExitStatus=0 |
||||
RestartSec=2 |
||||
StartLimitInterval=30 |
||||
StartLimitBurst=7 |
||||
KillMode=process |
||||
WatchdogSec=1 |
||||
TimeoutSec=1 |
||||
NotifyAccess=all |
||||
|
||||
[Install] |
||||
WantedBy=wm.target |
@ -0,0 +1,14 @@ |
||||
# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
||||
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
||||
# ------------------------------------------- |
||||
# Retrieves the value of the pkg-config variable for the given module. |
||||
AC_DEFUN([EFL_PKG_CHECK_VAR], |
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
||||
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
||||
|
||||
_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
||||
AS_VAR_COPY([$1], [pkg_cv_][$1]) |
||||
|
||||
AS_VAR_IF([$1], [""], [$5], [$4])dnl |
||||
])# PKG_CHECK_VAR |
||||
|
Loading…
Reference in new issue