Skip to content

Commit

Permalink
media-libs/libldac: version bump to 2.0.2.3
Browse files Browse the repository at this point in the history
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 <[email protected]>
Closes: gentoo#18605
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
crabbedhaloablution authored and thesamesam committed Jan 7, 2021
1 parent e8306ed commit 7331f0b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-libs/libldac/Manifest
Original file line number Diff line number Diff line change
@@ -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
29 changes: 29 additions & 0 deletions media-libs/libldac/libldac-2.0.2.3.ebuild
Original file line number Diff line number Diff line change
@@ -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)
)
}

0 comments on commit 7331f0b

Please sign in to comment.