mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +00:00
gd: Support PACKAGECONFIG
Some recipes (like fswebcam) need gd with support of fontconfig to really work. Otherwise font selection is not that easy. Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -23,14 +23,23 @@ SRCREV = "b5319a41286107b53daa0e08e402aa1819764bdc"
|
||||
|
||||
inherit autotools binconfig gettext pkgconfig
|
||||
|
||||
EXTRA_OECONF += " --disable-rpath \
|
||||
--with-jpeg=${STAGING_LIBDIR}/.. \
|
||||
--with-freetype=yes \
|
||||
--without-fontconfig \
|
||||
--without-webp \
|
||||
--without-xpm \
|
||||
--without-x \
|
||||
"
|
||||
PACKAGECONFIG ?= "jpeg freetype"
|
||||
|
||||
PACKAGECONFIG[avif] = "--with-avif,--without-avif"
|
||||
PACKAGECONFIG[fontconfig] = "--with-fontconfig,--without-fontconfig"
|
||||
PACKAGECONFIG[freetype] = "--with-freetype,--without-freetype"
|
||||
PACKAGECONFIG[heif] = "--with-heif,--without-heif"
|
||||
PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg"
|
||||
PACKAGECONFIG[liq] = "--with-liq,--without-liq"
|
||||
PACKAGECONFIG[png] = "--with-png,--without-png"
|
||||
PACKAGECONFIG[raqm] = "--with-raqm,--without-raqm,libraqm"
|
||||
PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff"
|
||||
PACKAGECONFIG[webp] = "--with-webp,--without-webp"
|
||||
PACKAGECONFIG[x] = "--with-x,--without-x"
|
||||
PACKAGECONFIG[xpm] = "--with-xpm,--without-xpm"
|
||||
PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib"
|
||||
|
||||
EXTRA_OECONF += "--disable-rpath"
|
||||
|
||||
EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user