From patchwork Sat Dec 21 00:06:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182331 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp1202767ilf; Fri, 20 Dec 2019 16:08:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzXvsPIwzhoJlDQd/fw0a1QXXL9ab+gF5gqwb1z8QW//Ubcrt8+Qn1EupctCNc7fYsbeG4z X-Received: by 2002:a62:6381:: with SMTP id x123mr19056487pfb.75.1576886917663; Fri, 20 Dec 2019 16:08:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576886917; cv=none; d=google.com; s=arc-20160816; b=e90Qbi1QUJEY2IeYTeiKRonIvJMQzIiD8EOciQo+aPw18sD1XqbtNhrNMQzLWvrYMM AN8eM/QVcIs6aKehlKgFjUa+axDXS9gGOU6qLIZ4tWzyd5FhfJ03JfimszxiNrnOZT0R LOmCb53YNsXa1GebdLGMQC4BDtQwc7c6hBVLl0UPUEIKbqbIxTu878EOURL2/TcTJU84 KmTCW6Wm0pVcAbuDl9qsTC7ARkZVEokPrjQ8PkIaba0gdwmwRj0tGfM+L40aANj2jNXs jFS+uoqmi+078cExBQspPrzM2ShVKreRwBzBQJiTbSiOLl9ichgh0sCafQ+wWk42W7ZE QzzQ== 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=9RLJX5wQQ9qXgh7NR70rqmtl587OvXycANYcqlkDKus=; b=p58S6NPqKSAqPIQucWTf7eGGVripPJvckSh8/G2/1GCjy/zA4VqkBO0/K9Dygbmb4Q 9y+wjNQXCbV6FdGjIGjO+IKLfHm6PeUrMrzC36h4aDdtMjcY3YmaF2Tz5Zwr5D5aKy2+ /N5fvdPm65U+kzRY0PoBviglL71DUkewae9cTUScIeU0As33dYfUKMXFPXm6hrDIQCRS T96Y2lNUq8B2hCAPCLCUcn/sJdRYFE51F6PiVmIyj99Tf0QB1O+6u1f/OteWxgQB75hR lRNO81VCxuOrDYEd7cSAAN6Q/y9nhJAb3uRccTWzAjuC16KfE+tedUJpbPm8xOp/6Azx wMPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=EfKUmk3q; 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 d6si10389589pgh.435.2019.12.20.16.08.37; Fri, 20 Dec 2019 16:08:37 -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=EfKUmk3q; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 40E7E7FD49; Sat, 21 Dec 2019 00:07:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mail.openembedded.org (Postfix) with ESMTP id E2A137FC4A for ; Sat, 21 Dec 2019 00:06:52 +0000 (UTC) Received: by mail-pf1-f174.google.com with SMTP id x185so6089942pfc.5 for ; Fri, 20 Dec 2019 16:06:54 -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=l8sd7JxQ95LPC1jE1te+y/rASYuSf8lty3kwgPHK2Lg=; b=EfKUmk3qJLY+j2hDJnhsbl38wU/YGyopL9GwVxwZMHJlluaiOeqlSgVXlk3XV7AsgY Tl+5HSa/mp4SO2cqTrvUB6ev7tah2qWGbWew7L8yWrOGgayzfPlW0tEz8z8Zb9Z/lsgD SLh8e52xb6oDu36w2XxacOa6+h75LR5fMgFFv0L4Cho6OIIDBIUcj8Ksf3d8LOKRJNqb XWtE9yszlngJsCqF5gMvx15IP3r9COxs0rlnsro7cm0KnoJaRKh9mBgui3VWgXAPjNsJ p8OspAC5oVfTgy2shUwKBtLJuJ5YbQMgOn9vo+oV/R6OoL6pgAqPE/rWoa0PXdNe94Iy D3ng== 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=l8sd7JxQ95LPC1jE1te+y/rASYuSf8lty3kwgPHK2Lg=; b=hTc5SPdZIvVCgSNpzgA87Qe/28B1OPOqrOSdilC6Rn5zAE6Kzs4XOmo2DcS9dYp49M 46ZTKgyt6yKkygtTsLBt1RL7aZoGhYhUEdkQiZW/WoMYhVoZ4Dnl4Y/6ksW73LRhLv79 ngP4xpGcsfcCthiCDHJ4j5eE+jYhuIetV3VuyTR/udQLm3hGIXPTgw9IhoWdiU374Lg0 WzPgzWtKoeQQlVbIzFd+ZB7vu/c8/S7Wib4VTctBR7HVRsBvja6UmbDw5iD7YXXYf3pi Iqy3MV/43CBe/63oHSAvkpVaMEqpekqnsU0timVkX0dv95C9mWSzSPNVecGPb3Ub4exH WM/A== X-Gm-Message-State: APjAAAV/7/wueh9wyuIwZKpZkKcO8bgQ8TaneukVvGBQcCq/5Z0TsRRE 0DaLd+HEk4BfdtUO2xVzOqabUjyRGfM= X-Received: by 2002:a63:9d0f:: with SMTP id i15mr9564805pgd.240.1576886813488; Fri, 20 Dec 2019 16:06:53 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::36e9]) by smtp.gmail.com with ESMTPSA id d4sm11701624pjz.12.2019.12.20.16.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 16:06:51 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 20 Dec 2019 16:06:21 -0800 Message-Id: <20191221000635.1573390-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191221000635.1573390-1-raj.khem@gmail.com> References: <20191221000635.1573390-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-multimedia][PATCH 09/23] dcadec: Define BASELIB as a knob 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 Use https protocol in fetcher Fixes ERROR: dcadec-0.2.0-r0 do_package: QA Issue: dcadec: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/libdcadec.so.0 /usr/lib/libdcadec.so.0.1.0 /usr/lib/libdcadec.so /usr/lib/pkgconfig /usr/lib/pkgconfig/dcadec.pc Signed-off-by: Khem Raj --- .../0001-define-BASELIB-make-variable.patch | 31 +++++++++++++++++++ .../recipes-multimedia/dca/dcadec_0.2.0.bb | 8 +++-- 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 meta-multimedia/recipes-multimedia/dca/dcadec/0001-define-BASELIB-make-variable.patch -- 2.24.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-multimedia/dca/dcadec/0001-define-BASELIB-make-variable.patch b/meta-multimedia/recipes-multimedia/dca/dcadec/0001-define-BASELIB-make-variable.patch new file mode 100644 index 0000000000..adce802bc8 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/dca/dcadec/0001-define-BASELIB-make-variable.patch @@ -0,0 +1,31 @@ +From 18cc69460d2a0c756880bd54fda36afb0173ea02 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 19 Dec 2019 19:47:36 -0800 +Subject: [PATCH] define BASELIB make variable + +This helps to override the default libdir from environment + +Upstream-Status: Submitted [https://github.com/foo86/dcadec/pull/61] +Signed-off-by: Khem Raj +--- + Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index a503698..8f323be 100644 +--- a/Makefile ++++ b/Makefile +@@ -7,8 +7,9 @@ API_PATCH = 0 + CFLAGS := -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD $(CFLAGS) + + PREFIX ?= /usr/local ++BASELIB ?= lib + BINDIR ?= $(PREFIX)/bin +-LIBDIR ?= $(PREFIX)/lib ++LIBDIR ?= $(PREFIX)/$(BASELIB) + INCLUDEDIR ?= $(PREFIX)/include + + SRC_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) +-- +2.24.1 + diff --git a/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb b/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb index 45b53c1191..1a51abc360 100644 --- a/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb +++ b/meta-multimedia/recipes-multimedia/dca/dcadec_0.2.0.bb @@ -4,14 +4,16 @@ LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c" SRCREV = "b93deed1a231dd6dd7e39b9fe7d2abe05aa00158" -SRC_URI = "git://github.com/foo86/dcadec.git;protocol=http" +SRC_URI = "git://github.com/foo86/dcadec.git;protocol=https \ + file://0001-define-BASELIB-make-variable.patch \ + " S = "${WORKDIR}/git" inherit lib_package -EXTRA_OEMAKE = "CONFIG_SHARED=1" +EXTRA_OEMAKE = "CONFIG_SHARED=1 PREFIX=${prefix} BASELIB=${baselib}" do_install() { - oe_runmake install DESTDIR="${D}" PREFIX="${prefix}" + oe_runmake install DESTDIR="${D}" }