summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-08-24 07:21:47 -0400
committerSam James <sam@gentoo.org>2021-09-12 23:46:03 +0100
commitb5139bb4dea4fe2527965d51033d79ef7bef00fa (patch)
tree2e74ab072744574a7511c23832d9e5b065839eb5 /media-video/rav1e
parentprofiles/base: mask USE=jemalloc for ~mail-filter/rspamd-3.0 (diff)
downloadgentoo-b5139bb4dea4fe2527965d51033d79ef7bef00fa.tar.gz
gentoo-b5139bb4dea4fe2527965d51033d79ef7bef00fa.tar.bz2
gentoo-b5139bb4dea4fe2527965d51033d79ef7bef00fa.zip
media-video/rav1e: add USE=static-libs
Closes: https://bugs.gentoo.org/730526 Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Closes: https://github.com/gentoo/gentoo/pull/22089 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/rav1e')
-rw-r--r--media-video/rav1e/rav1e-0.4.1-r1.ebuild (renamed from media-video/rav1e/rav1e-0.4.1.ebuild)2
-rw-r--r--media-video/rav1e/rav1e-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/media-video/rav1e/rav1e-0.4.1.ebuild b/media-video/rav1e/rav1e-0.4.1-r1.ebuild
index 28899deacae7..eb92504be853 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 775e51232df2..77ee1c7cf11d 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