blob: 9920603428dbd492a7af5f58abb45dc119fea105 [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
8GNOMEBASEBUILDCLASS = "meson"
9GTKDOC_MESON_OPTION = "gtk_doc"
10
Andrew Geissler5082cc72023-09-11 08:41:39 -040011inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check
Andrew Geissler9aee5002022-03-30 16:27:02 +000012
13ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Patrick Williamse760df82023-05-26 11:10:49 -050014# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
15REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
Andrew Geissler9aee5002022-03-30 16:27:02 +000016
Patrick Williamse760df82023-05-26 11:10:49 -050017SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050018SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
Andrew Geissler9aee5002022-03-30 16:27:02 +000019
20PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject"
21
22PACKAGES =+ "${PN}-demo ${PN}-python3"
23FILES:${PN}-demo = " \
24 ${bindir}/peas-demo \
25 ${libdir}/peas-demo \
26"
27
28RDEPENDS:${PN}-python3 = "python3-pygobject"
29FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so"