forked from ports/contrib
svt-hevc: initial commit, version
This commit is contained in:
parent
2f61968df9
commit
1e43b9c428
svt-hevc
13
svt-hevc/.footprint
Normal file
13
svt-hevc/.footprint
Normal file
@ -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
|
5
svt-hevc/.signature
Normal file
5
svt-hevc/.signature
Normal file
@ -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
|
27
svt-hevc/Pkgfile
Normal file
27
svt-hevc/Pkgfile
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user