commit 1652f71730dd5a8750787b362d86b8ce5f997ab2 Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 30 10:51:43 2022 +0000 svt-av1: initial commit, version 1.2.1 diff --git a/svt-av1/.footprint b/svt-av1/.footprint new file mode 100644 index 000000000..36505a2f3 --- /dev/null +++ b/svt-av1/.footprint @@ -0,0 +1,24 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/SvtAv1DecApp +-rwxr-xr-x root/root usr/bin/SvtAv1EncApp +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/svt-av1/ +-rw-r--r-- root/root usr/include/svt-av1/EbDebugMacros.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1Dec.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1Enc.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1ErrorCodes.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1ExtFrameBuf.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1Formats.h +-rw-r--r-- root/root usr/include/svt-av1/EbSvtAv1Metadata.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libSvtAv1Dec.so -> libSvtAv1Dec.so.0 +lrwxrwxrwx root/root usr/lib/libSvtAv1Dec.so.0 -> libSvtAv1Dec.so.0.8.7 +-rwxr-xr-x root/root usr/lib/libSvtAv1Dec.so.0.8.7 +lrwxrwxrwx root/root usr/lib/libSvtAv1Enc.so -> libSvtAv1Enc.so.1 +lrwxrwxrwx root/root usr/lib/libSvtAv1Enc.so.1 -> libSvtAv1Enc.so.1.2.1 +-rwxr-xr-x root/root usr/lib/libSvtAv1Enc.so.1.2.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/SvtAv1Dec.pc +-rw-r--r-- root/root usr/lib/pkgconfig/SvtAv1Enc.pc diff --git a/svt-av1/.signature b/svt-av1/.signature new file mode 100644 index 000000000..bb96f0d0d --- /dev/null +++ b/svt-av1/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3+P4aRqygbVOxNds8vRP2JHQA3Tt+uE8Z0ZlpeRbcFtRJs5cAxnEf07XsN1dx9li/d6k0BFDbSCxWrrWFaEebAA= +SHA256 (Pkgfile) = ef20e41f23dc50390b82f555d4270e37c4cebc73e0a797e819335f37b3e197c6 +SHA256 (.footprint) = b07193005b0bf6feff9fe485432be7cee636680195767a84cbee3aed3a3570cb +SHA256 (SVT-AV1-v1.2.1.tar.bz2) = 805827daa8aedec4f1362b959f377075e2a811680bfc76b6f4fbf2ef4e7101d4 diff --git a/svt-av1/Pkgfile b/svt-av1/Pkgfile new file mode 100644 index 000000000..8bf33ded6 --- /dev/null +++ b/svt-av1/Pkgfile @@ -0,0 +1,25 @@ +# Description: Scalable Video Technology AV1 encoder and decoder +# URL: https://gitlab.com/AOMediaCodec/SVT-AV1 +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: nasm + +name=svt-av1 +version=1.2.1 +release=1 +source=(https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v$version/SVT-AV1-v$versio...) + +build() { + sed '/CMAKE_BUILD_TYPE Release/d' -i SVT-AV1-v$version/CMakeLists.txt + cmake -S SVT-AV1-v$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D BUILD_SHARED_LIBS=ON \ + -D NATIVE=OFF \ + -Wno-dev + + cmake --build build + DESTDIR=$PKG cmake --install build +}