From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0A09138359 for ; Sat, 22 Aug 2020 16:06:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0DE1E0857; Sat, 22 Aug 2020 16:06:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A71BDE084E for ; Sat, 22 Aug 2020 16:06:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C255340DD4 for ; Sat, 22 Aug 2020 16:06:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89BF432C for ; Sat, 22 Aug 2020 16:06:15 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1598112349.0fff7ce673b1954555dade1402b12aca481cf074.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libdca/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libdca/Manifest media-libs/libdca/libdca-0.0.7.ebuild X-VCS-Directories: media-libs/libdca/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0fff7ce673b1954555dade1402b12aca481cf074 X-VCS-Branch: master Date: Sat, 22 Aug 2020 16:06:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9e9d09d6-1557-4772-a83b-1cb0810adb4c X-Archives-Hash: d79ddfd4604f329429207ea7f911131a commit: 0fff7ce673b1954555dade1402b12aca481cf074 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Aug 21 20:48:48 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Aug 22 16:05:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fff7ce6 media-libs/libdca: 0.0.7 version bump, EAPI-7 bump Closes: https://bugs.gentoo.org/678716 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/libdca/Manifest | 1 + media-libs/libdca/libdca-0.0.7.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/media-libs/libdca/Manifest b/media-libs/libdca/Manifest index 71a08cd6401..529c4567cff 100644 --- a/media-libs/libdca/Manifest +++ b/media-libs/libdca/Manifest @@ -1,2 +1,3 @@ DIST libdca-0.0.5-constant.patch.bz2 3424 BLAKE2B 048d7afd856090b5f9d0db1d5894b78d037fa1c03086271342527a1bf04f41ed379b38fe6d72eb9bbf74a864c67710b5f9abe53177cdb2f4f53a8e7502d77c44 SHA512 37bd56b8c240f16a6ee86b04d44571345278f8b9dd395cbc307e9fb7e6c001487411d1b4775af19dc97f18fcaed63be97fafeb4fe504f0a76b87022ec792d23e DIST libdca-0.0.5.tar.bz2 393291 BLAKE2B 093e941e8cd25ca52ae43ab16607f8ff3c5ebb95ffc4b29c3cb771b6bf9ba45da4cc8ebd83cd91ccd66b0dd981c32a6c77cb3e90f46093b64b9a483dd854ffb6 SHA512 d9f0ed34efeb3f27af8424fcb3e6df56744c6735854a65b5709c02b42b4513b9c4618dcc19eb44293afa051bd95616651bda5fc3b49dfabe975d0babfb1bc287 +DIST libdca-0.0.7.tar.bz2 158232 BLAKE2B 943ef3845f6b73d3d7a2cc47fd3c59517544c156f46e1be42b7940e11a164d8c533ba0e1436ea7bee95467bb7fdce95bb390e2816ebe7d8e208821eb325cb9de SHA512 dae15d77d066687c882833d5bed8d65a585c1fc0277b7276563c89ddd5a83b35389ec94cca445f38af28a9b01430b72647e9afd1b08f030959e711de1a08924a diff --git a/media-libs/libdca/libdca-0.0.7.ebuild b/media-libs/libdca/libdca-0.0.7.ebuild new file mode 100644 index 00000000000..0e794c3f210 --- /dev/null +++ b/media-libs/libdca/libdca-0.0.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Library for decoding DTS Coherent Acoustics streams used in DVD" +HOMEPAGE="https://www.videolan.org/developers/libdca.html" +SRC_URI="https://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="debug oss" + +DOCS=( AUTHORS ChangeLog NEWS README TODO doc/${PN}.txt ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.0.5-cflags.patch + "${FILESDIR}"/${PN}-0.0.5-tests-optional.patch +) + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + append-lfs-flags #328875 + + local myeconfargs=( + --disable-static + $(use_enable debug) + $(use_enable oss) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + + # Those are thrown away afterwards, don't build them in the first place + if [[ "${ABI}" != "${DEFAULT_ABI}" ]] ; then + sed -e 's/ libao src//' -i Makefile || die + fi +} + +multilib_src_compile() { + emake OPT_CFLAGS="" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + find "${D}" -name '*.la' -type f -delete || die + rm "${D}"/usr/$(get_libdir)/libdts.a || die +}