blob: 016981f04d696420af938eb6ad642fc592104feb [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "libpeas is a gobject-based plugins engine"
2HOMEPAGE = "https://wiki.gnome.org/Projects/Libpeas"
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d"
5
6DEPENDS = "gtk+3"
7
Andrew Geissler9aee5002022-03-30 16:27:02 +00008GTKDOC_MESON_OPTION = "gtk_doc"
9
Andrew Geissler5082cc72023-09-11 08:41:39 -040010inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check
Andrew Geissler9aee5002022-03-30 16:27:02 +000011
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Patrick Williamse760df82023-05-26 11:10:49 -050013# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
14REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
Andrew Geissler9aee5002022-03-30 16:27:02 +000015
Patrick Williamse760df82023-05-26 11:10:49 -050016SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050017SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
Andrew Geissler9aee5002022-03-30 16:27:02 +000018
19PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject"
20
21PACKAGES =+ "${PN}-demo ${PN}-python3"
22FILES:${PN}-demo = " \
23 ${bindir}/peas-demo \
24 ${libdir}/peas-demo \
25"
26
27RDEPENDS:${PN}-python3 = "python3-pygobject"
28FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so"