From patchwork Mon Dec 3 20:12:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 152732 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp7243671ljp; Mon, 3 Dec 2018 12:13:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/X3sH+HKdzJXjNrJAMqvtfcfJnae2IOigpLOOY57GtX3ga3Kz6T5e3DjO5M5H3Zdb+d+sMB X-Received: by 2002:a17:902:6948:: with SMTP id k8mr17062061plt.2.1543868033470; Mon, 03 Dec 2018 12:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543868033; cv=none; d=google.com; s=arc-20160816; b=g67j2vcDK0SpYulSCPDQHmQHPQjP2zdrGLsXmzR0Z7hrbyznF9WmMbm3Up7vZdOy8y CR6WKv6BTjCYnB1RTrw3LbpHQ81mBwkQ3QtEuQ1qK2S/bMT1A6OiDILDGXBeu635Y2zP pA8aGbrITNIldZZ34hJrk4HEwBCTuQ3UjiAt0beQCsUHz+kWzB5E2gLx+nkvj1+RDmCX pIlTlh04s1SuFRDLKLkj7wjpywmYQv4bZR7y53M08sL+cP32YCKthPiwf1kLJwrzWawZ gia37A6MV4VXVsNpbQGGy1n4eFpcYGAokBD92wJhShseRnLd15VMjGjR+4ByExdj2gbp PkCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=vqVjYNA6ev//fcBCLhzCFhrQ9bL422m2CpIzsoKPffE=; b=HyzT4tuCqeUSwHRMXV7FR9zeGfhLQmF+eEdK6B9gS5nvBTTAAGKohCMequTmQYpGEY DOVu8wSXtIR8uaeb6MtC8OTM+IGc7GotLTmLt8Wf5lqWVedniK2Xgsu7Cs0t25uyjMni N/Fr2r8xjvIEoKBbiMmrm0OyycPvADltOxuz1aKa26FjjK1qKHIWliuPpfWUWqWb5+An u7mpduVQxQOGpDlRgJaPW6R3zxvuMleVP7PiAKlGwRKyk2afJvmCv7L8YnUua+HRfVkn kdtcHGiU0UQPkGfi3cdPWdDiGExOg+M/aX0TMfev4DUOvdH+X3s5B10Xlcy4rwY00fXj 4b/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LKBky1bx; 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=QUARANTINE 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 26si13143040pgq.402.2018.12.03.12.13.53; Mon, 03 Dec 2018 12:13:53 -0800 (PST) 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.s=20161025 header.b=LKBky1bx; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DEA846C5AA; Mon, 3 Dec 2018 20:13:49 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by mail.openembedded.org (Postfix) with ESMTP id EFD936C56D for ; Mon, 3 Dec 2018 20:13:02 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id q1so6934137pfi.5 for ; Mon, 03 Dec 2018 12:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5FaL11dTu/wbWNSaKDURPSCMySs9VFcFK0xK1oUCCGk=; b=LKBky1bxMbjoKTEz9CerMJVNiJoL0EOfF2XzinKghmH38VUr6l2ZrvmPWS4qahBNUF /o28NkkRT8zu2CnbsKkaH8qwt6wjYpuFFlGnx9Prx5WTdk9ycUpmAqvMC5B4tjY8+9r+ mTpjajOHwLalPvOdoeCqFoUF1djOkFgT6bqGNXOWFEx3RGDfyq/FSv2XCmP9OcEYm8z/ gtDqvlxcBAehkK76sKTCujAlBDyPGFO/ZtGLx4r1s9AJLtuR5S0Ig2ReifiqanxHojVn 1pjwKDSoPbzrL1439MgjHVMlk+qG6mO5nX5RYje7iSS93tLw0Xjh+6po0Ird9F8efVeH J9yg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=5FaL11dTu/wbWNSaKDURPSCMySs9VFcFK0xK1oUCCGk=; b=LGBz4EGF0FnD/+lyxXvt4O79QSkVT18AiFOL8cXV3zfUojXnkQXhR2iUtLBJeI6Zzg NIaX1UDntqbGoKSBTAjs8AoVwILlFX+ao0LibK7/jxrP4zvopMyYC/vntCRS6XGxGZ4i LjmutT7QnJXeE7nmfeDunkMbBHzLoqW+LKqO/8Q0ByteHKSn1j1vQWRqZvXNROaUqQQt XQz2k1HJ0yWoNl6x+Oe47Gjb2ISHjSfDpXj8lgCk8gbC1cJ6aEUdEnrlHLowibUANXUi D2G793gmhCIu1nRdXNCarQOZTLp33/+17rPtGVefig5WacmjZTrSVJ45yCFK9eFqNRa1 zyQg== X-Gm-Message-State: AA+aEWYZyOCMOT20Km2+/zZYIW+zPsjoCBaylbxPVqZTHP59NsK3zUUI 7zfxmsD31xKCm9ADgi7z9mY/PRZZ0vI= X-Received: by 2002:a65:5088:: with SMTP id r8mr13990667pgp.15.1543867983439; Mon, 03 Dec 2018 12:13:03 -0800 (PST) Received: from localhost.localdomain ([2601:646:877f:9499::5f84]) by smtp.gmail.com with ESMTPSA id z191sm16769677pgd.74.2018.12.03.12.13.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 12:13:03 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 3 Dec 2018 12:12:50 -0800 Message-Id: <20181203201250.23144-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181203201250.23144-1-raj.khem@gmail.com> References: <20181203201250.23144-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 2/2] a2jmidid: Define own do_configure 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org waf script here does not support -o switch so define own which can be run in B Secondly, ensure to use python2 Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/jack/a2jmidid_8.bb | 5 +++++ 1 file changed, 5 insertions(+) -- 2.19.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb index 59b73f8e8b..7dcaaf6828 100644 --- a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb +++ b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb @@ -23,4 +23,9 @@ LDFLAGS_append_libc-musl = " -lexecinfo" export LINKFLAGS="${LDFLAGS}" +do_configure() { + sed -i 's|/usr/bin/.*python$|/usr/bin/env python2|' ${S}/a2j_control ${S}/waf ${S}/wscript + (cd ${B} && ${S}/waf configure --prefix=${prefix} ${WAF_EXTRA_CONF} ${EXTRA_OECONF}) +} + FILES_${PN} += "${datadir}/dbus-1/services"