1 |
commit: de75e752a87ede1b2e0c003e6c7b5a66bc7dc377 |
2 |
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> |
3 |
AuthorDate: Tue Dec 29 13:37:50 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 13:37:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de75e752 |
7 |
|
8 |
media-libs/libde265: bump to 1.0.8 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
media-libs/libde265/Manifest | 1 + |
15 |
media-libs/libde265/libde265-1.0.8.ebuild | 96 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 97 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/libde265/Manifest b/media-libs/libde265/Manifest |
19 |
index b1a63c11584..465223a3e67 100644 |
20 |
--- a/media-libs/libde265/Manifest |
21 |
+++ b/media-libs/libde265/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST libde265-1.0.3.tar.gz 399996 BLAKE2B 988b21085f82d3b33b0480542677be96db5219c1b767aae3674f89862fdaf3355dcfea3fa99699798a4fcc6b72a63a3a6f61a3fd8d2ea8483231205cd6d87175 SHA512 0153632afcc9733950e8354997ccd93eddad90e8e0f7362bfe49b93b11cb1756cf803d0ba5c07042aee80e18227613af768ca82baf7891c687edf5e253a129c4 |
24 |
DIST libde265-1.0.5.tar.gz 381041 BLAKE2B d561a0e5f308bed557237b88317985912537f76701783bc30d81305cf9026a853746449ece5b3092534466ea13d67bac10b3258580c8de07489844bbef0395db SHA512 3ff7310fc4621cac0ef1cb9bbc4df61724f8943d57f5263a3663a77f4d90d84716b2a708ee9fec306e909dc8b5e7fe645a641b6a6db795a89a01799be910831e |
25 |
+DIST libde265-1.0.8.tar.gz 381963 BLAKE2B 0577623de2ef86e1122b5b5c3642a750bb222c4988a996168e060e8ffd9f5c0787d31331cc8738362d3fc3fb31e8eb659629cab068f0ff1c71de9d15ed1f2ceb SHA512 0007138cb5da0d4cad1e118c01de249580f39c387a11f490d1e1f63ad0968ee2f7951e54580f298b3dbe31e5a3d1a7fa04454e11cbb82beaf8a9aaf56f5532ed |
26 |
|
27 |
diff --git a/media-libs/libde265/libde265-1.0.8.ebuild b/media-libs/libde265/libde265-1.0.8.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..29c28d991c8 |
30 |
--- /dev/null |
31 |
+++ b/media-libs/libde265/libde265-1.0.8.ebuild |
32 |
@@ -0,0 +1,96 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools multilib-minimal |
39 |
+ |
40 |
+if [[ ${PV} == *9999 ]] ; then |
41 |
+ EGIT_REPO_URI="https://github.com/strukturag/${PN}.git" |
42 |
+ inherit git-r3 |
43 |
+else |
44 |
+ SRC_URI="https://github.com/strukturag/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="Open h.265 video codec implementation" |
49 |
+HOMEPAGE="https://github.com/strukturag/libde265" |
50 |
+ |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+IUSE="enc265 dec265 sdl tools debug cpu_flags_x86_sse4_1 cpu_flags_arm_neon cpu_flags_arm_thumb" |
54 |
+# IUSE+=" sherlock265" # Require libvideogfx or libswscale |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dec265? ( |
58 |
+ sdl? ( media-libs/libsdl ) |
59 |
+ )" |
60 |
+ |
61 |
+# Sherlock265 require libvideogfx or libswscale |
62 |
+#RDEPEND+=" |
63 |
+# sherlock265? ( |
64 |
+# media-libs/libsdl |
65 |
+# dev-qt/qtcore:5 |
66 |
+# dev-qt/qtgui:5 |
67 |
+# dev-qt/qtwidgets:5 |
68 |
+# media-libs/libswscale |
69 |
+# ) |
70 |
+#" |
71 |
+ |
72 |
+DEPEND="${RDEPEND}" |
73 |
+BDEPEND="dec265? ( virtual/pkgconfig )" |
74 |
+ |
75 |
+# Sherlock265 require libvideogfx or libswscale |
76 |
+#BDEPEND+=" sherlock265? ( virtual/pkgconfig )" |
77 |
+ |
78 |
+PATCHES=( "${FILESDIR}"/${PN}-1.0.2-qtbindir.patch ) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ |
83 |
+ eautoreconf |
84 |
+ |
85 |
+ # without this, headers would be missing and make would fail |
86 |
+ multilib_copy_sources |
87 |
+} |
88 |
+ |
89 |
+multilib_src_configure() { |
90 |
+ local myeconfargs=( |
91 |
+ --disable-static |
92 |
+ --enable-log-error |
93 |
+ ax_cv_check_cflags___msse4_1=$(usex cpu_flags_x86_sse4_1) |
94 |
+ ax_cv_check_cflags___mfpu_neon=$(usex cpu_flags_arm_neon) |
95 |
+ $(use_enable cpu_flags_arm_thumb thumb) |
96 |
+ $(use_enable debug log-info) |
97 |
+ $(use_enable debug log-debug) |
98 |
+ $(use_enable debug log-trace) |
99 |
+ $(multilib_native_use_enable enc265 encoder) |
100 |
+ $(multilib_native_use_enable dec265) |
101 |
+ ) |
102 |
+ |
103 |
+ # myeconfargs+=( $(multilib_native_use_enable sherlock265) ) # Require libvideogfx or libswscale |
104 |
+ myeconfargs+=( --disable-sherlock265 ) |
105 |
+ |
106 |
+ econf "${myeconfargs[@]}" |
107 |
+} |
108 |
+ |
109 |
+multilib_src_install() { |
110 |
+ default |
111 |
+ |
112 |
+ if multilib_is_native_abi; then |
113 |
+ # Remove useless, unready and test tools |
114 |
+ rm "${ED}"/usr/bin/{tests,gen-enc-table,yuv-distortion} || die |
115 |
+ if ! use tools; then |
116 |
+ rm "${ED}"/usr/bin/{bjoentegaard,block-rate-estim,rd-curves} || die |
117 |
+ rm "${ED}"/usr/bin/acceleration_speed || die |
118 |
+ fi |
119 |
+ else |
120 |
+ # Remove all non-native binary tools |
121 |
+ rm "${ED}"/usr/bin/* || die |
122 |
+ fi |
123 |
+} |
124 |
+ |
125 |
+multilib_src_install_all() { |
126 |
+ find "${ED}" -name '*.la' -delete || die |
127 |
+ einstalldocs |
128 |
+} |