rav1e: initial commit, version 0.5.1

This commit is contained in:
Tim Biermann 2022-10-30 10:35:27 +00:00
parent 1a2e297187
commit cbc7c991bf
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 40 additions and 0 deletions

13
rav1e/.footprint Normal file
View File

@ -0,0 +1,13 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/rav1e
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/rav1e/
-rw-r--r-- root/root usr/include/rav1e/rav1e.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/librav1e.a
lrwxrwxrwx root/root usr/lib/librav1e.so -> librav1e.so.0.5.1
lrwxrwxrwx root/root usr/lib/librav1e.so.0 -> librav1e.so.0.5.1
-rwxr-xr-x root/root usr/lib/librav1e.so.0.5.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/rav1e.pc

5
rav1e/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30egczGv/19jAUbXWb866uE7L3xeHtzDU0c9lfybqt/v6MjYujyALD2fsYJUzJ6Es5HZsOiidR7xC34Tf5QIzAI=
SHA256 (Pkgfile) = c913204af0f5b55084acac6509204c31a5bb5d7b9682cb2fff5d68bd5bc28e20
SHA256 (.footprint) = c668a1035fc86c28443711b0899b7899758e90ead51c5992669081ee670e7652
SHA256 (rav1e-0.5.1.tar.gz) = 7b3060e8305e47f10b79f3a3b3b6adc3a56d7a58b2cb14e86951cc28e1b089fd

22
rav1e/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: an AV1 video encoder
# URL: https://github.com/xiph/rav1e/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cargo-c nasm
name=rav1e
version=0.5.1
release=1
source=(https://github.com/xiph/rav1e/archive/v$version/$name-$version.tar.gz)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
[[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
cargo build --release --manifest-path $name-$version/Cargo.toml
cargo cbuild --release --prefix=/usr --manifest-path \
$name-$version/Cargo.toml
cargo install --offline --no-track --path $name-$version --root $PKG/usr
cd $name-$version
cargo cinstall --release --prefix /usr --destdir $PKG
}