Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 1 | SUMMARY = "libpeas is a gobject-based plugins engine" |
| 2 | HOMEPAGE = "https://wiki.gnome.org/Projects/Libpeas" |
| 3 | LICENSE = "LGPLv2.1+" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d" |
| 5 | |
| 6 | DEPENDS = "gtk+3" |
| 7 | |
| 8 | GNOMEBASEBUILDCLASS = "meson" |
| 9 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 10 | |
| 11 | inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache features_check |
| 12 | |
| 13 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 14 | |
| 15 | SRC_URI += " \ |
| 16 | file://add_missing_locale_include.patch \ |
| 17 | file://0001-Do-not-build-tests-when-introspection-is-disabled-mi.patch \ |
| 18 | " |
| 19 | |
| 20 | SRC_URI[archive.md5sum] = "f7723bf8433b7984121157e1e9a629b5" |
| 21 | SRC_URI[archive.sha256sum] = "a976d77e20496479a8e955e6a38fb0e5c5de89cf64d9f44e75c2213ee14f7376" |
| 22 | |
| 23 | PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject" |
| 24 | |
| 25 | PACKAGES =+ "${PN}-demo ${PN}-python3" |
| 26 | FILES_${PN}-demo = " \ |
| 27 | ${bindir}/peas-demo \ |
| 28 | ${libdir}/peas-demo \ |
| 29 | " |
| 30 | |
| 31 | RDEPENDS_${PN}-python3 = "python3-pygobject" |
| 32 | FILES_${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so" |