[arch-commits] Commit in svt-av1/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Sep 8 12:26:08 UTC 2020
Date: Tuesday, September 8, 2020 @ 12:26:08
Author: alucryd
Revision: 701215
upgpkg: svt-av1 0.8.5-1
Modified:
svt-av1/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-08 10:55:22 UTC (rev 701214)
+++ PKGBUILD 2020-09-08 12:26:08 UTC (rev 701215)
@@ -2,18 +2,20 @@
# Contributor: Thomas Schneider <maxmusterm at gmail.com>
pkgname=svt-av1
-pkgver=0.8.4
+pkgver=0.8.5
pkgrel=1
pkgdesc='Scalable Video Technology AV1 encoder'
arch=(x86_64)
-url='https://github.com/OpenVisualCloud/SVT-AV1'
+url=https://github.com/AOMediaCodec/SVT-AV1
license=(BSD)
makedepends=(
cmake
git
nasm
+ ninja
)
-source=(git+https://github.com/OpenVisualCloud/SVT-AV1.git#tag=6cd553fecb93f68ff778d67f59d5392997f29521)
+_tag=45081abaeebd488946b576452e46ddac92c6381d
+source=(git+https://github.com/AOMediaCodec/SVT-AV1.git#tag=${_tag})
md5sums=(SKIP)
pkgver() {
@@ -23,31 +25,22 @@
}
prepare() {
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-
sed '/CMAKE_BUILD_TYPE Release/d' -i SVT-AV1/CMakeLists.txt
}
build() {
- cd build
-
export LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
- cmake ../SVT-AV1 \
+ cmake -S SVT-AV1 -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DNATIVE=OFF
- make
+ ninja -C build
}
package() {
- cd build
-
- make DESTDIR="${pkgdir}" install
- install -Dm 644 ../SVT-AV1/LICENSE.md -t "${pkgdir}"/usr/share/licenses/svt-av1/
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm 644 SVT-AV1/LICENSE.md -t "${pkgdir}"/usr/share/licenses/svt-av1/
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list