summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Bermond2021-02-13 15:27:32 +0000
committerDaniel Bermond2021-02-13 15:27:32 +0000
commit4ac01ec12acae59e6fd5c03caed817195364ec96 (patch)
treef762bbe45f5b479b251ed834aeb8a01fb52198ec /PKGBUILD
parent4c163e0b58905fda83551f8d89b52e85713cb54a (diff)
downloadaur-4ac01ec12acae59e6fd5c03caed817195364ec96.tar.gz
Change assembler. Remove executable stack fix (not needed anymore).
Upstream default assembler is yasm. Also on this commit: - remove unneeded cmake options - cosmetic changes
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
}