From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1320474-garchives=archives.gentoo.org@lists.gentoo.org>
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 E310C158092
	for <garchives@archives.gentoo.org>; Sun, 12 Sep 2021 22:57:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 01896E0837;
	Sun, 12 Sep 2021 22:57:46 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 57438E0837
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Sep 2021 22:57:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 2DCA3342DDE
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Sep 2021 22:57:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B54CE4E
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Sep 2021 22:57:42 +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: <1631486763.b5139bb4dea4fe2527965d51033d79ef7bef00fa.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/rav1e/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-video/rav1e/rav1e-0.4.1-r1.ebuild media-video/rav1e/rav1e-0.4.1.ebuild media-video/rav1e/rav1e-9999.ebuild
X-VCS-Directories: media-video/rav1e/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: b5139bb4dea4fe2527965d51033d79ef7bef00fa
X-VCS-Branch: master
Date: Sun, 12 Sep 2021 22:57:42 +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: 0f4e7146-391c-4757-8456-5233fa686279
X-Archives-Hash: 1540c9fc3ee1b69e9b16a7c8424afba2

commit:     b5139bb4dea4fe2527965d51033d79ef7bef00fa
Author:     Alex Xu (Hello71) <alex_y_xu <AT> yahoo <DOT> ca>
AuthorDate: Tue Aug 24 11:21:47 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 12 22:46:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5139bb4

media-video/rav1e: add USE=static-libs

Closes: https://bugs.gentoo.org/730526
Signed-off-by: Alex Xu (Hello71) <alex_y_xu <AT> yahoo.ca>
Closes: https://github.com/gentoo/gentoo/pull/22089
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/rav1e/{rav1e-0.4.1.ebuild => rav1e-0.4.1-r1.ebuild} | 2 ++
 media-video/rav1e/rav1e-9999.ebuild                             | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/media-video/rav1e/rav1e-0.4.1.ebuild b/media-video/rav1e/rav1e-0.4.1-r1.ebuild
similarity index 99%
rename from media-video/rav1e/rav1e-0.4.1.ebuild
rename to media-video/rav1e/rav1e-0.4.1-r1.ebuild
index 28899deacae..eb92504be85 100644
--- a/media-video/rav1e/rav1e-0.4.1.ebuild
+++ b/media-video/rav1e/rav1e-0.4.1-r1.ebuild
@@ -309,6 +309,7 @@ src_compile() {
 	if use capi; then
 		cargo cbuild ${args} --target-dir="capi" \
 			--prefix="/usr" --libdir="/usr/$(get_libdir)" \
+			--library-type=cdylib \
 			|| die "cargo cbuild failed"
 	fi
 }
@@ -320,6 +321,7 @@ src_install() {
 	if use capi; then
 		cargo cinstall $args --target-dir="capi" \
 			--prefix="/usr" --libdir="/usr/$(get_libdir)" --destdir="${ED}" \
+			--library-type=cdylib \
 			|| die "cargo cinstall failed"
 	fi
 

diff --git a/media-video/rav1e/rav1e-9999.ebuild b/media-video/rav1e/rav1e-9999.ebuild
index 775e51232df..77ee1c7cf11 100644
--- a/media-video/rav1e/rav1e-9999.ebuild
+++ b/media-video/rav1e/rav1e-9999.ebuild
@@ -52,6 +52,7 @@ src_compile() {
 	if use capi; then
 		cargo cbuild ${args} \
 			--prefix="/usr" --libdir="/usr/$(get_libdir)" \
+			--library-type=cdylib \
 			|| die "cargo cbuild failed"
 	fi
 }
@@ -63,6 +64,7 @@ src_install() {
 	if use capi; then
 		cargo cinstall $args \
 			--prefix="/usr" --libdir="/usr/$(get_libdir)" --destdir="${ED}" \
+			--library-type=cdylib \
 			|| die "cargo cinstall failed"
 	fi