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 55702138350 for ; Fri, 6 Mar 2020 07:16:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 912AEE08D0; Fri, 6 Mar 2020 07:16:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 5BC0DE08D0 for ; Fri, 6 Mar 2020 07:16:01 +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 30AEE34E89A for ; Fri, 6 Mar 2020 07:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8CD4176 for ; Fri, 6 Mar 2020 07:15:58 +0000 (UTC) From: "Luca Barbato" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Luca Barbato" Message-ID: <1583478945.41cda0f5675a38d28a616b0c32c75290820def1a.lu_zero@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/dav1d/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/dav1d/Manifest media-libs/dav1d/dav1d-0.6.0.ebuild X-VCS-Directories: media-libs/dav1d/ X-VCS-Committer: lu_zero X-VCS-Committer-Name: Luca Barbato X-VCS-Revision: 41cda0f5675a38d28a616b0c32c75290820def1a X-VCS-Branch: master Date: Fri, 6 Mar 2020 07:15:58 +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: 5c3b937b-49a0-49bd-81fc-d6d586f2a40c X-Archives-Hash: a29a62ffc2de94324cc7e43c37ff618f commit: 41cda0f5675a38d28a616b0c32c75290820def1a Author: Luca Barbato gentoo org> AuthorDate: Fri Mar 6 07:15:26 2020 +0000 Commit: Luca Barbato gentoo org> CommitDate: Fri Mar 6 07:15:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41cda0f5 media-libs/dav1d: New version Package-Manager: Portage-2.3.89, Repoman-2.3.18 Signed-off-by: Luca Barbato gentoo.org> media-libs/dav1d/Manifest | 1 + media-libs/dav1d/dav1d-0.6.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/media-libs/dav1d/Manifest b/media-libs/dav1d/Manifest index 2dfef02b1f5..7c27b0a9d3c 100644 --- a/media-libs/dav1d/Manifest +++ b/media-libs/dav1d/Manifest @@ -6,3 +6,4 @@ DIST dav1d-0.3.1.tar.bz2 438676 BLAKE2B f51c997fb95abc5b2721d67feb2023daf6bdab8d DIST dav1d-0.4.0.tar.bz2 493854 BLAKE2B 8ae022054ab9827306f6e8501e0bfbc03a04e280a3e155c12ae2dfef474eab976097ce3ed990bd5cdbc3ac79018138a156f0701973ac40357224feb75149332a SHA512 7d2ad9959649321e86f9d0dcf44b274251c103fce9f02964d898b6d9da69e38e93bbed86a7ea217c93e0ee89e1ad43bc31dc217535c4b1cc37761191a6585fc1 DIST dav1d-0.5.1.tar.bz2 548584 BLAKE2B 407188a57c469124db4863bc78dbca8b31879ed8836503ba584d4781e5f956c9f0a4661a4f47729bde74f1dd393c08db98a4cb49103f99c0f76720bc148b53a9 SHA512 2d1e7888fa9c138903b4209647e907803d2444fc2afb219b9a45dcc4c75098128b299950750bd68970004ea413ad88933d4d651a3e4e0e1557506598a15cee3b DIST dav1d-0.5.2.tar.bz2 554192 BLAKE2B 29305d0bb20a3de0048d102789fe1fdb1a030596213a1e2f025918ac6bb37c92c8c5f8078320487702ed66b16d4d63234823b5475d84bdea853b92e76be4c70e SHA512 37da9138a1dba68b9e723ba48b23eab567f839308132fc5a28727c131280f2eca3e160b074982f5265c914dcad0e4029af9ce23909b32bb9ec60f235c623e384 +DIST dav1d-0.6.0.tar.bz2 594994 BLAKE2B 37b2ecefcaacc45fe0439b996ff906191e262b660065cf62b5570c2ef8b4f1eabb1c6f8e1a5b5515c57eaeef1b4a05c63b9661f0dda7cb658dd288e15c4422b7 SHA512 ea4897d890aadd17370909d5bed3a8e93e40dbdc131808adf0e0ecfdc36d46fd1c31efaa12a58e11ac632bc99beef3d1760c7ca4ba757aaaa7946057530ac2f5 diff --git a/media-libs/dav1d/dav1d-0.6.0.ebuild b/media-libs/dav1d/dav1d-0.6.0.ebuild new file mode 100644 index 00000000000..c174b250529 --- /dev/null +++ b/media-libs/dav1d/dav1d-0.6.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +SCM="" +if [[ "${PV}" == "9999" ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://code.videolan.org/videolan/dav1d" +else + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + SRC_URI="https://code.videolan.org/videolan/dav1d/-/archive/${PV}/${P}.tar.bz2" +fi + +inherit ${SCM} meson ninja-utils multilib-minimal + +DESCRIPTION="dav1d is an AV1 Decoder :)" +HOMEPAGE="https://code.videolan.org/videolan/dav1d" + +LICENSE="BSD-2" +SLOT="0/3" +IUSE="+8bit +10bit +asm" + +ASM_DEPEND=">=dev-lang/nasm-2.13.02" +BDEPEND="asm? ( + abi_x86_32? ( ${ASM_DEPEND} ) + abi_x86_64? ( ${ASM_DEPEND} ) + )" + +DOCS=( README.md doc/PATENTS THANKS.md ) + +multilib_src_configure() { + local -a bits=() + use 8bit && bits+=( 8 ) + use 10bit && bits+=( 16 ) + + local enable_asm + if [[ ${MULTILIB_ABI_FLAG} == abi_x86_x32 ]]; then + enable_asm=false + else + enable_asm=$(usex asm true false) + fi + + local emesonargs=( + -D bitdepths=$(IFS=,; echo "${bits[*]}") + -D enable_asm=${enable_asm} + ) + meson_src_configure +} + +multilib_src_compile() { + eninja +} + +multilib_src_install() { + DESTDIR="${D}" eninja install +}