pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
efl: add "test" to options
Module Name: pkgsrc-wip
Committed By: kikadf <kikadf.01%gmail.com@localhost>
Pushed By: kikadf
Date: Fri Feb 12 12:08:50 2021 +0100
Changeset: 640d3cc36924ee04fa51c18d9621d566299914a4
Modified Files:
efl/Makefile
efl/PLIST
efl/buildlink3.mk
efl/options.mk
Log Message:
efl: add "test" to options
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=640d3cc36924ee04fa51c18d9621d566299914a4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
efl/Makefile | 1 -
efl/PLIST | 7 +++++++
efl/buildlink3.mk | 6 +++---
efl/options.mk | 12 ++++++++++++
4 files changed, 22 insertions(+), 4 deletions(-)
diffs:
diff --git a/efl/Makefile b/efl/Makefile
index 789f89919e..8aab851bf3 100644
--- a/efl/Makefile
+++ b/efl/Makefile
@@ -59,7 +59,6 @@ MESON_ARGS+= -Dsystemd=false
PLIST.linux= yes
.endif
MESON_ARGS+= -Deeze=false
-MESON_ARGS+= -Dbuild-tests=false
MESON_ARGS+= -Dbuild-examples=false
MESON_ARGS+= -Dphysics=true
diff --git a/efl/PLIST b/efl/PLIST
index c42a8d40fc..9fe4f3c5c9 100644
--- a/efl/PLIST
+++ b/efl/PLIST
@@ -26,6 +26,8 @@ bin/elementary_run
bin/elementary_test
bin/elm_prefs_cc
bin/embryo_cc
+${PLIST.tests}bin/emotion_test
+${PLIST.tests}bin/emotion_test-eo
bin/eo_debug
bin/eolian_cxx
bin/eolian_gen
@@ -2350,6 +2352,10 @@ share/ecore_x/checkme
share/edje/include/edje.inc
share/eeze/checkme
share/efreet/checkme
+${PLIST.tests}share/elementary/testdiff.diff
+${PLIST.tests}share/elementary/testfile-windows.txt
+${PLIST.tests}share/elementary/testfile-withblanks.txt
+${PLIST.tests}share/elementary/testfile.txt
share/elementary/config/default/base.cfg
share/elementary/config/default/icon.png
share/elementary/config/default/profile.desktop
@@ -2474,6 +2480,7 @@ share/elementary/themes/default.edj
share/elua/checkme
share/embryo/include/default.inc
share/emotion/checkme
+${PLIST.tests}share/emotion/data/theme.edj
share/eo/gdb/eo_gdb.py
share/eolian/include/ecore-1/efl_accelerate_interpolator.eo
share/eolian/include/ecore-1/efl_app.eo
diff --git a/efl/buildlink3.mk b/efl/buildlink3.mk
index 88c26395e9..695824a7a5 100644
--- a/efl/buildlink3.mk
+++ b/efl/buildlink3.mk
@@ -11,15 +11,15 @@ BUILDLINK_PKGSRCDIR.efl?= ../../wip/efl
pkgbase := efl
.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.efl:Mg-mainloop)
+.if ${PKG_BUILD_OPTIONS.efl:Mg-mainloop}
.include "../../devel/libuv/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.efl:Mpulseaudio)
+.if ${PKG_BUILD_OPTIONS.efl:Mpulseaudio}
.include "../../audio/pulseaudio/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.efl:Mclang)
+.if ${PKG_BUILD_OPTIONS.efl:Mclang}
.include "../../parallel/openmp/buildlink3.mk"
.endif
diff --git a/efl/options.mk b/efl/options.mk
index fbb26b37cf..1eae1ed20a 100644
--- a/efl/options.mk
+++ b/efl/options.mk
@@ -2,6 +2,7 @@
PKG_OPTIONS_VAR= PKG_OPTIONS.efl
PKG_SUPPORTED_OPTIONS= debug g-mainloop gcc8 pulseaudio clang
+PKG_SUPPORTED_OPTIONS+= tests
PKG_SUGGESTED_OPTIONS= pulseaudio
@@ -37,3 +38,14 @@ MESON_ARGS+= -Dpulseaudio=false
.if !empty(PKG_OPTIONS:Mclang)
.include "../../parallel/openmp/buildlink3.mk"
.endif
+
+# Compile tests
+.if !empty(PKG_OPTIONS:Mtests)
+PLIST_VARS+= tests
+PLIST.tests= yes
+MESON_ARGS+= -Dbuild-tests=true
+REPLACE_PYTHON+= src/tests/elementary/spec/generator.py
+.include "../../devel/check/buildlink3.mk"
+.else
+MESON_ARGS+= -Dbuild-tests=false
+.endif
Home |
Main Index |
Thread Index |
Old Index