aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb
blob: 5e680c4640c2d74e557fcbfd4f39bea9d2be15d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2017 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "Lightweight cross platform C++ GUID/UUID library"
HOMEPAGE = "https://github.com/graeme-hill/crossguid"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1373274bc8d8001edc54933919f36f68"
DEPENDS += "util-linux"

SRCREV = "ca1bf4b810e2d188d04cb6286f957008ee1b7681"
SRC_URI = "git://github.com/graeme-hill/crossguid;protocol=https;branch=master \
           file://0001-include-missing-cstdint.patch"

S = "${WORKDIR}/git"

inherit cmake

do_install:append() {
    sed -i -e 's|${STAGING_DIR_HOST}||g' ${D}${datadir}/crossguid/cmake/crossguid-config.cmake
}