[arch-commits] Commit in svt-hevc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue May 18 08:28:21 UTC 2021
Date: Tuesday, May 18, 2021 @ 08:28:21
Author: alucryd
Revision: 936218
archrelease: copy trunk to community-x86_64
Added:
svt-hevc/repos/community-x86_64/PKGBUILD
(from rev 936217, svt-hevc/trunk/PKGBUILD)
Deleted:
svt-hevc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 99 +++++++++++++++++++++++++++----------------------------------
1 file changed, 45 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-18 08:28:15 UTC (rev 936217)
+++ PKGBUILD 2021-05-18 08:28:21 UTC (rev 936218)
@@ -1,54 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Contributor: Luis Garcia <luigi311.lg at gmail.com>
-
-pkgname=svt-hevc
-pkgver=1.5.0
-pkgrel=1
-pkgdesc='Scalable Video Technology HEVC encoder'
-arch=(x86_64)
-url='https://github.com/OpenVisualCloud/SVT-HEVC'
-license=(BSD)
-makedepends=(
- cmake
- git
- nasm
-)
-source=(git+https://github.com/OpenVisualCloud/SVT-HEVC.git#tag=909a9f38f07709991d640bf65a25834acfad6505)
-md5sums=(SKIP)
-
-pkgver() {
- cd SVT-HEVC
-
- 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-HEVC/CMakeLists.txt
-}
-
-build() {
- cd build
-
- export LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
-
- cmake ../SVT-HEVC \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DNATIVE=OFF
- make
-}
-
-package() {
- cd build
-
- make DESTDIR="${pkgdir}" install
- install -Dm 644 ../SVT-HEVC/LICENSE.md -t "${pkgdir}"/usr/share/licenses/svt-hevc/
-}
-
-# vim: ts=2 sw=2 et:
Copied: svt-hevc/repos/community-x86_64/PKGBUILD (from rev 936217, svt-hevc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-18 08:28:21 UTC (rev 936218)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Contributor: Luis Garcia <luigi311.lg at gmail.com>
+
+pkgname=svt-hevc
+pkgver=1.5.1
+pkgrel=1
+pkgdesc='Scalable Video Technology HEVC encoder'
+arch=(x86_64)
+url=https://github.com/OpenVisualCloud/SVT-HEVC
+license=(BSD)
+makedepends=(
+ cmake
+ git
+ nasm
+ ninja
+)
+_tag=779e5bcbe439c9f67fe9c6ad60297b9540136c8f
+source=(git+https://github.com/OpenVisualCloud/SVT-HEVC.git#tag=${_tag})
+md5sums=(SKIP)
+
+pkgver() {
+ cd SVT-HEVC
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ sed '/CMAKE_BUILD_TYPE Release/d' -i SVT-HEVC/CMakeLists.txt
+}
+
+build() {
+ export LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
+ cmake -S SVT-HEVC -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DNATIVE=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="${pkgdir}" cmake --install build
+ install -Dm 644 SVT-HEVC/LICENSE.md -t "${pkgdir}"/usr/share/licenses/svt-hevc/
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list