You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
689 B
30 lines
689 B
# Copyright 2019-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit cmake-multilib
|
|
|
|
DESCRIPTION="LDAC codec library from AOSP"
|
|
HOMEPAGE="https://android.googlesource.com/platform/external/libldac/"
|
|
SRC_URI="https://github.com/EHfive/ldacBT/releases/download/v${PV}/ldacBT-${PV}.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
|
|
|
S="${WORKDIR}/ldacBT"
|
|
|
|
multilib_src_configure() {
|
|
local mycmakeargs=(
|
|
-DLDAC_SOFT_FLOAT=OFF
|
|
-DINSTALL_LIBDIR=/usr/$(get_libdir)
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake-multilib_src_install
|
|
}
|