mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 06:46:19 +00:00
b9b607bf09
update: - to https and xz URI - from 1.5 (2020-12-07) to 2.0 (2022-06-20) - incorporates upstream patch - sbc_primitives: Fix build on non-x86 patch log: - https://git.kernel.org/pub/scm/bluetooth/sbc.git/
24 lines
823 B
Makefile
24 lines
823 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="sbc"
|
|
PKG_VERSION="2.0"
|
|
PKG_SHA256="8f12368e1dbbf55e14536520473cfb338c84b392939cc9b64298360fd4a07992"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.bluez.org/"
|
|
PKG_URL="https://www.kernel.org/pub/linux/bluetooth/sbc-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="standalone SBC library"
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
|
|
--disable-shared \
|
|
--disable-tools \
|
|
--disable-tester"
|
|
|
|
post_makeinstall_target() {
|
|
# fix static library
|
|
sed -i 's/-lsbc/-lsbc -lbluetooth/' ${SYSROOT_PREFIX}/usr/lib/pkgconfig/sbc.pc
|
|
}
|