enlightenment-current: enable systemd on linux
This commit is contained in:
parent
865c69e6d8
commit
61978b6658
|
@ -3,7 +3,7 @@
|
||||||
DISTNAME= enlightenment-0.24.2
|
DISTNAME= enlightenment-0.24.2
|
||||||
PKGNAME= ${DISTNAME:S/enlightenment/enlightenment-current/}
|
PKGNAME= ${DISTNAME:S/enlightenment/enlightenment-current/}
|
||||||
CATEGORIES= wm
|
CATEGORIES= wm
|
||||||
PKGREVISION= 4
|
PKGREVISION= 5
|
||||||
MASTER_SITES= https://download.enlightenment.org/rel/apps/enlightenment/
|
MASTER_SITES= https://download.enlightenment.org/rel/apps/enlightenment/
|
||||||
EXTRACT_SUFX= .tar.xz
|
EXTRACT_SUFX= .tar.xz
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ SUBST_VARS.prefix= PREFIX
|
||||||
|
|
||||||
.include "../../mk/bsd.prefs.mk"
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
|
||||||
PLIST_VARS+= cpufreq sysinfo temperature
|
PLIST_VARS+= cpufreq sysinfo temperature linux
|
||||||
|
|
||||||
.if ${OPSYS} != "NetBSD"
|
.if ${OPSYS} != "NetBSD"
|
||||||
PLIST.cpufreq= yes
|
PLIST.cpufreq= yes
|
||||||
|
@ -52,6 +52,7 @@ PLIST.temperature= yes
|
||||||
|
|
||||||
.if ${OPSYS} == "Linux"
|
.if ${OPSYS} == "Linux"
|
||||||
PLIST_SUBST+= PLATFORM="linux-gnu"
|
PLIST_SUBST+= PLATFORM="linux-gnu"
|
||||||
|
PLIST.linux= yes
|
||||||
.else
|
.else
|
||||||
PLIST_SUBST+= PLATFORM=${LOWER_OPSYS}
|
PLIST_SUBST+= PLATFORM=${LOWER_OPSYS}
|
||||||
.endif
|
.endif
|
||||||
|
@ -62,7 +63,11 @@ MESON_ARGS+= -Dsysinfo=false
|
||||||
MESON_ARGS+= -Dtemperature=false
|
MESON_ARGS+= -Dtemperature=false
|
||||||
.endif
|
.endif
|
||||||
MESON_ARGS+= -Ddevice-udev=false
|
MESON_ARGS+= -Ddevice-udev=false
|
||||||
|
.if ${OPSYS} != "Linux"
|
||||||
MESON_ARGS+= -Dsystemd=false
|
MESON_ARGS+= -Dsystemd=false
|
||||||
|
.else
|
||||||
|
MESON_ARGS+= -Dsystemdunitdir=${PREFIX}/lib/systemd/user
|
||||||
|
.endif
|
||||||
|
|
||||||
.if ${X11_TYPE} == "modular"
|
.if ${X11_TYPE} == "modular"
|
||||||
CPPFLAGS+= -DPKGSRC_X11BASE=\"${X11BASE:Q}\"
|
CPPFLAGS+= -DPKGSRC_X11BASE=\"${X11BASE:Q}\"
|
||||||
|
|
|
@ -391,6 +391,7 @@ lib/enlightenment/utils/enlightenment_thumb
|
||||||
lib/enlightenment/utils/enlightenment_wallpaper_gen
|
lib/enlightenment/utils/enlightenment_wallpaper_gen
|
||||||
lib/pkgconfig/enlightenment.pc
|
lib/pkgconfig/enlightenment.pc
|
||||||
lib/pkgconfig/everything.pc
|
lib/pkgconfig/everything.pc
|
||||||
|
${PLIST.linux}lib/systemd/user/enlightenment.service
|
||||||
share/applications/emixer.desktop
|
share/applications/emixer.desktop
|
||||||
share/applications/enlightenment_askpass.desktop
|
share/applications/enlightenment_askpass.desktop
|
||||||
share/applications/enlightenment_filemanager.desktop
|
share/applications/enlightenment_filemanager.desktop
|
||||||
|
|
Loading…
Reference in New Issue