diff --git a/svt-hevc/.footprint b/svt-hevc/.footprint new file mode 100644 index 000000000..fa2a7ac6c --- /dev/null +++ b/svt-hevc/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/SvtHevcEncApp +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/svt-hevc/ +-rw-r--r-- root/root usr/include/svt-hevc/EbApi.h +-rw-r--r-- root/root usr/include/svt-hevc/EbApiVersion.h +-rw-r--r-- root/root usr/include/svt-hevc/EbErrorCodes.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libSvtHevcEnc.so -> libSvtHevcEnc.so.1 +-rwxr-xr-x root/root usr/lib/libSvtHevcEnc.so.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/SvtHevcEnc.pc diff --git a/svt-hevc/.signature b/svt-hevc/.signature new file mode 100644 index 000000000..301157aec --- /dev/null +++ b/svt-hevc/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF377KLQEt5m78kKKnTpWTCt4jeyaA9JLcDsKG1NvZnqXtuz2ADBYR6TRnLPMc3SnZDJNz1NSW7opP1UeJfGjGfw0= +SHA256 (Pkgfile) = d845efc711df56bc4c964dc2ab24d707e320e655efb22b230058344caffcb54e +SHA256 (.footprint) = 7d5a2459119a85a6e1a60b7d39da2c21cdd03bd26918e5ab4f3d8ae605008afe +SHA256 (svt-hevc-1.5.1.tar.gz) = fcadf3a326e012bdc7d7357b55573b45dfd37bf4a4186c93ed1c4b98fe3f1f6d diff --git a/svt-hevc/Pkgfile b/svt-hevc/Pkgfile new file mode 100644 index 000000000..b59f2316c --- /dev/null +++ b/svt-hevc/Pkgfile @@ -0,0 +1,27 @@ +# Description: SVT HEVC encoder +# URL: https://github.com/OpenVisualCloud/SVT-HEVC +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: cmake yasm + +name=svt-hevc +version=1.5.1 +release=1 +source=(https://github.com/OpenVisualCloud/SVT-HEVC/archive/v$version/$name-$version.tar.gz) + +build() { + prt-get isinst ninja && PKGMK_SVTHEVC+=' -G Ninja' + + export LDFLAGS="$LDFLAGS -Wl,-z,noexecstack" + + cmake -S SVT-HEVC-$version -B build $PKGMK_SVTHEVC \ + -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 +}