2022-11-08 21:17:24 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2022-11-12 22:56:38 +00:00
|
|
|
# Copyright (C) 2022-present Marek Moeckel (wansti@discarded-ideas.org)
|
2022-11-08 21:17:24 +00:00
|
|
|
|
|
|
|
PKG_NAME="libopenaptx"
|
|
|
|
PKG_VERSION="0.2.1"
|
|
|
|
PKG_SHA256="f13eac1ebfe31a563943cd47819eece1109960e10a1e85c111975bcfd37d5361"
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://github.com/pali/libopenaptx"
|
|
|
|
PKG_URL="https://github.com/pali/libopenaptx/releases/download/${PKG_VERSION}/libopenaptx-${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="AptX bluetooth audio codec"
|
|
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
|
|
|
cp -P -r ${INSTALL}/usr/local/lib/* ${SYSROOT_PREFIX}/usr/lib/
|
|
|
|
cp -P -r ${INSTALL}/usr/local/include/* ${SYSROOT_PREFIX}/usr/include/
|
|
|
|
rm -rf ${INSTALL}/usr/local/lib/pkgconfig
|
|
|
|
}
|