Skip to content

Commit

Permalink
gcab: Add recipe
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Kiernan <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
akiernan authored and kraj committed Jun 14, 2020
1 parent 2964b56 commit 06a9209
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions meta-oe/recipes-gnome/gcab/gcab/run-ptest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

gnome-desktop-testing-runner libgcab
24 changes: 24 additions & 0 deletions meta-oe/recipes-gnome/gcab/gcab_1.4.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
SUMMARY = "A GObject library to create cabinet files"
HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcab"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

DEPENDS = "glib-2.0"

SRC_URI = "\
${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \
file://run-ptest \
"
SRC_URI[sha256sum] = "67a5fa9be6c923fbc9197de6332f36f69a33dadc9016a2b207859246711c048f"

inherit gobject-introspection gtk-doc manpages meson ptest-gnome vala

PACKAGECONFIG ??= "\
${@bb.utils.contains('USE_NLS', 'yes', 'nls', '', d)} \
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
"
PACKAGECONFIG[manpages] = ""
PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false"
PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false"

BBCLASSEXTEND = "native"

0 comments on commit 06a9209

Please sign in to comment.