summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12020-03-23 21:16:16 +0800
committerChocobo12020-03-23 21:17:09 +0800
commitd6edc5702ada721c403c648ac3887913ce8a132b (patch)
tree237dd0864aa5eeb3ebb8f40e563add9a09b65f98
parent7722860201124287b1b42fa8d911ba0c1f49612e (diff)
downloadaur-d6edc5702ada721c403c648ac3887913ce8a132b.tar.gz
upgpkg: rav1e-git 0.3.1.r83.g91658bd7-1
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD13
2 files changed, 5 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32d3a3afac8..04b55632fc1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = rav1e-git
pkgdesc = The fastest and safest AV1 encoder
- pkgver = 0.2.1.r110.g7293535e
+ pkgver = 0.3.1.r83.g91658bd7
pkgrel = 1
url = https://github.com/xiph/rav1e
arch = i686
@@ -10,6 +10,7 @@ pkgbase = rav1e-git
makedepends = git
makedepends = rust
makedepends = nasm
+ makedepends = cargo-c
depends = gcc-libs
provides = rav1e
conflicts = rav1e
diff --git a/PKGBUILD b/PKGBUILD
index 84f846753d5..231fe571fae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=rav1e-git
-pkgver=0.2.1.r110.g7293535e
+pkgver=0.3.1.r83.g91658bd7
pkgrel=1
pkgdesc="The fastest and safest AV1 encoder"
arch=('i686' 'x86_64')
url="https://github.com/xiph/rav1e"
license=('BSD' 'custom')
depends=('gcc-libs')
-makedepends=('git' 'rust' 'nasm')
+makedepends=('git' 'rust' 'nasm' 'cargo-c')
provides=('rav1e')
conflicts=('rav1e')
options=('staticlibs')
@@ -16,13 +16,6 @@ source=("git+https://github.com/xiph/rav1e.git")
sha256sums=('SKIP')
-prepare() {
- cd "rav1e"
-
- # for librav1e
- RUSTFLAGS="-C opt-level=0" cargo install --force --root "$srcdir" cargo-c
-}
-
pkgver() {
cd "rav1e"
@@ -43,7 +36,7 @@ package() {
cargo install --root "$pkgdir/usr" --path "$srcdir/rav1e"
# for librav1e
- "$srcdir/bin/cargo-cinstall" install --release --destdir "$pkgdir" --prefix "/usr"
+ cargo cinstall --release --destdir "$pkgdir" --prefix "/usr"
install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/rav1e"
install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/rav1e"