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 | |
| 8 | GNOMEBASEBUILDCLASS = "meson" |
| 9 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 10 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame^] | 11 | inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 12 | |
| 13 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 14 | # FIXME: When upgrading to libpeas 2, g-i is no longer needed. |
| 15 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 16 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 17 | 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] | 18 | SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 19 | |
| 20 | PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject" |
| 21 | |
| 22 | PACKAGES =+ "${PN}-demo ${PN}-python3" |
| 23 | FILES:${PN}-demo = " \ |
| 24 | ${bindir}/peas-demo \ |
| 25 | ${libdir}/peas-demo \ |
| 26 | " |
| 27 | |
| 28 | RDEPENDS:${PN}-python3 = "python3-pygobject" |
| 29 | FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so" |