pidgin-sipe: Add packageconfig to turn Werror on/off

This component has many warnings and is using deprecated libxml2 interfaces
as distros its better to disable Werror, if devs want to enable it then
add the needed packageconfig explicitly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj 2023-07-01 07:30:55 -07:00
parent 0ae88cd387
commit 3990b23ec7

View File

@ -25,6 +25,8 @@ PACKAGECONFIG[krb5] = "--with-krb5=yes,--with-krb5=no,krb5"
PACKAGECONFIG[telepathy] = "--enable-telepathy=yes,--enable-telepathy=no,telepathy-glib"
#PACKAGECONFIG[gssapi_only] = "--enable-gssapi-only=yes,--enable-gssapi-only=no,krb5"
PACKAGECONFIG[debug] = "--enable-debug=yes,--enable-debug=no,valgrind"
# disable Werror by default, useful for dev mode
PACKAGECONFIG[quality] = "--enable-quality-check=yes,--enable-quality-check=no,"
FILES:${PN}-dev += " \
${libdir}/purple-2/*.la \
@ -35,5 +37,3 @@ FILES:${PN} += " \
${datadir}/appdata \
${datadir}/metainfo \
"
CFLAGS = "-Wno-error=deprecated-declarations"