summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12019-11-11 02:17:15 +0800
committerChocobo12019-11-11 02:25:51 +0800
commit63cbe349b8d8625b2efe189431f36c578eaf14ab (patch)
tree16dcdaf80e53212843ac771fafd2f00e7ecce291
parent466135e5c22eafbd96a8ffaeaf02727c6022e24d (diff)
downloadaur-63cbe349b8d8625b2efe189431f36c578eaf14ab.tar.gz
upgpkg: rav1e-git r2093.241065b9-1
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD24
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eeffba816ff..6f3ba988160 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,12 @@
pkgbase = rav1e-git
pkgdesc = The fastest and safest AV1 encoder
- pkgver = r2010.1618f98b
+ pkgver = r2093.241065b9
pkgrel = 1
url = https://github.com/xiph/rav1e
arch = i686
arch = x86_64
- license = custom
license = BSD
- checkdepends = python
+ license = custom
makedepends = git
makedepends = rust
makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index 9a0ab209cc7..f29a996c070 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,17 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=rav1e-git
-pkgver=r2010.1618f98b
+pkgver=r2093.241065b9
pkgrel=1
pkgdesc="The fastest and safest AV1 encoder"
arch=('i686' 'x86_64')
url="https://github.com/xiph/rav1e"
-license=('custom' 'BSD')
+license=('BSD' 'custom')
depends=('gcc-libs')
makedepends=('git' 'rust'
# aom dependency
'cmake' 'perl' 'nasm')
# aom dependency
-checkdepends=('python')
provides=('rav1e')
conflicts=('rav1e')
source=("git+https://github.com/xiph/rav1e.git")
@@ -22,7 +21,8 @@ sha256sums=('SKIP')
prepare() {
cd "rav1e"
- git submodule update --init #--depth 1
+ # for librav1e
+ cargo install --root "$srcdir" cargo-c
}
pkgver() {
@@ -31,26 +31,22 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-build() {
- cd "rav1e"
-
- cargo build --release
-}
-
check() {
cd "rav1e"
- cargo test --release
+ #cargo test --release
}
package() {
cd "rav1e"
cargo install --root "$pkgdir/usr" --path "$srcdir/rav1e"
+ # for librav1e
+ "$srcdir/bin/cargo-cinstall" install --release --destdir "$pkgdir" --prefix "/usr"
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/rav1e/README.md"
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/rav1e/LICENSE"
- install -Dm644 "PATENTS" "$pkgdir/usr/share/licenses/rav1e/PATENTS"
+ install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/rav1e"
+ install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/rav1e"
+ install -Dm644 "PATENTS" -t "$pkgdir/usr/share/licenses/rav1e"
rm "$pkgdir/usr/.crates.toml"
}