summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <crabbedhaloablution@icloud.com>2020-12-11 14:46:48 +0100
committerSam James <sam@gentoo.org>2021-01-07 04:13:27 +0000
commit7331f0b844ca0dd722408ab3ecdac14fdb87f383 (patch)
treef4ba377137062bc6b268250cff9d60d94ab99c9d /media-libs
parentdev-libs/libdnet: unrestrict tests (diff)
downloadgentoo-7331f0b844ca0dd722408ab3ecdac14fdb87f383.tar.gz
gentoo-7331f0b844ca0dd722408ab3ecdac14fdb87f383.tar.bz2
gentoo-7331f0b844ca0dd722408ab3ecdac14fdb87f383.zip
media-libs/libldac: version bump to 2.0.2.3
Migrate from cmake-utils.eclass to cmake.eclass Closes: https://bugs.gentoo.org/700872 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com> Closes: https://github.com/gentoo/gentoo/pull/18605 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libldac/Manifest1
-rw-r--r--media-libs/libldac/libldac-2.0.2.3.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/libldac/Manifest b/media-libs/libldac/Manifest
index a5364d21e604..738da5720016 100644
--- a/media-libs/libldac/Manifest
+++ b/media-libs/libldac/Manifest
@@ -1 +1,2 @@
+DIST ldacBT-2.0.2.3.tar.gz 75708 BLAKE2B 9f9ec1aa8a9603927067cd01058745db615a89652d16e870d9eb0a4db270a4076b7bb70ba091948249969087e5b26b86e22656314e3d26e43311fae982472347 SHA512 0e42723a1e7d748b28b13d73823fd5378a64100d5e27ae90cf3214494f3e199c526e219efd1329b2ec2b3195e1a6b3c98c8210ab7e4e6b98077199ef0f64c02e
DIST libldac-2.0.2-1.1.tar.gz 282323 BLAKE2B f8e4a05130b47e4c46070c3a9f0a085451bf480e3d90579342f66edeb77df665c89bf1c81d65d5366e704c5396335de8263ebd6ac1e1d1350714acb3775511e9 SHA512 f1aedb3edc0421b7a9d49a9d2e347d8ab19d54e37f0e77b3673f92413eaccdbbacb678e2e89a23016b22c768156148a82b7fc996bebc3a4cd4451ffb606dba3e
diff --git a/media-libs/libldac/libldac-2.0.2.3.ebuild b/media-libs/libldac/libldac-2.0.2.3.ebuild
new file mode 100644
index 000000000000..98474b9af7ac
--- /dev/null
+++ b/media-libs/libldac/libldac-2.0.2.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/ldacBT"
+
+src_prepare() {
+ cmake_src_prepare
+ mycmakeargs=(
+ -DLDAC_SOFT_FLOAT=OFF
+ -DINSTALL_LIBDIR=/usr/$(get_libdir)
+ )
+}