Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "libpeas is a gobject-based plugins engine" |
| 2 | HOMEPAGE = "https://wiki.gnome.org/Projects/Libpeas" |
| 3 | LICENSE = "LGPL-2.1-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d" |
| 5 | |
| 6 | DEPENDS = "gtk+3" |
| 7 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 8 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 9 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 10 | inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 11 | |
| 12 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 13 | # FIXME: When upgrading to libpeas 2, g-i is no longer needed. |
| 14 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 15 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 16 | SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch" |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 17 | SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 18 | |
| 19 | PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject" |
| 20 | |
| 21 | PACKAGES =+ "${PN}-demo ${PN}-python3" |
| 22 | FILES:${PN}-demo = " \ |
| 23 | ${bindir}/peas-demo \ |
| 24 | ${libdir}/peas-demo \ |
| 25 | " |
| 26 | |
| 27 | RDEPENDS:${PN}-python3 = "python3-pygobject" |
| 28 | FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so" |