mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
gtk+: enable gobject introspection
(From OE-Core rev: b24f65d17c31f5bf13035331158d613ece62dea8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0d1e4b2238
commit
d6f8028a2f
@@ -29,13 +29,12 @@ PACKAGECONFIG[x11] = "--with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS
|
||||
# without --with-gdktarget=directfb it will check for cairo-xlib which isn't available without X11 DISTRO_FEATURE
|
||||
PACKAGECONFIG[directfb] = "--with-gdktarget=directfb,,directfb"
|
||||
|
||||
inherit autotools gtk-doc pkgconfig update-alternatives gtk-immodules-cache
|
||||
inherit autotools gtk-doc pkgconfig update-alternatives gtk-immodules-cache gobject-introspection
|
||||
|
||||
PACKAGES += "libgail gtk-demo"
|
||||
|
||||
FILES_${PN} = "${bindir}/gtk-update-icon-cache-2.0 \
|
||||
FILES_${PN} += "${bindir}/gtk-update-icon-cache-2.0 \
|
||||
${bindir}/gtk-query-immodules-2.0 \
|
||||
${libdir}/lib*${SOLIBS} \
|
||||
${datadir}/themes ${sysconfdir} \
|
||||
${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
|
||||
|
||||
@@ -68,6 +67,10 @@ RRECOMMENDS_${PN}_libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
|
||||
ALTERNATIVE_${PN} = "gtk-update-icon-cache"
|
||||
ALTERNATIVE_TARGET[gtk-update-icon-cache] = "${bindir}/gtk-update-icon-cache-2.0"
|
||||
|
||||
do_compile_prepend() {
|
||||
export GIR_EXTRA_LIBS_PATH="${B}/gdk/.libs"
|
||||
}
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user