New package: rav1e-0.6.3_1

This commit is contained in:
oreo639 2023-02-24 19:35:15 -08:00 committed by lemmi
parent a547ac33f4
commit 5b94142e30
3 changed files with 44 additions and 0 deletions

View File

@ -3574,6 +3574,7 @@ libcsfml-system.so.2.5 CSFML-2.5_1
libcsfml-network.so.2.5 CSFML-2.5_1
libtokyocabinet.so.9 tokyocabinet-1.4.48_1
libdav1d.so.6 libdav1d6-1.0.0_1
librav1e.so.0 rav1e-0.6.3_1
libdqlite.so.0 dqlite-0.2.1_1
libwoff2common.so.1.0.2 libwoff2common1.0.2-1.0.2_1
libwoff2enc.so.1.0.2 libwoff2enc1.0.2-1.0.2_1

1
srcpkgs/rav1e-devel Symbolic link
View File

@ -0,0 +1 @@
rav1e

42
srcpkgs/rav1e/template Normal file
View File

@ -0,0 +1,42 @@
# Template file for 'rav1e'
pkgname=rav1e
version=0.6.3
revision=1
build_style=cargo
hostmakedepends="nasm cargo-c"
short_desc="Fastest and safest AV1 encoder"
maintainer="oreo639 <oreo6391@gmail.com>"
license="BSD-2-Clause"
homepage="https://crates.io/crates/rav1e"
distfiles="https://static.crates.io/crates/rav1e/rav1e-${version}.crate"
checksum=277898094f0d03c6a609e491324102daf5080e71c06b4b25e5acf8b89d26c945
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
# error: ran out of registers during register allocation
# LLVM ERROR: Cannot emit physreg copy instruction
make_check=no # Tests fail to compile
fi
post_build() {
cargo auditable cbuild --release --target ${RUST_TARGET} \
--library-type cdylib --library-type staticlib \
--destdir="${DESTDIR}" --prefix="/usr" ${configure_args}
}
post_install() {
cargo auditable cinstall --release --target ${RUST_TARGET} \
--library-type cdylib --library-type staticlib \
--destdir="${DESTDIR}" --prefix="/usr" --offline --locked ${configure_args}
vlicense LICENSE
}
rav1e-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}