From patchwork Sat Jul 1 21:33:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106838 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3914173qge; Sat, 1 Jul 2017 14:33:46 -0700 (PDT) X-Received: by 10.84.217.139 with SMTP id p11mr2441003pli.214.1498944826160; Sat, 01 Jul 2017 14:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498944826; cv=none; d=google.com; s=arc-20160816; b=BNQZorh4OayN5lJjUs/2525kR+VKJHeq7jnIx4RlVj6/HPBn/0qNPBIyNLEOzgtQlS IorylFrKsULFQNQ7MQ2lUU8yd9es4n7FZekuNuFdno5Uz8Ri6EYAJ4DgK11OGjFwByTu Yu6qp/cf5Z6Ornu1SKXnSS+bcPtDehv/eCOZu6cPrhPL2wmO1UUTXJaDScEhFdHWRk8S WRo0KIraApmVGImN6KS1TiWMENKRZywd/gupaYkCz+8Oh/XGi8oCMiRfaFLIZdLPW1zZ LzNcotZ7DtZQIDYsbvx222s86CvfgvQDirboXdB5u6OVyZqjU/IpRY//b/wKwLNAgHTZ wV7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=0QS/a/3CAskJVoOHAyGhtiHY+Ed5vxuWfs/AkCQtC0Y=; b=DBPcT7l/mJbv1OZWAy8+ruZQJfdPl/FDHMaLMQhjBwU/8dIv0TxUirewLirOJf+fjs GghG7pNy+qt3enIMcep26/ht4TFc0C4qtjyoSI2w6huOynKHqiQoJnRFjgvuKnCyvg5A te916qup82p9tvOGqfqoXUALHbQ7Hxepuznw71sFWkhJcfqvETlYVTbqZhlYgYZy7WU4 xhRYWwaYTzgAR9iqjEsudqVwL1FFne4iUARhMi+bPc2OO1Nizh3JKkA5gM+EhlqvcHpn erL1hJorovtqzL+p3DBYAVLyZidGyBXsoReB5w3y4IIHKhs5BE73DJHManNOJ/RoADke lhGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=foyCvw4r; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 1si8876604pgo.293.2017.07.01.14.33.45; Sat, 01 Jul 2017 14:33:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=foyCvw4r; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B75AF78283; Sat, 1 Jul 2017 21:33:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 4C7F877D4C for ; Sat, 1 Jul 2017 21:33:28 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id c24so6625951pfe.1 for ; Sat, 01 Jul 2017 14:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=vxjebdxDvvHyHXiEktu0hVD7igwC5heJ2XoIQ2iPonM=; b=foyCvw4rzEICwgTaX0HDAm+F4+MUMSHyEj7yl3bwv07PTdXNfFc68cQuPPSzFR5u6b Glq9JoZDe1TAfXpBsBoP+MCzLqaC3uogiWNJNK68eWS9ZIARzK67hsa3domERFteGaem 57F4sJCDM5hX+ltSzQ9zflbrc/8JBvgyDJcwKYIwmWN0EgluWyXnXCQazSNQL1gdZFHc ZXz7OMH2cgLLu+Z8cXb/D+XCZGJ4l8RLMloN6eI2z7MMQ5a6X4S4X97H3hgVKruY0796 R5YOwmNRMs1UMNUDlY+Jm07YvYJe1+9Vz8isW0xwsvLinJ6JfpUJa06BrasnPSA+GpnZ pFkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vxjebdxDvvHyHXiEktu0hVD7igwC5heJ2XoIQ2iPonM=; b=Qa7Fhw8Z6SKQ3n0j2k02fwbKs7j4pDFX40DLiJmuUITLydmuhhJN3Rqp3chUw3+GXv Wfm0HHbul90zvfd/MzIW2aLD4IMjHZfGnagCsR30d0wQyMLHkH5gHyTEyeO59ERDch8B aKlNIWv+WNbMfTUcJUlpN3lTXwepoLWcns7V4SGGkWuwef9OocWT3p2k5beEO+s9skZ3 E+ulpSzNbuGZjoG/IeNZUxJoGeD6ziZqDBonkvqbJ/OuTLzl/YFF8L9Qh7oST4K4N6Qb f6NGHdrcqAOpt/jMdMu7eEAL6PdPXHcWLyCOBeCpvBR/PSk3gEyqqKuAkLlG2JbkRenD AGyA== X-Gm-Message-State: AIVw110B46yITFtwuowLbaTMMpdSnN9VEO443xG9rv8l7bQxS+lCKQBP YHwAgVhm5BV/mKS5 X-Received: by 10.99.8.66 with SMTP id 63mr10859pgi.15.1498944809780; Sat, 01 Jul 2017 14:33:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id k129sm26060081pfc.87.2017.07.01.14.33.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jul 2017 14:33:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 1 Jul 2017 14:33:09 -0700 Message-Id: <20170701213310.18913-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-multimedia][PATCH 1/2] crossguid: Add recipe X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Needed by kodi Signed-off-by: Khem Raj --- .../recipes-support/crossguid/crossguid.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-multimedia/recipes-support/crossguid/crossguid.bb -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-support/crossguid/crossguid.bb b/meta-multimedia/recipes-support/crossguid/crossguid.bb new file mode 100644 index 000000000..228b8b654 --- /dev/null +++ b/meta-multimedia/recipes-support/crossguid/crossguid.bb @@ -0,0 +1,25 @@ +# Copyright (C) 2017 Khem Raj +# 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" + +PV = "0.0+git${SRCPV}" + +SRCREV = "b56957ac453575e91ca1b63a80c0077c2b0d011a" +SRC_URI = "git://github.com/graeme-hill/crossguid;protocol=https" + +S = "${WORKDIR}/git" + +do_compile() { + ${CXX} -c guid.cpp -o guid.o ${CXXFLAGS} -std=c++11 -DGUID_LIBUUID + ${AR} rvs libcrossguid.a guid.o +} + +do_install() { + install -D -m 0644 ${B}/libcrossguid.a ${D}${libdir}/libcrossguid.a + install -D -m 0644 ${S}/guid.h ${D}${includedir}/guid.h +}