diff options
-rw-r--r-- | meta-oe/recipes-gnome/gcab/gcab/run-ptest | 3 | ||||
-rw-r--r-- | meta-oe/recipes-gnome/gcab/gcab_1.4.bb | 24 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-gnome/gcab/gcab/run-ptest b/meta-oe/recipes-gnome/gcab/gcab/run-ptest new file mode 100644 index 0000000000..0cdb48ea33 --- /dev/null +++ b/meta-oe/recipes-gnome/gcab/gcab/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | gnome-desktop-testing-runner libgcab | ||
diff --git a/meta-oe/recipes-gnome/gcab/gcab_1.4.bb b/meta-oe/recipes-gnome/gcab/gcab_1.4.bb new file mode 100644 index 0000000000..68f52bf92d --- /dev/null +++ b/meta-oe/recipes-gnome/gcab/gcab_1.4.bb | |||
@@ -0,0 +1,24 @@ | |||
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 | |||
6 | DEPENDS = "glib-2.0" | ||
7 | |||
8 | SRC_URI = "\ | ||
9 | ${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \ | ||
10 | file://run-ptest \ | ||
11 | " | ||
12 | SRC_URI[sha256sum] = "67a5fa9be6c923fbc9197de6332f36f69a33dadc9016a2b207859246711c048f" | ||
13 | |||
14 | inherit gobject-introspection gtk-doc manpages meson ptest-gnome vala | ||
15 | |||
16 | PACKAGECONFIG ??= "\ | ||
17 | ${@bb.utils.contains('USE_NLS', 'yes', 'nls', '', d)} \ | ||
18 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | ||
19 | " | ||
20 | PACKAGECONFIG[manpages] = "" | ||
21 | PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false" | ||
22 | PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false" | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||