summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornathanielcwm2020-04-25 17:35:14 +0800
committernathanielcwm2020-04-25 17:35:14 +0800
commit70a88b863cb9482f60c13c99d9fd433ed688e0b9 (patch)
tree602233373289c5981ba57b61ce07fd6938c064e2
downloadaur-70a88b863cb9482f60c13c99d9fd433ed688e0b9.tar.gz
Initial Commit
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD22
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cf76a21ed29
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-av1an
+ pkgdesc = All-in-one tool for streamlining av1 encoding
+ pkgver = 1.8.0
+ pkgrel = 1
+ url = https://github.com/master-of-zen/Av1an
+ arch = x86_64
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = ffmpeg
+ optdepends = aom
+ optdepends = svt-av1
+ optdepends = rav1e
+ source = av1an-1.8.0.tar.gz::https://github.com/master-of-zen/Av1an/archive/1.8.tar.gz
+ sha256sums = 470056f81c0e5819635361c0dbfc23e58933f4a7e7717afff47e4f92ed6d5c25
+
+pkgname = python-av1an
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..74632d8a03e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/*.tar.xz
+/*.tar.gz
+/*.tar.zst
+/pkg
+/src \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aaa32420c5a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Nathaniel Chin <thegamingorangutans+aur at gmail.com>
+
+pkgname=python-av1an
+pkgver=1.8.0
+pkgrel=1
+pkgdesc='All-in-one tool for streamlining av1 encoding'
+arch=('x86_64')
+url='https://github.com/master-of-zen/Av1an'
+license=('MIT')
+makedepends=('python-setuptools')
+depends=('python>=3.7.0' 'ffmpeg')
+optdepends=('aom: Aomenc encoder support'
+ 'svt-av1: SVT-AV1 encoder support'
+ 'rav1e: rav1e encoder support')
+source=("av1an-${pkgver}.tar.gz"::"https://github.com/master-of-zen/Av1an/archive/1.8.tar.gz")
+sha256sums=('fbf485988fe30ccf5b8b1b9555912911da49033527e908155177b2f7b3b77e87')
+
+
+package() {
+ cd $srcdir/Av1an-1.8
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}