From: Khem Raj Date: Fri, 1 Dec 2023 18:33:51 +0000 (-0800) Subject: vte: Separate out gtk4 pieces of vte into individual packages X-Git-Tag: yocto-5.2~4418 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2c4e8cb85c6a5ca37c7990f879c3b650df5770b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git vte: Separate out gtk4 pieces of vte into individual packages This avoids adding gtk4 dependencies when image may only desire the gtk3 pieces of vte. Signed-off-by: Khem Raj Cc: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/vte/vte_0.74.1.bb b/meta/recipes-support/vte/vte_0.74.1.bb index 8a7054a13cd..071f6684644 100644 --- a/meta/recipes-support/vte/vte_0.74.1.bb +++ b/meta/recipes-support/vte/vte_0.74.1.bb @@ -36,7 +36,16 @@ PACKAGECONFIG[gtk4] = "-Dgtk4=true,-Dgtk4=false,gtk4" PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd" -PACKAGES =+ "libvte ${PN}-prompt" +PACKAGES =+ "libvte-gtk4 ${PN}-gtk4 ${PN}-gtk4-dev libvte ${PN}-prompt" +FILES:libvte-gtk4 = "${libdir}/lib*gtk4.so.* ${libdir}/girepository-1.0/Vte-3.91.typelib" +FILES:${PN}-gtk4 ="${bindir}/vte-2.91-gtk4" +FILES:${PN}-gtk4-dev = "${libdir}/lib*gtk4.so \ + ${libdir}/pkgconfig/vte-2.91-gtk4.pc \ + ${datadir}/gir-1.0/Vte-3.91.gir \ + ${datadir}/vala/vapi/vte-2.91-gtk4.deps \ + ${datadir}/vala/vapi/vte-2.91-gtk4.vapi \ + ${includedir}/vte-2.91-gtk4 \ + " FILES:${PN} +="${systemd_user_unitdir}" FILES:libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*" FILES:${PN}-prompt = " \