summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-02-13 22:00:05 +0300
committerSam James <sam@gentoo.org>2022-03-08 13:32:13 +0000
commit83276529958e2b63dd7826463983f54ec090bb22 (patch)
tree49e5b309e56f220485515d78d8fca1e6b9e9f57f /media-libs/libldac
parentnet-libs/libnice: bump to 0.1.18 (diff)
downloadgentoo-83276529958e2b63dd7826463983f54ec090bb22.tar.gz
gentoo-83276529958e2b63dd7826463983f54ec090bb22.tar.bz2
gentoo-83276529958e2b63dd7826463983f54ec090bb22.zip
media-libs/libldac: Change to multilib build
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libldac')
-rw-r--r--media-libs/libldac/libldac-2.0.2.3-r1.ebuild (renamed from media-libs/libldac/libldac-2.0.2.3.ebuild)11
1 files changed, 8 insertions, 3 deletions
diff --git a/media-libs/libldac/libldac-2.0.2.3.ebuild b/media-libs/libldac/libldac-2.0.2.3-r1.ebuild
index 611a50404c67..17ec26c64b25 100644
--- a/media-libs/libldac/libldac-2.0.2.3.ebuild
+++ b/media-libs/libldac/libldac-2.0.2.3-r1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
DESCRIPTION="LDAC codec library from AOSP"
HOMEPAGE="https://android.googlesource.com/platform/external/libldac/"
@@ -15,7 +16,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-
S="${WORKDIR}/ldacBT"
-src_configure() {
+multilib_src_configure() {
local mycmakeargs=(
-DLDAC_SOFT_FLOAT=OFF
-DINSTALL_LIBDIR=/usr/$(get_libdir)
@@ -23,3 +24,7 @@ src_configure() {
cmake_src_configure
}
+
+src_install() {
+ cmake-multilib_src_install
+}