Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libpostproc/, profiles/, profiles/features/hardened/amd64/, ...
Date: Tue, 28 Apr 2020 17:40:58
Message-Id: 1588095603.e3e6b70b3583653da8f064d2880e0342d6f396e6.mattst88@gentoo
1 commit: e3e6b70b3583653da8f064d2880e0342d6f396e6
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 28 17:37:30 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 17:40:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e6b70b
7
8 media-libs/libpostproc: Remove
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-libs/libpostproc/Manifest | 1 -
13 .../libpostproc-10.20140517-support-MMXEXT.patch | 26 -------
14 .../libpostproc/libpostproc-10.20140517-r1.ebuild | 89 ----------------------
15 media-libs/libpostproc/libpostproc-9999.ebuild | 85 ---------------------
16 media-libs/libpostproc/metadata.xml | 13 ----
17 profiles/features/hardened/amd64/package.use | 1 -
18 profiles/package.mask | 5 --
19 7 files changed, 220 deletions(-)
20
21 diff --git a/media-libs/libpostproc/Manifest b/media-libs/libpostproc/Manifest
22 deleted file mode 100644
23 index 4f61e538f83..00000000000
24 --- a/media-libs/libpostproc/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST libpostproc-10.20140517.tar.xz 65556 BLAKE2B 374dc84fb52f32958bcf9daeaabf2be1405d444f72d1f1ccb22e42b657489adad55199e5be27fa80cdcc21ed4480bae901925fbd833bcd30625d82720d481800 SHA512 0d6dca077c99ac569d892bc92cd08c6bf3e3a5e30e623ced20227b5bd1bd1aa3ecd150bfc900659accd77b997eb64b4d6f0538f9b6161d190ef6c69dcaf47893
28
29 diff --git a/media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch b/media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch
30 deleted file mode 100644
31 index 8f7d5adc0ba..00000000000
32 --- a/media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch
33 +++ /dev/null
34 @@ -1,26 +0,0 @@
35 -Bug: https://bugs.gentoo.org/621172
36 -Upstream commit: https://github.com/lu-zero/postproc/pull/1/commits/d0c9ca711ef69889ebd0e44da90dccc722fe663e
37 -
38 -From d0c9ca711ef69889ebd0e44da90dccc722fe663e Mon Sep 17 00:00:00 2001
39 -From: Peter-Levine <plevine457@×××××.com>
40 -Date: Tue, 24 Oct 2017 19:24:10 -0400
41 -Subject: [PATCH] Use AV_CPU_FLAG_MMXEXT
42 -
43 -Use AV_CPU_FLAG_MMXEXT instead of AV_CPU_FLAG_MMX2.
44 ----
45 - libpostproc/postprocess.c | 2 +-
46 - 1 file changed, 1 insertion(+), 1 deletion(-)
47 -
48 -diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
49 -index 63b6822..951d1f0 100644
50 ---- a/libpostproc/postprocess.c
51 -+++ b/libpostproc/postprocess.c
52 -@@ -961,7 +961,7 @@ static int get_cpu_caps(int cpuCaps)
53 -
54 - if (caps & AV_CPU_FLAG_MMX)
55 - cpuCaps |= PP_CPU_CAPS_MMX;
56 -- if (caps & AV_CPU_FLAG_MMX2)
57 -+ if (caps & AV_CPU_FLAG_MMXEXT)
58 - cpuCaps |= PP_CPU_CAPS_MMX2;
59 - if (caps & AV_CPU_FLAG_3DNOW)
60 - cpuCaps |= PP_CPU_CAPS_3DNOW;
61
62 diff --git a/media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild b/media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild
63 deleted file mode 100644
64 index 7aaf82daa19..00000000000
65 --- a/media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild
66 +++ /dev/null
67 @@ -1,89 +0,0 @@
68 -# Copyright 1999-2020 Gentoo Authors
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI="5"
72 -
73 -SCM=""
74 -if [ "${PV#9999}" != "${PV}" ] ; then
75 - SCM="git-2"
76 - EGIT_REPO_URI="https://github.com/lu-zero/postproc.git"
77 -fi
78 -
79 -inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
80 -
81 -DESCRIPTION="Video post processing library"
82 -HOMEPAGE="https://github.com/lu-zero/postproc"
83 -if [ "${PV#9999}" != "${PV}" ] ; then
84 - SRC_URI=""
85 -elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
86 - SRC_URI="mirror://gentoo/${P}.tar.xz"
87 -else # Release
88 - SRC_URI="https://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz"
89 -fi
90 -
91 -LICENSE="GPL-2"
92 -SLOT="0"
93 -if [ "${PV#9999}" = "${PV}" ] ; then
94 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
95 -fi
96 -IUSE="pic static-libs"
97 -
98 -# String for CPU features in the useflag[:configure_option] form
99 -# if :configure_option isn't set, it will use 'useflag' as configure option
100 -CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow altivec cpu_flags_x86_mmx:mmx cpu_flags_x86_mmxext:mmxext"
101 -for i in ${CPU_FEATURES}; do
102 - IUSE="${IUSE} ${i%:*}"
103 -done
104 -
105 -RDEPEND="
106 - >=media-video/libav-0.8.2-r2:0=
107 - !media-video/ffmpeg:0"
108 -DEPEND="${RDEPEND}"
109 -
110 -src_prepare() {
111 - epatch "${FILESDIR}"/${P}-support-MMXEXT.patch
112 -}
113 -
114 -multilib_src_configure() {
115 - local myconf=( ${EXTRA_LIBPOSTPROC_CONF} )
116 - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
117 - [[ "${i}" = "native" ]] && i="host" # bug #273421
118 - myconf+=( --cpu=${i} )
119 - break
120 - done
121 -
122 - if use pic ; then
123 - myconf+=( --enable-pic )
124 - # disable asm code if PIC is required
125 - # as the provided asm decidedly is not PIC for x86.
126 - [[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
127 - fi
128 -
129 - # cross compile support
130 - if tc-is-cross-compiler ; then
131 - myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
132 - case ${CHOST} in
133 - *freebsd*)
134 - myconf+=( --target-os=freebsd )
135 - ;;
136 - mingw32*)
137 - myconf+=( --target-os=mingw32 )
138 - ;;
139 - *linux*)
140 - myconf+=( --target-os=linux )
141 - ;;
142 - esac
143 - fi
144 -
145 - "${S}"/configure \
146 - --prefix="${EPREFIX}/usr" \
147 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
148 - --shlibdir="${EPREFIX}/usr/$(get_libdir)" \
149 - --enable-shared \
150 - --cc="$(tc-getCC)" \
151 - --ar="$(tc-getAR)" \
152 - --optflags="${CFLAGS}" \
153 - --extra-cflags="${CFLAGS}" \
154 - $(use_enable static-libs static) \
155 - "${myconf[@]}" || die
156 -}
157
158 diff --git a/media-libs/libpostproc/libpostproc-9999.ebuild b/media-libs/libpostproc/libpostproc-9999.ebuild
159 deleted file mode 100644
160 index 1ce9ec065f8..00000000000
161 --- a/media-libs/libpostproc/libpostproc-9999.ebuild
162 +++ /dev/null
163 @@ -1,85 +0,0 @@
164 -# Copyright 1999-2019 Gentoo Authors
165 -# Distributed under the terms of the GNU General Public License v2
166 -
167 -EAPI="5"
168 -
169 -SCM=""
170 -if [ "${PV#9999}" != "${PV}" ] ; then
171 - SCM="git-r3"
172 - EGIT_REPO_URI="https://github.com/lu-zero/postproc.git"
173 -fi
174 -
175 -inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
176 -
177 -DESCRIPTION="Video post processing library"
178 -HOMEPAGE="https://github.com/lu-zero/postproc"
179 -if [ "${PV#9999}" != "${PV}" ] ; then
180 - SRC_URI=""
181 -elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
182 - SRC_URI="mirror://gentoo/${P}.tar.xz"
183 -else # Release
184 - SRC_URI="https://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz"
185 -fi
186 -
187 -LICENSE="GPL-2"
188 -SLOT="0"
189 -if [ "${PV#9999}" = "${PV}" ] ; then
190 - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
191 -fi
192 -IUSE="pic static-libs"
193 -
194 -# String for CPU features in the useflag[:configure_option] form
195 -# if :configure_option isn't set, it will use 'useflag' as configure option
196 -CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow altivec cpu_flags_x86_mmx:mmx cpu_flags_x86_mmxext:mmxext"
197 -for i in ${CPU_FEATURES}; do
198 - IUSE="${IUSE} ${i%:*}"
199 -done
200 -
201 -RDEPEND="
202 - >=media-video/libav-0.8.2-r2:0=
203 - !media-video/ffmpeg:0"
204 -DEPEND="${RDEPEND}"
205 -
206 -multilib_src_configure() {
207 - local myconf=( ${EXTRA_LIBPOSTPROC_CONF} )
208 - for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
209 - [[ "${i}" = "native" ]] && i="host" # bug #273421
210 - myconf+=( --cpu=${i} )
211 - break
212 - done
213 -
214 - if use pic ; then
215 - myconf+=( --enable-pic )
216 - # disable asm code if PIC is required
217 - # as the provided asm decidedly is not PIC for x86.
218 - [[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
219 - fi
220 -
221 - # cross compile support
222 - if tc-is-cross-compiler ; then
223 - myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
224 - case ${CHOST} in
225 - *freebsd*)
226 - myconf+=( --target-os=freebsd )
227 - ;;
228 - mingw32*)
229 - myconf+=( --target-os=mingw32 )
230 - ;;
231 - *linux*)
232 - myconf+=( --target-os=linux )
233 - ;;
234 - esac
235 - fi
236 -
237 - "${S}"/configure \
238 - --prefix="${EPREFIX}/usr" \
239 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
240 - --shlibdir="${EPREFIX}/usr/$(get_libdir)" \
241 - --enable-shared \
242 - --cc="$(tc-getCC)" \
243 - --ar="$(tc-getAR)" \
244 - --optflags="${CFLAGS}" \
245 - --extra-cflags="${CFLAGS}" \
246 - $(use_enable static-libs static) \
247 - "${myconf[@]}" || die
248 -}
249
250 diff --git a/media-libs/libpostproc/metadata.xml b/media-libs/libpostproc/metadata.xml
251 deleted file mode 100644
252 index c5d873a154f..00000000000
253 --- a/media-libs/libpostproc/metadata.xml
254 +++ /dev/null
255 @@ -1,13 +0,0 @@
256 -<?xml version="1.0" encoding="UTF-8"?>
257 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
258 -<pkgmetadata>
259 - <maintainer type="project">
260 - <email>media-video@g.o</email>
261 - </maintainer>
262 - <use>
263 - <flag name="pic">Force shared libraries to be built as PIC (this is slower).</flag>
264 - </use>
265 - <upstream>
266 - <remote-id type="github">lu-zero/postproc</remote-id>
267 - </upstream>
268 -</pkgmetadata>
269
270 diff --git a/profiles/features/hardened/amd64/package.use b/profiles/features/hardened/amd64/package.use
271 index 65830f06ea8..bc50e9c21e4 100644
272 --- a/profiles/features/hardened/amd64/package.use
273 +++ b/profiles/features/hardened/amd64/package.use
274 @@ -7,5 +7,4 @@
275 media-libs/x264 pic
276 media-video/ffmpeg pic
277 media-libs/mesa pic
278 -media-libs/libpostproc pic
279 media-libs/xvid pic
280
281 diff --git a/profiles/package.mask b/profiles/package.mask
282 index 4c2ac78480a..a253bdfbd2d 100644
283 --- a/profiles/package.mask
284 +++ b/profiles/package.mask
285 @@ -789,11 +789,6 @@ net-misc/gns3-converter
286 net-misc/gns3-gui
287 net-misc/gns3-server
288
289 -# Matt Turner <mattst88@g.o> (2020-03-25)
290 -# No releases in two years. No commits in upstream git in last six months.
291 -# Many open security bugs. Masked for removal in 30 days.
292 -media-libs/libpostproc
293 -
294 # Jonas Stein <jstein@g.o> (2020-03-21)
295 # Package masked for removal. Broken SRC_URI,
296 # upstream is dead.