diff --git a/rav1e/.footprint b/rav1e/.footprint index 4a377c7b1..e344fbaa9 100644 --- a/rav1e/.footprint +++ b/rav1e/.footprint @@ -6,8 +6,8 @@ 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.6.4 -lrwxrwxrwx root/root usr/lib/librav1e.so.0 -> librav1e.so.0.6.4 --rwxr-xr-x root/root usr/lib/librav1e.so.0.6.4 +lrwxrwxrwx root/root usr/lib/librav1e.so -> librav1e.so.0.6.5 +lrwxrwxrwx root/root usr/lib/librav1e.so.0 -> librav1e.so.0.6.5 +-rwxr-xr-x root/root usr/lib/librav1e.so.0.6.5 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 index e26270036..0ee612d6c 100644 --- a/rav1e/.signature +++ b/rav1e/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3/mhuVpo1qTlMQEemDOFIv9fUEytBG5UFU29s04mumgjDW7jNaVtVBQFCQohMEZ24sTdFOYPPVQKWbbW7LGwwAA= -SHA256 (Pkgfile) = fa879839cd1d0b0dd5a35bf84520e605b4740b0a6ef656c58c49cb007d265d4a -SHA256 (.footprint) = 09a7560af423fba883bd17b280cea8e0893ef11a79ca8ba70112d51ffa423cfd -SHA256 (rav1e-0.6.4.tar.gz) = 33aaab7c57822ebda9070ace90a8161dbadf8971f73b53d4db885e8b5566a039 +RWSagIOpLGJF3x05RpwfaAhX4azt9tuVKdL3uPlrunqDRuZ8IeyjzrLJFTs3N5RxiLk26GzLltgrep42tKCZURgZFtSO8qfbdg0= +SHA256 (Pkgfile) = 72b58dac2ee3fa972f1ebc44a70039f30c5b93d68ed402894e057b5d8fe26ef0 +SHA256 (.footprint) = 43b53e6f167e784a8909df6da8c503d4a7889b796b80495f44bc6d3b8037ed6c +SHA256 (rav1e-0.6.5.tar.gz) = a0d137aa40a27b308f965c4bc03a13493f6d07c888d6b52cc2ffaba36bfd5988 +SHA256 (rav1e-0.6.5-Cargo.lock) = b18393b78e653eed998a53efbe0a205c26733e7043b4b9b23428893b81242649 diff --git a/rav1e/Pkgfile b/rav1e/Pkgfile index 51f5f8834..bfef3203a 100644 --- a/rav1e/Pkgfile +++ b/rav1e/Pkgfile @@ -4,19 +4,23 @@ # Depends on: cargo-c nasm name=rav1e -version=0.6.4 +version=0.6.5 release=1 -source=(https://github.com/xiph/rav1e/archive/v$version/$name-$version.tar.gz) +source=(https://github.com/xiph/rav1e/archive/v$version/$name-$version.tar.gz + https://github.com/xiph/rav1e/releases/download/v$version/Cargo.lock) +renames=(SKIP $name-$version-Cargo.lock) 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 + cp $SRC/$name-$version-Cargo.lock Cargo.lock + export LDFLAGS+=' -lgit2' + + cargo build --release + cargo cbuild --release --prefix=/usr + + cargo install --offline --no-track --path . --root $PKG/usr cargo cinstall --release --prefix /usr --destdir $PKG }