gcab_1.4.bb 818 B

123456789101112131415161718192021222324
  1. SUMMARY = "A GObject library to create cabinet files"
  2. HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcab"
  3. LICENSE = "LGPLv2.1"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
  5. DEPENDS = "glib-2.0"
  6. SRC_URI = "\
  7. ${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \
  8. file://run-ptest \
  9. "
  10. SRC_URI[sha256sum] = "67a5fa9be6c923fbc9197de6332f36f69a33dadc9016a2b207859246711c048f"
  11. inherit gobject-introspection gtk-doc manpages meson ptest-gnome vala
  12. PACKAGECONFIG ??= "\
  13. ${@bb.utils.contains('USE_NLS', 'yes', 'nls', '', d)} \
  14. ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
  15. "
  16. PACKAGECONFIG[manpages] = ""
  17. PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false"
  18. PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false"
  19. BBCLASSEXTEND = "native"