[arch-commits] Commit in svt-av1/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Sep 8 12:26:13 UTC 2020
Date: Tuesday, September 8, 2020 @ 12:26:13
Author: alucryd
Revision: 701216
archrelease: copy trunk to community-x86_64
Added:
svt-av1/repos/community-x86_64/PKGBUILD
(from rev 701215, svt-av1/trunk/PKGBUILD)
Deleted:
svt-av1/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 99 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 46 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-08 12:26:08 UTC (rev 701215)
+++ PKGBUILD 2020-09-08 12:26:13 UTC (rev 701216)
@@ -1,53 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Thomas Schneider <maxmusterm at gmail.com>
-
-pkgname=svt-av1
-pkgver=0.8.4
-pkgrel=1
-pkgdesc='Scalable Video Technology AV1 encoder'
-arch=(x86_64)
-url='https://github.com/OpenVisualCloud/SVT-AV1'
-license=(BSD)
-makedepends=(
- cmake
- git
- nasm
-)
-source=(git+https://github.com/OpenVisualCloud/SVT-AV1.git#tag=6cd553fecb93f68ff778d67f59d5392997f29521)
-md5sums=(SKIP)
-
-pkgver() {
- cd SVT-AV1
-
- git describe --tags | sed 's/^v//'
-}
-
-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 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DNATIVE=OFF
- make
-}
-
-package() {
- cd build
-
- make DESTDIR="${pkgdir}" install
- install -Dm 644 ../SVT-AV1/LICENSE.md -t "${pkgdir}"/usr/share/licenses/svt-av1/
-}
-
-# vim: ts=2 sw=2 et:
Copied: svt-av1/repos/community-x86_64/PKGBUILD (from rev 701215, svt-av1/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-08 12:26:13 UTC (rev 701216)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Thomas Schneider <maxmusterm at gmail.com>
+
+pkgname=svt-av1
+pkgver=0.8.5
+pkgrel=1
+pkgdesc='Scalable Video Technology AV1 encoder'
+arch=(x86_64)
+url=https://github.com/AOMediaCodec/SVT-AV1
+license=(BSD)
+makedepends=(
+ cmake
+ git
+ nasm
+ ninja
+)
+_tag=45081abaeebd488946b576452e46ddac92c6381d
+source=(git+https://github.com/AOMediaCodec/SVT-AV1.git#tag=${_tag})
+md5sums=(SKIP)
+
+pkgver() {
+ cd SVT-AV1
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ sed '/CMAKE_BUILD_TYPE Release/d' -i SVT-AV1/CMakeLists.txt
+}
+
+build() {
+ export LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+
+ cmake -S SVT-AV1 -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DNATIVE=OFF
+ ninja -C build
+}
+
+package() {
+ 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