summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1a7d5233f05..afaeedf936c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,31 +2,27 @@
# Contributor: Thomas Schneider <maxmusterm@gmail.com>
pkgname=svt-vp9-git
-pkgver=0.1.0.r6.g420f9f3
+pkgver=0.3.0.r3.g10910b7
pkgrel=1
pkgdesc='Scalable Video Technology VP9 encoder (git version)'
arch=('x86_64')
url='https://github.com/OpenVisualCloud/SVT-VP9/'
license=('BSD')
depends=('glibc')
-makedepends=('git' 'cmake' 'nasm')
+makedepends=('git' 'cmake' 'yasm')
provides=('svt-vp9')
conflicts=('svt-vp9')
source=('git+https://github.com/OpenVisualCloud/SVT-VP9.git')
sha256sums=('SKIP')
pkgver() {
- cd SVT-VP9
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
+ git -C SVT-VP9 describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
- export LDFLAGS+=' -Wl,-z,noexecstack'
cmake -B build -S SVT-VP9 \
-DCMAKE_BUILD_TYPE:STRING='None' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
- -DBUILD_SHARED_LIBS:BOOL='ON' \
- -DNATIVE:BOOL='OFF' \
-Wno-dev
make -C build
}