pinentry: drop -unknown suffix from version number

Include drop-unknown-suffix.inc to remove unknown suffix in runtime
version.

Befor the fix:
$ pinentry --version
pinentry-curses (pinentry) 1.3.1-unknown

After the fix:
$ pinentry --version
pinentry-curses (pinentry) 1.3.1

(From OE-Core rev: 752b55a9eb631eb48e3dd87062ee0728e67d41a6)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yi Zhao 2025-07-02 15:28:54 +08:00 committed by Richard Purdie
parent 5396fc04ae
commit c2febebbf1

View File

@ -20,6 +20,8 @@ SRC_URI[sha256sum] = "bc72ee27c7239007ab1896c3c2fae53b076e2c9bd2483dc2769a16902b
inherit autotools pkgconfig
require recipes-support/gnupg/drop-unknown-suffix.inc
PACKAGECONFIG ??= "ncurses"
PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses"