]> code.ossystems Code Review - openembedded-core.git/commitdiff
libsndfile1: disable use of sqlite3 by default
authorRoss Burton <ross.burton@intel.com>
Tue, 9 Jul 2019 10:50:57 +0000 (11:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Jul 2019 08:48:44 +0000 (09:48 +0100)
sqlite3 is only used by the regression testing tool, which is of limited use
unless you're the developer of libsndfile.  Add a PACKAGECONFIG for this, but
disable by default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb

index 77393db84705a129f96bac19b0419e1f738664a8..7dfee4e96fad478e138ae2e02d7b21ee73de0c2e 100644 (file)
@@ -1,7 +1,7 @@
 SUMMARY = "Audio format Conversion library"
 HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
 AUTHOR = "Erik de Castro Lopo"
-DEPENDS = "flac libogg libvorbis sqlite3"
+DEPENDS = "flac libogg libvorbis"
 SECTION = "libs/multimedia"
 LICENSE = "LGPLv2.1"
 
@@ -30,6 +30,7 @@ S = "${WORKDIR}/libsndfile-${PV}"
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}"
 PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
+PACKAGECONFIG[regtest] = "--enable-sqlite,--disable-sqlite,sqlite3"
 
 inherit autotools lib_package pkgconfig