MFH: r549089

audio/libaudec: Fix the i386 build by properly excluding tests from the build

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
This commit is contained in:
Yuri Victorovich 2020-09-20 16:50:16 +00:00
parent 1353618573
commit ba36d24c52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=549123
2 changed files with 3 additions and 14 deletions

View File

@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_ACCOUNT= alex-tee
USE_LDCONFIG= yes
MESON_ARGS= -Dbuild-tests=false
MESON_ARGS= -Dtests=false
PLIST_FILES= bin/audec \
include/audec/audec.h \

View File

@ -1,6 +1,6 @@
--- meson.build.orig 2020-05-16 11:50:13 UTC
--- meson.build.orig 2020-08-15 13:40:04 UTC
+++ meson.build
@@ -177,7 +177,7 @@ config_h_dep = declare_dependency (
@@ -162,7 +162,7 @@ config_h_dep = declare_dependency (
)
audec_deps += config_h_dep
@ -9,14 +9,3 @@
'audec',
sources: srcs,
dependencies: [
@@ -212,7 +212,9 @@ audec_exe = executable (
install: not meson.is_subproject(),
)
-subdir('tests')
+if get_variable('build-tests', true)
+ subdir('tests')
+endif
summary = [
'',