summaryrefslogtreecommitdiff
path: root/poky/meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb
blob: 4285d11b72407cc65435994b6936920a1d91dcfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUMMARY = "Provides API for encoding/decoding of data to/from D-Bus wire format"
DESCRIPTION = "This crate provides API for encoding/decoding of data to/from D-Bus wire format.\
This binary wire format is simple and very efficient and hence useful outside of D-Bus context as well.\
A modified form of this format, GVariant is very commonly used for efficient storage of arbitrary \
data and is also supported by this crate."
HOMEPAGE = "https://gitlab.freedesktop.org/dbus/zbus/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b377b220f43d747efdec40d69fcaa69d"

SRC_URI = " \
    git://gitlab.freedesktop.org/dbus/zbus;protocol=https;branch=main;subpath=zvariant \
    file://0001-Tweak-zvariant-crate-config.patch;striplevel=2 \
"

SRCREV = "07506776fab5f58e029760bb4b288f670c7eecd6"
S = "${WORKDIR}/zvariant"

python do_clean_lic_file_symlink() {
    bb.utils.remove("LICENCE")
}

addtask clean_lic_file_symlink after do_unpack before do_patch

inherit cargo cargo-update-recipe-crates

# Remove this when the recipe is reproducible
EXCLUDE_FROM_WORLD = "1"

require ${BPN}-crates.inc
require ${BPN}-git-crates.inc