commit cbc7c991bfb1996a2f0c41a184ec1a971ea9c861 Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 10:35:27 2022 +0000 rav1e: initial commit, version 0.5.1 diff --git a/rav1e/.footprint b/rav1e/.footprint new file mode 100644 index 000000000..000b2b29e --- /dev/null +++ b/rav1e/.footprint @@ -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 diff --git a/rav1e/.signature b/rav1e/.signature new file mode 100644 index 000000000..ce36935d6 --- /dev/null +++ b/rav1e/.signature @@ -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 diff --git a/rav1e/Pkgfile b/rav1e/Pkgfile new file mode 100644 index 000000000..6c94a8c5f --- /dev/null +++ b/rav1e/Pkgfile @@ -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 +}