pkgsrc-WIP-changes archive

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

efl: add linux as platform



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Sat Nov 21 18:14:57 2020 +0100
Changeset:	33b87cc42dc9074fe765123617ee387e311e2f7e

Modified Files:
	efl/Makefile
	efl/PLIST
	efl/options.mk

Log Message:
efl: add linux as platform

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

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

diffstat:
 efl/Makefile   | 22 +++++++++++++++-------
 efl/PLIST      |  2 ++
 efl/options.mk |  7 ++++---
 3 files changed, 21 insertions(+), 10 deletions(-)

diffs:
diff --git a/efl/Makefile b/efl/Makefile
index 4bda5df386..0bd2146aa9 100644
--- a/efl/Makefile
+++ b/efl/Makefile
@@ -25,13 +25,6 @@ EFL_LIBRARY_PATH:=	${EFL_LIBRARY_PATH}:${WRKSRC}/output/src/lib/${e}
 
 MAKE_ENV+=	LD_LIBRARY_PATH=${EFL_LIBRARY_PATH}
 
-MESON_ARGS+=	-Dsystemd=false
-MESON_ARGS+=	-Deeze=false
-MESON_ARGS+=	-Dbuild-tests=false
-MESON_ARGS+=	-Dbuild-examples=false
-#MESON_ARGS+=	-Dv4l2=false
-MESON_ARGS+=	-Dphysics=true
-
 USE_LANGUAGES=		c c++
 USE_TOOLS=		pkg-config
 ICON_THEMES=		yes
@@ -58,6 +51,21 @@ BUILD_DEPENDS+=		doxygen-[0-9]*:../../devel/doxygen
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 
+PLIST_VARS+=	linux
+
+.if ${OPSYS} != "Linux"
+MESON_ARGS+=	-Dsystemd=false
+.else
+PLIST.linux=	yes
+.endif
+# eeze need libmount and libudev
+# FIXME: pkgsrc not support libmount and libudev
+MESON_ARGS+=	-Deeze=false
+MESON_ARGS+=	-Dbuild-tests=false
+MESON_ARGS+=	-Dbuild-examples=false
+#MESON_ARGS+=	-Dv4l2=false
+MESON_ARGS+=	-Dphysics=true
+
 .if ${X11_TYPE} != "modular"
 
 SUBST_CLASSES+=			fix-options
diff --git a/efl/PLIST b/efl/PLIST
index b041302524..c42a8d40fc 100644
--- a/efl/PLIST
+++ b/efl/PLIST
@@ -2050,6 +2050,7 @@ lib/cmake/Evas/EvasConfig.cmake
 lib/cmake/Evas/EvasConfigVersion.cmake
 lib/cmake/EvasCxx/EvasCxxConfig.cmake
 lib/cmake/EvasCxx/EvasCxxConfigVersion.cmake
+${PLIST.linux}lib/ecore/system/systemd/v-1.25/module.so
 lib/ecore/system/upower/v-1.25/module.so
 lib/ecore_con/utils/v-1.25/efl_net_proxy_helper
 lib/ecore_evas/engines/extn/v-1.25/module.so
@@ -2338,6 +2339,7 @@ lib/pkgconfig/ethumb.pc
 lib/pkgconfig/ethumb_client.pc
 lib/pkgconfig/evas-cxx.pc
 lib/pkgconfig/evas.pc
+${PLIST.linux}lib/systemd/user/ethumb.service
 share/applications/elementary_config.desktop
 share/applications/elementary_perf.desktop
 share/applications/elementary_test.desktop
diff --git a/efl/options.mk b/efl/options.mk
index c5da59b28f..4df671c563 100644
--- a/efl/options.mk
+++ b/efl/options.mk
@@ -1,8 +1,9 @@
 # $NetBSD$
 
-PKG_OPTIONS_VAR=	PKG_OPTIONS.efl
-PKG_SUPPORTED_OPTIONS=	debug g-mainloop gcc8
-PKG_SUGGESTED_OPTIONS=	g-mainloop
+PKG_OPTIONS_VAR=		PKG_OPTIONS.efl
+PKG_SUPPORTED_OPTIONS=		debug g-mainloop gcc8
+PKG_SUGGESTED_OPTIONS.NetBSD=	g-mainloop
+PKG_SUGGESTED_OPTIONS=
 
 .include "../../mk/bsd.options.mk"
 


Home | Main Index | Thread Index | Old Index