Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libldac/
Date: Thu, 07 Jan 2021 04:14:40
Message-Id: 1609992807.7331f0b844ca0dd722408ab3ecdac14fdb87f383.sam@gentoo
1 commit: 7331f0b844ca0dd722408ab3ecdac14fdb87f383
2 Author: Peter Alfredsen <crabbedhaloablution <AT> icloud <DOT> com>
3 AuthorDate: Fri Dec 11 13:46:48 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 04:13:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7331f0b8
7
8 media-libs/libldac: version bump to 2.0.2.3
9
10 Migrate from cmake-utils.eclass to cmake.eclass
11
12 Closes: https://bugs.gentoo.org/700872
13 Package-Manager: Portage-3.0.12, Repoman-3.0.2
14 Signed-off-by: Peter Alfredsen <crabbedhaloablution <AT> icloud.com>
15 Closes: https://github.com/gentoo/gentoo/pull/18605
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 media-libs/libldac/Manifest | 1 +
19 media-libs/libldac/libldac-2.0.2.3.ebuild | 29 +++++++++++++++++++++++++++++
20 2 files changed, 30 insertions(+)
21
22 diff --git a/media-libs/libldac/Manifest b/media-libs/libldac/Manifest
23 index a5364d21e60..738da572001 100644
24 --- a/media-libs/libldac/Manifest
25 +++ b/media-libs/libldac/Manifest
26 @@ -1 +1,2 @@
27 +DIST ldacBT-2.0.2.3.tar.gz 75708 BLAKE2B 9f9ec1aa8a9603927067cd01058745db615a89652d16e870d9eb0a4db270a4076b7bb70ba091948249969087e5b26b86e22656314e3d26e43311fae982472347 SHA512 0e42723a1e7d748b28b13d73823fd5378a64100d5e27ae90cf3214494f3e199c526e219efd1329b2ec2b3195e1a6b3c98c8210ab7e4e6b98077199ef0f64c02e
28 DIST libldac-2.0.2-1.1.tar.gz 282323 BLAKE2B f8e4a05130b47e4c46070c3a9f0a085451bf480e3d90579342f66edeb77df665c89bf1c81d65d5366e704c5396335de8263ebd6ac1e1d1350714acb3775511e9 SHA512 f1aedb3edc0421b7a9d49a9d2e347d8ab19d54e37f0e77b3673f92413eaccdbbacb678e2e89a23016b22c768156148a82b7fc996bebc3a4cd4451ffb606dba3e
29
30 diff --git a/media-libs/libldac/libldac-2.0.2.3.ebuild b/media-libs/libldac/libldac-2.0.2.3.ebuild
31 new file mode 100644
32 index 00000000000..98474b9af7a
33 --- /dev/null
34 +++ b/media-libs/libldac/libldac-2.0.2.3.ebuild
35 @@ -0,0 +1,29 @@
36 +# Copyright 2019-2020 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +inherit cmake
42 +
43 +DESCRIPTION="LDAC codec library from AOSP"
44 +HOMEPAGE="https://android.googlesource.com/platform/external/libldac/"
45 +SRC_URI="https://github.com/EHfive/ldacBT/releases/download/v${PV}/ldacBT-${PV}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
50 +IUSE=""
51 +
52 +DEPEND=""
53 +RDEPEND="${DEPEND}"
54 +BDEPEND=""
55 +
56 +S="${WORKDIR}/ldacBT"
57 +
58 +src_prepare() {
59 + cmake_src_prepare
60 + mycmakeargs=(
61 + -DLDAC_SOFT_FLOAT=OFF
62 + -DINSTALL_LIBDIR=/usr/$(get_libdir)
63 + )
64 +}