added my Recipes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 18cc69460d2a0c756880bd54fda36afb0173ea02 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
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 <raj.khem@gmail.com>
|
||||
---
|
||||
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
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "DTS Coherent Acoustics decoder with support for HD extensions"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRCREV = "b93deed1a231dd6dd7e39b9fe7d2abe05aa00158"
|
||||
SRC_URI = "git://github.com/foo86/dcadec.git;protocol=https;branch=master \
|
||||
file://0001-define-BASELIB-make-variable.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit lib_package
|
||||
|
||||
EXTRA_OEMAKE = "CONFIG_SHARED=1 PREFIX=${prefix} BASELIB=${baselib}"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR="${D}"
|
||||
}
|
||||
Reference in New Issue
Block a user