commit:     7331f0b844ca0dd722408ab3ecdac14fdb87f383
Author:     Peter Alfredsen <crabbedhaloablution <AT> icloud <DOT> com>
AuthorDate: Fri Dec 11 13:46:48 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 04:13:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7331f0b8

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 <AT> icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/18605
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libldac/Manifest               |  1 +
 media-libs/libldac/libldac-2.0.2.3.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/media-libs/libldac/Manifest b/media-libs/libldac/Manifest
index a5364d21e60..738da572001 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 00000000000..98474b9af7a
--- /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)
+               )
+}

Reply via email to