[arch-commits] Commit in (av1an av1an/repos av1an/trunk av1an/trunk/PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Mon Nov 1 22:03:21 UTC 2021


    Date: Monday, November 1, 2021 @ 22:03:20
  Author: svenstaro
Revision: 1035292

Move av1an from AUR

Added:
  av1an/
  av1an/repos/
  av1an/trunk/
  av1an/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: av1an/trunk/PKGBUILD
===================================================================
--- av1an/trunk/PKGBUILD	                        (rev 0)
+++ av1an/trunk/PKGBUILD	2021-11-01 22:03:20 UTC (rev 1035292)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Nathaniel Chin <thegamingorangutans+aur at gmail.com>
+
+pkgname=av1an
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Cross-platform command-line encoding framework with per scene quality encoding'
+arch=('x86_64')
+url='https://github.com/master-of-zen/Av1an'
+license=('GPL3')
+makedepends=('rust' 'nasm' 'clang')
+depends=('ffmpeg' 'aom' 'vapoursynth')
+optdepends=('svt-av1: SVT-AV1 encoder support'
+            'rav1e: rav1e encoder support'
+            'libvpx: vpx encoder support'
+            'vmaf: VMAF calculation support'
+            'mkvtoolnix-cli: mkvmerge support'
+            'ffms2'
+            'vapoursynth-plugin-lsmashsource')
+conflicts=('python-av1an')
+source=("$pkgver-$pkgver.tar.gz"::https://github.com/master-of-zen/Av1an/archive/refs/tags/$pkgver.tar.gz)
+sha256sums=('988779c38626fdaa60a76ceb4156b95a26cb65696dc99a49a2b6cc1ba79755cd')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cargo build --release --locked --no-default-features
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 target/release/av1an "${pkgdir}/usr/bin/av1an"
+}



More information about the arch-commits mailing list