efl: add linux as platform

This commit is contained in:
kikadf 2020-11-21 18:14:57 +01:00
parent cafb698e79
commit 33b87cc42d
3 changed files with 21 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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"