1 |
commit: f46497c72b24302716bddcb1efd4354d1864e3bc |
2 |
Author: Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Thu Mar 16 05:56:03 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 20 05:35:39 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46497c7 |
7 |
|
8 |
media-video/hevc-hm: new package, add 17.0 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/896120 |
11 |
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
media-video/hevc-hm/Manifest | 1 + |
15 |
media-video/hevc-hm/hevc-hm-17.0.ebuild | 41 +++++++++++++++++++++++++++++++++ |
16 |
media-video/hevc-hm/metadata.xml | 8 +++++++ |
17 |
3 files changed, 50 insertions(+) |
18 |
|
19 |
diff --git a/media-video/hevc-hm/Manifest b/media-video/hevc-hm/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..aacbea0eac4d |
22 |
--- /dev/null |
23 |
+++ b/media-video/hevc-hm/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST HM-HM-17.0.tar.gz 1692323 BLAKE2B fa620ce66acbc634d9768303fe8d60711759a9d6d1ff91b69680993ae45e4581c9df4f0a4fe36719de9713fd29ba020278cf7ef9a51ebee6b01dc578bfbd8f2f SHA512 e8492ee63326da497d0731ef3f70e9f11043618ab5a7244aed94b248dba3f64e301f0ec2d12447a0ef22cc630cfa425341f65b4cacef184b453ba5125b7f8738 |
26 |
|
27 |
diff --git a/media-video/hevc-hm/hevc-hm-17.0.ebuild b/media-video/hevc-hm/hevc-hm-17.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..b44fc2abdf86 |
30 |
--- /dev/null |
31 |
+++ b/media-video/hevc-hm/hevc-hm-17.0.ebuild |
32 |
@@ -0,0 +1,41 @@ |
33 |
+# Copyright 2023 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="HEVC HM reference software" |
41 |
+HOMEPAGE="https://hevc.hhi.fraunhofer.de/" |
42 |
+SRC_URI="https://vcgit.hhi.fraunhofer.de/jvet/HM/-/archive/HM-${PV}/HM-HM-${PV}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~mips" |
47 |
+ |
48 |
+S="${WORKDIR}/HM-HM-${PV}" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ sed -i 's/add_compile_options( "-msse4.1" )//g' CMakeLists.txt || die |
52 |
+ sed -i 's/list( APPEND _bb_warning_options "-Werror" )//g' \ |
53 |
+ cmake/CMakeBuild/cmake/modules/BBuildEnv.cmake || die |
54 |
+ |
55 |
+ cmake_src_prepare |
56 |
+} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local mycmakeargs=( |
60 |
+ -DHIGH_BITDEPTH=ON |
61 |
+ ) |
62 |
+ cmake_src_configure |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ newbin "${S}/bin/MCTSExtractorStaticp" "MCTSExtractorStatic" |
67 |
+ newbin "${S}/bin/parcatStaticp" "parcatStatic" |
68 |
+ newbin "${S}/bin/SEIRemovalAppStaticp" "SEIRemovalAppStatic" |
69 |
+ newbin "${S}/bin/TAppDecoderAnalyserStaticp" "TAppDecoderAnalyserStatic" |
70 |
+ newbin "${S}/bin/TAppDecoderStaticp" "TAppDecoderStatic" |
71 |
+ newbin "${S}/bin/TAppEncoderStaticp" "TAppEncoderStatic" |
72 |
+ dodoc "${S}/doc/software-manual.pdf" |
73 |
+} |
74 |
|
75 |
diff --git a/media-video/hevc-hm/metadata.xml b/media-video/hevc-hm/metadata.xml |
76 |
new file mode 100644 |
77 |
index 000000000000..a2dfee954457 |
78 |
--- /dev/null |
79 |
+++ b/media-video/hevc-hm/metadata.xml |
80 |
@@ -0,0 +1,8 @@ |
81 |
+<?xml version="1.0" encoding="UTF-8"?> |
82 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
83 |
+<pkgmetadata> |
84 |
+ <maintainer type="project"> |
85 |
+ <email>media-video@g.o</email> |
86 |
+ <name>Gentoo Video project</name> |
87 |
+ </maintainer> |
88 |
+</pkgmetadata> |