mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
gcab: Add recipe
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
2964b564f5
commit
06a9209d8f
3
meta-oe/recipes-gnome/gcab/gcab/run-ptest
Normal file
3
meta-oe/recipes-gnome/gcab/gcab/run-ptest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
gnome-desktop-testing-runner libgcab
|
||||
24
meta-oe/recipes-gnome/gcab/gcab_1.4.bb
Normal file
24
meta-oe/recipes-gnome/gcab/gcab_1.4.bb
Normal file
|
|
@ -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"
|
||||
Loading…
Reference in New Issue
Block a user