summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-07-06 17:40:03 +0000
committerDaniel Bermond2019-07-06 17:40:03 +0000
commit93f0c5976305c01488c27f70ee7340b760d60003 (patch)
treea39aa5fd20e2f27c38d783d2466d3fd806ab513c
parentb5cd1478151c0dc5cb42a4a1a77a73201f5900bd (diff)
downloadaur-93f0c5976305c01488c27f70ee7340b760d60003.tar.gz
Updated to version 0.6.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD45
2 files changed, 25 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e0395bce884..d9ba4db7e0d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = intel-svt-av1
- pkgdesc = An AV1-compliant encoder for Intel CPUs of 5th Generation (Broadwell) and above
- pkgver = 0.5.0
+ pkgdesc = An AV1-compliant encoder and decoder for Intel CPUs of 5th Generation (Broadwell) and above
+ pkgver = 0.6.0
pkgrel = 1
url = https://github.com/OpenVisualCloud/SVT-AV1/
arch = x86_64
@@ -9,8 +9,8 @@ pkgbase = intel-svt-av1
makedepends = yasm
makedepends = python
depends = gcc-libs
- source = intel-svt-av1-0.5.0.tar.gz::https://github.com/OpenVisualCloud/SVT-AV1/archive/v0.5.0.tar.gz
- sha256sums = cdf36926820d2efcf019ed1a1e66cbc2470b86a28606a00497eb842bd2e495b1
+ source = intel-svt-av1-0.6.0.tar.gz::https://github.com/OpenVisualCloud/SVT-AV1/archive/v0.6.0.tar.gz
+ sha256sums = 4ff6f05a9528fe8a7b3d6708fe1115d15d26a5a9b0b676d8a250a0b2e8630579
pkgname = intel-svt-av1
diff --git a/PKGBUILD b/PKGBUILD
index d0159b9263f..06498972e9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,50 +1,47 @@
# Maintainer: Daniel Bermond < gmail-com: danielbermond >
pkgname=intel-svt-av1
-pkgver=0.5.0
+pkgver=0.6.0
pkgrel=1
-pkgdesc='An AV1-compliant encoder for Intel CPUs of 5th Generation (Broadwell) and above'
+pkgdesc='An AV1-compliant encoder and decoder for Intel CPUs of 5th Generation (Broadwell) and above'
arch=('x86_64')
url='https://github.com/OpenVisualCloud/SVT-AV1/'
license=('BSD')
depends=('gcc-libs')
makedepends=('cmake' 'yasm' 'python')
+BUILDENV+=('!check')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/OpenVisualCloud/SVT-AV1/archive/v${pkgver}.tar.gz")
-sha256sums=('cdf36926820d2efcf019ed1a1e66cbc2470b86a28606a00497eb842bd2e495b1')
+sha256sums=('4ff6f05a9528fe8a7b3d6708fe1115d15d26a5a9b0b676d8a250a0b2e8630579')
-build() {
+prepare() {
cd "SVT-AV1-${pkgver}"
+ mkdir -p build
+}
+
+build() {
+ cd "SVT-AV1-${pkgver}/build"
+
+ # remove executable stack from libraries
+ export LDFLAGS+=' -Wl,-z,noexecstack'
+
cmake \
+ -DBUILD_SHARED_LIBS:BOOL='ON' \
-DCMAKE_ASM_NASM_COMPILER:FILEPATH='/usr/bin/yasm' \
- -DCMAKE_BUILD_TYPE:STRING='Release' \
+ -DCMAKE_BUILD_TYPE:STRING='None' \
+ -DCMAKE_INSTALL_LIBDIR:PATH='lib' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
- -DCMAKE_SKIP_INSTALL_RPATH:BOOL='YES' \
+ -DNATIVE:BOOL='OFF' \
-Wno-dev \
- .
+ ..
make
}
-check() {
- cd "SVT-AV1-${pkgver}"
-
- make test
-}
-
package() {
- cd "SVT-AV1-${pkgver}"
+ cd "SVT-AV1-${pkgver}/build"
make DESTDIR="$pkgdir" install
- # remove decoder (not yet implemented by upstream)
- rm "${pkgdir}/usr/bin/SvtAv1DecApp"
- rm "${pkgdir}/usr/lib/libSvtAv1Dec.so"
- rm "${pkgdir}/usr/lib/pkgconfig/SvtAv1Dec.pc"
-
- # remove test files
- rm "${pkgdir}/usr/bin/SvtAv1UnitTests"
- rm "${pkgdir}/usr/lib/libgtest_all.so"
-
- install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 "${srcdir}/SVT-AV1-${pkgver}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}