diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-11-21 11:57:07 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-12-06 18:40:54 +0100 |
commit | e31085dbd2d920a435b1bebc7f132d4d8f20ea63 (patch) | |
tree | 573adf6db4929c5854b39df2deb01a265351f767 /media-libs | |
parent | dev-libs/libpcre2: add 10.41 (diff) | |
download | gentoo-e31085dbd2d920a435b1bebc7f132d4d8f20ea63.tar.gz gentoo-e31085dbd2d920a435b1bebc7f132d4d8f20ea63.tar.bz2 gentoo-e31085dbd2d920a435b1bebc7f132d4d8f20ea63.zip |
media-libs/svt-hevc: new package, add 1.5.1, 9999, import from ::guru
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/svt-hevc/Manifest | 1 | ||||
-rw-r--r-- | media-libs/svt-hevc/metadata.xml | 18 | ||||
-rw-r--r-- | media-libs/svt-hevc/svt-hevc-1.5.1.ebuild | 28 | ||||
-rw-r--r-- | media-libs/svt-hevc/svt-hevc-9999.ebuild | 28 |
4 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/svt-hevc/Manifest b/media-libs/svt-hevc/Manifest new file mode 100644 index 000000000000..54f24f0e747d --- /dev/null +++ b/media-libs/svt-hevc/Manifest @@ -0,0 +1 @@ +DIST svt-hevc-1.5.1.tar.gz 1220295 BLAKE2B e70dc07f74746cb69561818b642d8ce5efd9e731b3376889556ddea0f647f8deaa4edf7a4993d86a5b1100db37d02f928d53eeaa594b7d5c582b92c30761e470 SHA512 f5b9d9a090cb04ada0a3f310522f00b619ae628b8474fe7e1c7f562a017b5a9d0c8c58ab9a35b43cb19f2568fbc59e0395dcd517b7983924b175393ad2ba4299 diff --git a/media-libs/svt-hevc/metadata.xml b/media-libs/svt-hevc/metadata.xml new file mode 100644 index 000000000000..d8170c303fcc --- /dev/null +++ b/media-libs/svt-hevc/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>telans@posteo.de</email> + <name>James Beddek</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <name>Proxy Maintainers</name> + <email>proxy-maint@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">OpenVisualCloud/SVT-HEVC</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-libs/svt-hevc/svt-hevc-1.5.1.ebuild b/media-libs/svt-hevc/svt-hevc-1.5.1.ebuild new file mode 100644 index 000000000000..97889df141fc --- /dev/null +++ b/media-libs/svt-hevc/svt-hevc-1.5.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic cmake + +DESCRIPTION="Scalable Video Technology for HEVC (SVT-HEVC Encoder)" +HOMEPAGE="https://github.com/OpenVisualCloud/SVT-HEVC" + +if [ ${PV} = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/OpenVisualCloud/SVT-HEVC.git" +else + SRC_URI="https://github.com/OpenVisualCloud/SVT-HEVC/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/SVT-HEVC-${PV}" +fi + +LICENSE="AOM BSD-2" +SLOT="0" + +BDEPEND="dev-lang/nasm" + +src_prepare() { + append-ldflags -Wl,-z,noexecstack + cmake_src_prepare +} diff --git a/media-libs/svt-hevc/svt-hevc-9999.ebuild b/media-libs/svt-hevc/svt-hevc-9999.ebuild new file mode 100644 index 000000000000..97889df141fc --- /dev/null +++ b/media-libs/svt-hevc/svt-hevc-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic cmake + +DESCRIPTION="Scalable Video Technology for HEVC (SVT-HEVC Encoder)" +HOMEPAGE="https://github.com/OpenVisualCloud/SVT-HEVC" + +if [ ${PV} = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/OpenVisualCloud/SVT-HEVC.git" +else + SRC_URI="https://github.com/OpenVisualCloud/SVT-HEVC/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/SVT-HEVC-${PV}" +fi + +LICENSE="AOM BSD-2" +SLOT="0" + +BDEPEND="dev-lang/nasm" + +src_prepare() { + append-ldflags -Wl,-z,noexecstack + cmake_src_prepare +} |