libsndfile1: make sqlite and FLAC/Vorbis optional
PATCH v2 1/1 libsndfile1: make sqlite and FLAC/Vorbis optional
From: Max Kellermann <[email protected]>
--- meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb +4 -2
@@ -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 = "" SECTION = "libs/multimedia" LICENSE = "LGPLv2.1"
@@ -27,8 +27,10 @@ CVE_PRODUCT = "libsndfile" S = "${WORKDIR}/libsndfile-${PV}" -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)} sqlite external-libs" PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3" +PACKAGECONFIG[external-libs] = "--enable-external-libs,--disable-external-libs,flac libogg libvorbis" inherit autotools lib_package pkgconfig
Signature · 1 line
2.20.1
I just double-took at the sqlite dependency. This is only used by a testing tool that we don't build or install.
How about renaming the option to regtest and disabling by default?
Ross
Quoted 41 lines · Max Kellermann
From: Max Kellermann <[email protected]>
Signed-off-by Max Kellermann <[email protected]>--- meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb +4
-3@@ -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 = "" SECTION = "libs/multimedia" LICENSE = "LGPLv2.1"@@ -27,8 +27,10 @@ CVE_PRODUCT = "libsndfile" S = "${WORKDIR}/libsndfile-${PV}" -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)} sqlite external-libs" PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[sqlite] = "--enable-sqlite,--disable-sqlite,sqlite3" +PACKAGECONFIG[external-libs] = "--enable-external-libs,--disable-external-libs,flac libogg libvorbis" inherit autotools lib_package pkgconfig --2.20.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 4 lines · Ross
I just double-took at the sqlite dependency. This is only used by a testing tool that we don't build or install.
How about renaming the option to regtest and disabling by default?
What do you think about disabling it unconditionally?
Quoted 3 lines · Max Kellermann
Quoted 1 line
How about renaming the option to regtest and disabling by default?
What do you think about disabling it unconditionally?
I wouldn't object.
Ross