media-libs/svt-av1: new package

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2020-11-09 21:54:52 +13:00
parent b82a3f3aff
commit b6533e5748
4 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST svt-av1-0.8.5.tar.gz 6319601 BLAKE2B f339d685250302c13e2ec1bb0e513496e651e75f325a1c79872942d4ab9353269ca2f2a70da1a6413ab2bc8f936aec0f0cf08b17ec12d672ee8efa6c26ebf15d SHA512 beb81d90096ab5fbce4df021bb0de7ab19d14f6faef548352d9b337543771f87eb2106d195e17747a569355fd560fac0629f63c8186a89b5a5c629d87e33609d

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>telans@posteo.de</email>
<name>Theo Anderson</name>
</maintainer>
<upstream>
<remote-id type="github">OpenVisualCloud/SVT-AV1</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic cmake
DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)"
HOMEPAGE="https://github.com/OpenVisualCloud/SVT-AV1"
if [ ${PV} = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/OpenVisualCloud/SVT-AV1.git"
else
SRC_URI="https://github.com/OpenVisualCloud/SVT-AV1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 -x86" # -x86: https://github.com/OpenVisualCloud/SVT-AV1/issues/1231
S="${WORKDIR}/SVT-AV1-${PV}"
fi
LICENSE="AOM BSD-2"
SLOT="0/0.8.5"
src_prepare() {
append-ldflags -Wl,-z,noexecstack
cmake_src_prepare
}

View File

@@ -0,0 +1,26 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic cmake
DESCRIPTION="Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)"
HOMEPAGE="https://github.com/OpenVisualCloud/SVT-AV1"
if [ ${PV} = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/OpenVisualCloud/SVT-AV1.git"
else
SRC_URI="https://github.com/OpenVisualCloud/SVT-AV1/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 -x86" # -x86: https://github.com/OpenVisualCloud/SVT-AV1/issues/1231
S="${WORKDIR}/SVT-AV1-${PV}"
fi
LICENSE="AOM BSD-2"
SLOT="0/0.8.5"
src_prepare() {
append-ldflags -Wl,-z,noexecstack
cmake_src_prepare
}