mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-19 12:07:18 +00:00
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.1"
|
|
PKG_SHA256="426633cabd7c798236443516dfa8335b47e004b0ef37ff107e0c7ead3299fcc2"
|
|
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
|
|
}
|