From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1375440-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DB59F15808B
	for <garchives@archives.gentoo.org>; Mon, 14 Mar 2022 19:02:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E5666E096F;
	Mon, 14 Mar 2022 19:02:09 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C91E4E096F
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2022 19:02:09 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 404FC33F698
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2022 19:01:36 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 314B32C3
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 Mar 2022 19:00:18 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1647284352.889c7b074fcde5dbca6eb8c68b4a57d24100fd26.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libaacs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/libaacs/libaacs-0.11.1-r1.ebuild
X-VCS-Directories: media-libs/libaacs/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 889c7b074fcde5dbca6eb8c68b4a57d24100fd26
X-VCS-Branch: master
Date: Mon, 14 Mar 2022 19:00:18 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e82ba191-4115-45c2-aa49-13531153bb81
X-Archives-Hash: 876a3f2395bcb7abbc9c2340e6dcdbdc

commit:     889c7b074fcde5dbca6eb8c68b4a57d24100fd26
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 18:59:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 18:59:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=889c7b07

media-libs/libaacs: add 0.11.1-r1 with out-of-source build

We have to include a workaround for an automake bug though.

Bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54390
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libaacs/libaacs-0.11.1-r1.ebuild | 40 +++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/media-libs/libaacs/libaacs-0.11.1-r1.ebuild b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
new file mode 100644
index 000000000000..3e7993af6438
--- /dev/null
+++ b/media-libs/libaacs/libaacs-0.11.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+DESCRIPTION="Open implementation of the Advanced Access Content System (AACS) specification"
+HOMEPAGE="https://www.videolan.org/developers/libaacs.html"
+SRC_URI="https://downloads.videolan.org/pub/videolan/libaacs/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
+	>=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/flex
+	virtual/yacc"
+
+DOCS=( ChangeLog KEYDB.cfg README.md )
+
+multilib_src_configure() {
+	local myeconfargs=(
+		--disable-optimizations
+		--enable-shared
+	)
+
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+
+	# Workaround automake bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54390
+	mkdir -p "${BUILD_DIR}"/src/file || die
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	find "${ED}" -type f -name "*.la" -delete || die
+}