pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

enlightenment-current: enable systemd on linux



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Sun Dec 6 13:58:59 2020 +0100
Changeset:	61978b665828effc7ca1cb46df4117f6f5930737

Modified Files:
	enlightenment-current/Makefile
	enlightenment-current/PLIST

Log Message:
enlightenment-current: enable systemd on linux

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=61978b665828effc7ca1cb46df4117f6f5930737

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 enlightenment-current/Makefile | 9 +++++++--
 enlightenment-current/PLIST    | 1 +
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs:
diff --git a/enlightenment-current/Makefile b/enlightenment-current/Makefile
index 258140527c..9236ed862f 100644
--- a/enlightenment-current/Makefile
+++ b/enlightenment-current/Makefile
@@ -3,7 +3,7 @@
 DISTNAME=	enlightenment-0.24.2
 PKGNAME=	${DISTNAME:S/enlightenment/enlightenment-current/}
 CATEGORIES=	wm
-PKGREVISION=	4
+PKGREVISION=	5
 MASTER_SITES=	https://download.enlightenment.org/rel/apps/enlightenment/
 EXTRACT_SUFX=	.tar.xz
 
@@ -42,7 +42,7 @@ SUBST_VARS.prefix=	PREFIX
 
 .include "../../mk/bsd.prefs.mk"
 
-PLIST_VARS+=	cpufreq sysinfo temperature
+PLIST_VARS+=	cpufreq sysinfo temperature linux
 
 .if ${OPSYS} != "NetBSD"
 PLIST.cpufreq=		yes
@@ -52,6 +52,7 @@ PLIST.temperature=	yes
 
 .if ${OPSYS} == "Linux"
 PLIST_SUBST+=	PLATFORM="linux-gnu"
+PLIST.linux=	yes
 .else
 PLIST_SUBST+=	PLATFORM=${LOWER_OPSYS}
 .endif
@@ -62,7 +63,11 @@ MESON_ARGS+=		-Dsysinfo=false
 MESON_ARGS+=		-Dtemperature=false
 .endif
 MESON_ARGS+=		-Ddevice-udev=false
+.if ${OPSYS} != "Linux"
 MESON_ARGS+=		-Dsystemd=false
+.else
+MESON_ARGS+=		-Dsystemdunitdir=${PREFIX}/lib/systemd/user
+.endif
 
 .if ${X11_TYPE} == "modular"
 CPPFLAGS+=	-DPKGSRC_X11BASE=\"${X11BASE:Q}\"
diff --git a/enlightenment-current/PLIST b/enlightenment-current/PLIST
index 770ff2ec5d..4b57561c5f 100644
--- a/enlightenment-current/PLIST
+++ b/enlightenment-current/PLIST
@@ -391,6 +391,7 @@ lib/enlightenment/utils/enlightenment_thumb
 lib/enlightenment/utils/enlightenment_wallpaper_gen
 lib/pkgconfig/enlightenment.pc
 lib/pkgconfig/everything.pc
+${PLIST.linux}lib/systemd/user/enlightenment.service
 share/applications/emixer.desktop
 share/applications/enlightenment_askpass.desktop
 share/applications/enlightenment_filemanager.desktop


Home | Main Index | Thread Index | Old Index