From 3f4773eb3140444a5c4714c5e677ceab4194566b Mon Sep 17 00:00:00 2001 From: tibequadorian Date: Sat, 12 Feb 2022 12:56:31 +0100 Subject: [PATCH] New package: svt-av1-0.9.1 --- common/shlibs | 2 ++ srcpkgs/libsvt-av1 | 1 + srcpkgs/libsvt-av1-devel | 1 + srcpkgs/svt-av1/template | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 120000 srcpkgs/libsvt-av1 create mode 120000 srcpkgs/libsvt-av1-devel create mode 100644 srcpkgs/svt-av1/template diff --git a/common/shlibs b/common/shlibs index 8f171c85d99..5096ab5dad6 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4115,3 +4115,5 @@ libjvm.so openjdk17-jre-17.0.1+12_1 librttopo.so.1 librttopo-1.1.0_1 libspatialite.so.7 libspatialite-5.0.1_1 mod_spatialite.so.7 libspatialite-5.0.1_1 +libSvtAv1Enc.so.0 libsvt-av1-0.9.0_1 +libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1 diff --git a/srcpkgs/libsvt-av1 b/srcpkgs/libsvt-av1 new file mode 120000 index 00000000000..11a5a05a904 --- /dev/null +++ b/srcpkgs/libsvt-av1 @@ -0,0 +1 @@ +svt-av1 \ No newline at end of file diff --git a/srcpkgs/libsvt-av1-devel b/srcpkgs/libsvt-av1-devel new file mode 120000 index 00000000000..11a5a05a904 --- /dev/null +++ b/srcpkgs/libsvt-av1-devel @@ -0,0 +1 @@ +svt-av1 \ No newline at end of file diff --git a/srcpkgs/svt-av1/template b/srcpkgs/svt-av1/template new file mode 100644 index 00000000000..ab9386d90cb --- /dev/null +++ b/srcpkgs/svt-av1/template @@ -0,0 +1,37 @@ +# Template file for 'svt-av1' +pkgname=svt-av1 +version=0.9.1 +revision=1 +wrksrc="SVT-AV1-v${version}" +build_style=cmake +hostmakedepends="nasm" +short_desc="AV1-compliant encoder/decoder library core" +maintainer="tibequadorian " +license="BSD-3-Clause-Clear" +homepage="https://gitlab.com/AOMediaCodec/SVT-AV1" +changelog="https://gitlab.com/AOMediaCodec/SVT-AV1/-/raw/master/CHANGELOG.md" +distfiles="https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v${version}/SVT-AV1-v${version}.tar.gz" +checksum=714154c08a90a5eb1f09c4d0d766621132711137af127468dc122c04ca9784ae + +if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then + broken="32-bit is not supported" +fi + +libsvt-av1_package() { + short_desc+=" - library files" + pkg_install() { + vmove "usr/lib/libSvtAv1Dec.so.*" + vmove "usr/lib/libSvtAv1Enc.so.*" + vlicense LICENSE.md + } +} + +libsvt-av1-devel_package() { + short_desc+=" - development files" + depends="libsvt-av1>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}