commit:     e31085dbd2d920a435b1bebc7f132d4d8f20ea63
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 10:57:07 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Dec  6 17:40:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e31085db

media-libs/svt-hevc: new package, add 1.5.1, 9999, import from ::guru

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 licenses/AOM                              | 107 ++++++++++++++++++++++++++++++
 media-libs/svt-hevc/Manifest              |   1 +
 media-libs/svt-hevc/metadata.xml          |  18 +++++
 media-libs/svt-hevc/svt-hevc-1.5.1.ebuild |  28 ++++++++
 media-libs/svt-hevc/svt-hevc-9999.ebuild  |  28 ++++++++
 profiles/license_groups                   |   2 +-
 6 files changed, 183 insertions(+), 1 deletion(-)

diff --git a/licenses/AOM b/licenses/AOM
new file mode 100644
index 000000000000..1de4dd7531b9
--- /dev/null
+++ b/licenses/AOM
@@ -0,0 +1,107 @@
+**Alliance for Open Media Patent License 1.0**
+
+ 1. **License Terms.**
+
+    **Patent License.** Subject to the terms and conditions of this License, 
each
+     Licensor, on behalf of itself and successors in interest and assigns,
+     grants Licensee a non-sublicensable, perpetual, worldwide, non-exclusive,
+     no-charge, royalty-free, irrevocable (except as expressly stated in this
+     License) patent license to its Necessary Claims to make, use, sell, offer
+     for sale, import or distribute any Implementation.
+
+     **Conditions.**
+
+    *Availability.* As a condition to the grant of rights to Licensee to make,
+       sell, offer for sale, import or distribute an Implementation under
+       Section 1.1, Licensee must make its Necessary Claims available under
+       this License, and must reproduce this License with any Implementation
+       as follows:
+
+          a. For distribution in source code, by including this License in the
+          root directory of the source code with its Implementation.
+
+          b. For distribution in any other form (including binary, object form,
+          and/or hardware description code (e.g., HDL, RTL, Gate Level Netlist,
+          GDSII, etc.)), by including this License in the documentation, legal
+          notices, and/or other written materials provided with the
+          Implementation.
+
+    *Additional Conditions.* This license is directly from Licensor to
+       Licensee.  Licensee acknowledges as a condition of benefiting from it
+       that no rights from Licensor are received from suppliers, distributors,
+       or otherwise in connection with this License.
+
+    **Defensive Termination**. If any Licensee, its Affiliates, or its agents
+     initiates patent litigation or files, maintains, or voluntarily
+     participates in a lawsuit against another entity or any person asserting
+     that any Implementation infringes Necessary Claims, any patent licenses
+     granted under this License directly to the Licensee are immediately
+     terminated as of the date of the initiation of action unless 1) that suit
+     was in response to a corresponding suit regarding an Implementation first
+     brought against an initiating entity, or 2) that suit was brought to
+     enforce the terms of this License (including intervention in a third-party
+     action by a Licensee).
+
+    **Disclaimers.** The Reference Implementation and Specification are 
provided
+     "AS IS" and without warranty. The entire risk as to implementing or
+     otherwise using the Reference Implementation or Specification is assumed
+     by the implementer and user. Licensor expressly disclaims any warranties
+     (express, implied, or otherwise), including implied warranties of
+     merchantability, non-infringement, fitness for a particular purpose, or
+     title, related to the material. IN NO EVENT WILL LICENSOR BE LIABLE TO
+     ANY OTHER PARTY FOR LOST PROFITS OR ANY FORM OF INDIRECT, SPECIAL,
+     INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER FROM ANY CAUSES OF
+     ACTION OF ANY KIND WITH RESPECT TO THIS LICENSE, WHETHER BASED ON BREACH
+     OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND WHETHER OR
+     NOT THE OTHER PARTRY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+2. **Definitions.**
+
+     **Affiliate.**  "Affiliate" means an entity that directly or indirectly
+     Controls, is Controlled by, or is under common Control of that party.
+
+    **Control.** "Control" means direct or indirect control of more than 50% of
+     the voting power to elect directors of that corporation, or for any other
+     entity, the power to direct management of such entity.
+
+    **Decoder.**  "Decoder" means any decoder that conforms fully with all
+     non-optional portions of the Specification.
+
+    **Encoder.**  "Encoder" means any encoder that produces a bitstream that 
can
+     be decoded by a Decoder only to the extent it produces such a bitstream.
+
+    **Final Deliverable.**  "Final Deliverable" means the final version of a
+     deliverable approved by the Alliance for Open Media as a Final
+     Deliverable.
+
+    **Implementation.**  "Implementation" means any implementation, including 
the
+     Reference Implementation, that is an Encoder and/or a Decoder. An
+     Implementation also includes components of an Implementation only to the
+     extent they are used as part of an Implementation.
+
+    **License.** "License" means this license.
+
+    **Licensee.** "Licensee" means any person or entity who exercises patent
+     rights granted under this License.
+
+    **Licensor.**  "Licensor" means (i) any Licensee that makes, sells, offers
+     for sale, imports or distributes any Implementation, or (ii) a person
+     or entity that has a licensing obligation to the Implementation as a
+     result of its membership and/or participation in the Alliance for Open
+     Media working group that developed the Specification.
+
+    **Necessary Claims.**  "Necessary Claims" means all claims of patents or
+      patent applications, (a) that currently or at any time in the future,
+      are owned or controlled by the Licensor, and (b) (i) would be an
+      Essential Claim as defined by the W3C Policy as of February 5, 2004
+      (https://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential)
+      as if the Specification was a W3C Recommendation; or (ii) are infringed
+      by the Reference Implementation.
+
+     **Reference Implementation.** "Reference Implementation" means an Encoder
+      and/or Decoder released by the Alliance for Open Media as a Final
+      Deliverable.
+
+     **Specification.** "Specification" means the specification designated by
+      the Alliance for Open Media as a Final Deliverable for which this
+      License was issued.

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>[email protected]</email>
+        <name>James Beddek</name>
+    </maintainer>
+    <maintainer type="project" proxied="proxy">
+        <name>Proxy Maintainers</name>
+        <email>[email protected]</email>
+    </maintainer>
+    <maintainer type="project">
+        <email>[email protected]</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
+}

diff --git a/profiles/license_groups b/profiles/license_groups
index bb239d02faf6..44388deb085a 100644
--- a/profiles/license_groups
+++ b/profiles/license_groups
@@ -32,7 +32,7 @@ OSI-APPROVED 0BSD AFL-3.0 AGPL-3 AGPL-3+ Apache-1.1 
Apache-2.0 APL-1.0 APSL-2 Ar
 # Licenses in this list should NOT appear directly or indirectly in
 # @FSF-APPROVED or @OSI-APPROVED.
 # Note: Licenses for fonts should be included in @MISC-FREE-DOCS.
-MISC-FREE AIFFWriter.m Allegro alternate AMPAS BEER-WARE boehm-gc BSD-1 
BSD-2-with-patent BSD-with-attribution BSD-with-disclosure buddy 
bufexplorer.vim BZIP2 CAOSL CDDL-1.1 CDDL-Schily CMake coldspringharbor CPL-0.5 
CRACKLIB Crypt-IDEA curl DES docbook dom4j DUMB-0.9.3 ElementTree Emacs 
ErlPL-1.1 FastCGI feh File-MMagic Flashpix FLEX flexmock FLTK freetts FVWM gd 
gsm HTML-Tidy iASL icu IDPL imagemagick Info-ZIP inner-net Interbase-1.0 ipadic 
Ispell JDOM JOVE Khronos-CLHPP LambdaMOO LIBGLOSS libmng libpng libpng2 libtiff 
LLGPL-2.1 LPPL-1.3 lsof matplotlib Mini-XML minpack MIT-with-advertising mm 
mpich2 NCSA-AMD NCSA-HDF netcat NEWLIB ngrep Old-MIT openafs-krb5-a Openwall 
otter par PCRE perforce photopc PHP-2.02 pngcrush pngnq Princeton psutils rc 
rdisc regexp-UofT repoze RSA RtMidi rwpng sash scanlogd sdlsasteroids Sendmail 
Sendmail-Open-Source SMAIL Snd SSLeay symlinks Sympow-BSD tablelist tcltk 
tcp_wrappers_license TeX TeX-other-free TextMate-bundle the-Click-license 
Time-Format T
 ime-modules tm-align torque-2.5 totd Toyoda trio UCAR-Unidata URT VTK w3m wm2 
x2x xbatt xboing XC Xdebug xtrs ZSH
+MISC-FREE AIFFWriter.m AOM Allegro alternate AMPAS BEER-WARE boehm-gc BSD-1 
BSD-2-with-patent BSD-with-attribution BSD-with-disclosure buddy 
bufexplorer.vim BZIP2 CAOSL CDDL-1.1 CDDL-Schily CMake coldspringharbor CPL-0.5 
CRACKLIB Crypt-IDEA curl DES docbook dom4j DUMB-0.9.3 ElementTree Emacs 
ErlPL-1.1 FastCGI feh File-MMagic Flashpix FLEX flexmock FLTK freetts FVWM gd 
gsm HTML-Tidy iASL icu IDPL imagemagick Info-ZIP inner-net Interbase-1.0 ipadic 
Ispell JDOM JOVE Khronos-CLHPP LambdaMOO LIBGLOSS libmng libpng libpng2 libtiff 
LLGPL-2.1 LPPL-1.3 lsof matplotlib Mini-XML minpack MIT-with-advertising mm 
mpich2 NCSA-AMD NCSA-HDF netcat NEWLIB ngrep Old-MIT openafs-krb5-a Openwall 
otter par PCRE perforce photopc PHP-2.02 pngcrush pngnq Princeton psutils rc 
rdisc regexp-UofT repoze RSA RtMidi rwpng sash scanlogd sdlsasteroids Sendmail 
Sendmail-Open-Source SMAIL Snd SSLeay symlinks Sympow-BSD tablelist tcltk 
tcp_wrappers_license TeX TeX-other-free TextMate-bundle the-Click-license 
Time-Form
 at Time-modules tm-align torque-2.5 totd Toyoda trio UCAR-Unidata URT VTK w3m 
wm2 x2x xbatt xboing XC Xdebug xtrs ZSH
 
 # Metaset for all free software
 FREE-SOFTWARE @FSF-APPROVED @OSI-APPROVED @MISC-FREE

Reply via email to