1 |
commit: f0f3677537f204ec4473b3b4b37d30276b890271 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 27 17:02:27 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 27 17:18:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f36775 |
7 |
|
8 |
media-libs/kvazaar: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/kvazaar/Manifest | 1 - |
14 |
media-libs/kvazaar/files/gcc7.patch | 46 ------------------------- |
15 |
media-libs/kvazaar/kvazaar-1.1.0.ebuild | 60 --------------------------------- |
16 |
media-libs/kvazaar/kvazaar-1.2.0.ebuild | 55 ------------------------------ |
17 |
4 files changed, 162 deletions(-) |
18 |
|
19 |
diff --git a/media-libs/kvazaar/Manifest b/media-libs/kvazaar/Manifest |
20 |
index a1c41dca370..2fa789b2afd 100644 |
21 |
--- a/media-libs/kvazaar/Manifest |
22 |
+++ b/media-libs/kvazaar/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
DIST greatest-1.2.1.tar.gz 19792 BLAKE2B e6abd20eebf3223311fcd62e341595318dd00f192cf4b62ef3f0443a3e10fee71f4283f836931fee52672f2b37398f86046ae97220c2b6c6045fec9f9bf5cda8 SHA512 c17162fa222c84fef7826ba5202aae573d516a71bc2c59c8991db2a76f7069ed53d00aaab1b792e0c7e4243fae38183764c2e7ae0a61faf2ff13e78b29ccc211 |
25 |
-DIST kvazaar-1.1.0.tar.gz 484601 BLAKE2B fc35fe5bbd12779d4e14b8cef6fbc6950f188ccffef567c77411bf32f80f2e355f235ad9df4762f8a615415778b322715d09d21a910a256d1bb2054bc13dbdb2 SHA512 72cee44e32c76c0a94acf33347457145d3f88d644fb4703588d0db6bff1c7064c9b623034efe4ba39219150767012544e4f45141b6a6183d41e4a29c6cb258b9 |
26 |
DIST kvazaar-1.2.0.tar.gz 486455 BLAKE2B e7b9ceee4e4edeb051128cfa798e59114cd9175b5ba8a4531c7e872327658c58d22ad21ce40b1b71c632e94cef96b78b77646048629683d24bf69107497f1acd SHA512 5a28c1b21e47d9f45e04ee40a253f478c4ce3c6c41134db8301e843ef0b5d620bce493eacf82ce1ddda88140aa4d2e9401612b63ff592fc2273cf532458d2bb4 |
27 |
|
28 |
diff --git a/media-libs/kvazaar/files/gcc7.patch b/media-libs/kvazaar/files/gcc7.patch |
29 |
deleted file mode 100644 |
30 |
index 12ff8ad00ff..00000000000 |
31 |
--- a/media-libs/kvazaar/files/gcc7.patch |
32 |
+++ /dev/null |
33 |
@@ -1,46 +0,0 @@ |
34 |
-commit 47a9f0de049e77e866ea5bdd4bc7c795ea6dd641 |
35 |
-Author: Ari Lemmetti <ari.lemmetti@×××××.com> |
36 |
-Date: Tue Apr 11 12:57:22 2017 +0300 |
37 |
- |
38 |
- Modify and use FILL_ARRAY macro to prevent warning on GCC 7 |
39 |
- |
40 |
- Following warning was given and is false positive |
41 |
- |
42 |
- error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size] |
43 |
- |
44 |
-diff --git a/src/global.h b/src/global.h |
45 |
-index bedcd49..5181674 100644 |
46 |
---- a/src/global.h |
47 |
-+++ b/src/global.h |
48 |
-@@ -219,7 +219,11 @@ typedef int16_t coeff_t; |
49 |
- // Fill a structure or a static array with val bytes. |
50 |
- #define FILL(var, val) memset(&(var), (val), sizeof(var)) |
51 |
- // Fill a number of elements in an array with val bytes. |
52 |
--#define FILL_ARRAY(ar, val, size) memset((ar), (val), (size) * sizeof(*(ar))) |
53 |
-+#define FILL_ARRAY(ar, val, size) \ |
54 |
-+{\ |
55 |
-+ void *temp_ptr = (void*)(ar);\ |
56 |
-+ memset((temp_ptr), (val), (size) * sizeof(*(ar)));\ |
57 |
-+} |
58 |
- |
59 |
- #define FREE_POINTER(pointer) { free((void*)pointer); pointer = NULL; } |
60 |
- #define MOVE_POINTER(dst_pointer,src_pointer) { dst_pointer = src_pointer; src_pointer = NULL; } |
61 |
-diff --git a/src/rdo.c b/src/rdo.c |
62 |
-index 52305fd..2579f28 100644 |
63 |
---- a/src/rdo.c |
64 |
-+++ b/src/rdo.c |
65 |
-@@ -558,10 +558,10 @@ void kvz_rdoq(encoder_state_t * const state, coeff_t *coef, coeff_t *dest_coeff, |
66 |
- // Explicitly tell the only possible numbers of elements to be zeroed. |
67 |
- // Hope the compiler is able to utilize this information. |
68 |
- switch (cg_num) { |
69 |
-- case 1: memset(sig_coeffgroup_flag, 0, 1 * sizeof(sig_coeffgroup_flag[0])); break; |
70 |
-- case 4: memset(sig_coeffgroup_flag, 0, 4 * sizeof(sig_coeffgroup_flag[0])); break; |
71 |
-- case 16: memset(sig_coeffgroup_flag, 0, 16 * sizeof(sig_coeffgroup_flag[0])); break; |
72 |
-- case 64: memset(sig_coeffgroup_flag, 0, 64 * sizeof(sig_coeffgroup_flag[0])); break; |
73 |
-+ case 1: FILL_ARRAY(sig_coeffgroup_flag, 0, 1); break; |
74 |
-+ case 4: FILL_ARRAY(sig_coeffgroup_flag, 0, 4); break; |
75 |
-+ case 16: FILL_ARRAY(sig_coeffgroup_flag, 0, 16); break; |
76 |
-+ case 64: FILL_ARRAY(sig_coeffgroup_flag, 0, 64); break; |
77 |
- default: assert(0 && "There should be 1, 4, 16 or 64 coefficient groups"); |
78 |
- } |
79 |
- |
80 |
|
81 |
diff --git a/media-libs/kvazaar/kvazaar-1.1.0.ebuild b/media-libs/kvazaar/kvazaar-1.1.0.ebuild |
82 |
deleted file mode 100644 |
83 |
index 88a19051ba6..00000000000 |
84 |
--- a/media-libs/kvazaar/kvazaar-1.1.0.ebuild |
85 |
+++ /dev/null |
86 |
@@ -1,60 +0,0 @@ |
87 |
-# Copyright 1999-2018 Gentoo Foundation |
88 |
-# Distributed under the terms of the GNU General Public License v2 |
89 |
- |
90 |
-EAPI=5 |
91 |
- |
92 |
-SCM="" |
93 |
- |
94 |
-GREATEST_PV="1.2.1" |
95 |
- |
96 |
-if [ "${PV#9999}" != "${PV}" ] ; then |
97 |
- SCM="git-r3" |
98 |
- EGIT_REPO_URI="https://github.com/ultravideo/kvazaar" |
99 |
-fi |
100 |
- |
101 |
-inherit eutils multilib autotools multilib-minimal toolchain-funcs ${SCM} |
102 |
- |
103 |
-DESCRIPTION="An open-source HEVC encoder" |
104 |
-HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar" |
105 |
- |
106 |
-if [ "${PV#9999}" = "${PV}" ] ; then |
107 |
- SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz |
108 |
- test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )" |
109 |
- KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86" |
110 |
-fi |
111 |
- |
112 |
-LICENSE="LGPL-2.1" |
113 |
-# subslot = libkvazaar major |
114 |
-SLOT="0/3" |
115 |
-IUSE="static-libs test" |
116 |
- |
117 |
-DEPEND="" |
118 |
-RDEPEND="${DEPEND}" |
119 |
-REQUIRED_USE="test? ( static-libs )" |
120 |
- |
121 |
-ASM_DEP=">=dev-lang/yasm-1.2.0" |
122 |
-DEPEND="${DEPEND} |
123 |
- abi_x86_32? ( ${ASM_DEP} ) |
124 |
- abi_x86_64? ( ${ASM_DEP} )" |
125 |
- |
126 |
-src_prepare() { |
127 |
- epatch "${FILESDIR}/gcc7.patch" |
128 |
- eautoreconf |
129 |
- if use test && [ "${PV#9999}" = "${PV}" ]; then |
130 |
- # https://bugs.gentoo.org/show_bug.cgi?id=595932 |
131 |
- rmdir "${S}/greatest" || die |
132 |
- mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die |
133 |
- fi |
134 |
-} |
135 |
- |
136 |
-multilib_src_configure() { |
137 |
- ECONF_SOURCE="${S}" \ |
138 |
- econf \ |
139 |
- --disable-werror \ |
140 |
- --docdir "/usr/share/doc/${PF}" \ |
141 |
- $(use_enable static-libs static) |
142 |
-} |
143 |
- |
144 |
-multilib_src_install_all() { |
145 |
- find "${ED}" -name '*.la' -delete |
146 |
-} |
147 |
|
148 |
diff --git a/media-libs/kvazaar/kvazaar-1.2.0.ebuild b/media-libs/kvazaar/kvazaar-1.2.0.ebuild |
149 |
deleted file mode 100644 |
150 |
index 48ce175d048..00000000000 |
151 |
--- a/media-libs/kvazaar/kvazaar-1.2.0.ebuild |
152 |
+++ /dev/null |
153 |
@@ -1,55 +0,0 @@ |
154 |
-# Copyright 1999-2018 Gentoo Authors |
155 |
-# Distributed under the terms of the GNU General Public License v2 |
156 |
- |
157 |
-EAPI=6 |
158 |
- |
159 |
-GREATEST_PV="1.2.1" |
160 |
- |
161 |
-if [[ ${PV} = *9999 ]] ; then |
162 |
- inherit git-r3 |
163 |
- EGIT_REPO_URI="https://github.com/ultravideo/kvazaar" |
164 |
-else |
165 |
- SRC_URI="https://github.com/ultravideo/kvazaar/archive/v${PV}.tar.gz -> ${P}.tar.gz |
166 |
- test? ( https://github.com/silentbicycle/greatest/archive/v${GREATEST_PV}.tar.gz -> greatest-${GREATEST_PV}.tar.gz )" |
167 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
168 |
-fi |
169 |
-inherit autotools flag-o-matic multilib-minimal toolchain-funcs |
170 |
- |
171 |
-DESCRIPTION="Open-source HEVC encoder" |
172 |
-HOMEPAGE="http://ultravideo.cs.tut.fi/ https://github.com/ultravideo/kvazaar" |
173 |
- |
174 |
-LICENSE="LGPL-2.1" |
175 |
-# subslot = libkvazaar major |
176 |
-SLOT="0/4" |
177 |
-IUSE="static-libs test" |
178 |
-REQUIRED_USE="test? ( static-libs )" |
179 |
- |
180 |
-ASM_DEP=">=dev-lang/yasm-1.2.0" |
181 |
-RDEPEND="" |
182 |
-DEPEND="${RDEPEND} |
183 |
- abi_x86_32? ( ${ASM_DEP} ) |
184 |
- abi_x86_64? ( ${ASM_DEP} ) |
185 |
-" |
186 |
- |
187 |
-src_prepare() { |
188 |
- default |
189 |
- sed -e "/^dist_doc_DATA/s/COPYING //" -i Makefile.am || die |
190 |
- eautoreconf |
191 |
- if use test && [[ ${PV} != *9999 ]]; then |
192 |
- # https://bugs.gentoo.org/show_bug.cgi?id=595932 |
193 |
- rmdir "${S}/greatest" || die |
194 |
- mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die |
195 |
- fi |
196 |
- # Some m4 macros append Werror, we do not want that. |
197 |
- append-flags "-Wno-error" |
198 |
-} |
199 |
- |
200 |
-multilib_src_configure() { |
201 |
- ECONF_SOURCE="${S}" econf \ |
202 |
- --disable-werror \ |
203 |
- $(use_enable static-libs static) |
204 |
-} |
205 |
- |
206 |
-multilib_src_install_all() { |
207 |
- find "${ED}" -name '*.la' -delete || die |
208 |
-} |