commit:     e3e6b70b3583653da8f064d2880e0342d6f396e6
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 17:37:30 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 17:40:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e6b70b

media-libs/libpostproc: Remove

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/libpostproc/Manifest                    |  1 -
 .../libpostproc-10.20140517-support-MMXEXT.patch   | 26 -------
 .../libpostproc/libpostproc-10.20140517-r1.ebuild  | 89 ----------------------
 media-libs/libpostproc/libpostproc-9999.ebuild     | 85 ---------------------
 media-libs/libpostproc/metadata.xml                | 13 ----
 profiles/features/hardened/amd64/package.use       |  1 -
 profiles/package.mask                              |  5 --
 7 files changed, 220 deletions(-)

diff --git a/media-libs/libpostproc/Manifest b/media-libs/libpostproc/Manifest
deleted file mode 100644
index 4f61e538f83..00000000000
--- a/media-libs/libpostproc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libpostproc-10.20140517.tar.xz 65556 BLAKE2B 
374dc84fb52f32958bcf9daeaabf2be1405d444f72d1f1ccb22e42b657489adad55199e5be27fa80cdcc21ed4480bae901925fbd833bcd30625d82720d481800
 SHA512 
0d6dca077c99ac569d892bc92cd08c6bf3e3a5e30e623ced20227b5bd1bd1aa3ecd150bfc900659accd77b997eb64b4d6f0538f9b6161d190ef6c69dcaf47893

diff --git 
a/media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch 
b/media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch
deleted file mode 100644
index 8f7d5adc0ba..00000000000
--- a/media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Bug: https://bugs.gentoo.org/621172
-Upstream commit: 
https://github.com/lu-zero/postproc/pull/1/commits/d0c9ca711ef69889ebd0e44da90dccc722fe663e
-
-From d0c9ca711ef69889ebd0e44da90dccc722fe663e Mon Sep 17 00:00:00 2001
-From: Peter-Levine <plevine...@gmail.com>
-Date: Tue, 24 Oct 2017 19:24:10 -0400
-Subject: [PATCH] Use AV_CPU_FLAG_MMXEXT
-
-Use AV_CPU_FLAG_MMXEXT instead of AV_CPU_FLAG_MMX2.
----
- libpostproc/postprocess.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
-index 63b6822..951d1f0 100644
---- a/libpostproc/postprocess.c
-+++ b/libpostproc/postprocess.c
-@@ -961,7 +961,7 @@ static int get_cpu_caps(int cpuCaps)
- 
-         if (caps & AV_CPU_FLAG_MMX)
-             cpuCaps |= PP_CPU_CAPS_MMX;
--        if (caps & AV_CPU_FLAG_MMX2)
-+        if (caps & AV_CPU_FLAG_MMXEXT)
-             cpuCaps |= PP_CPU_CAPS_MMX2;
-         if (caps & AV_CPU_FLAG_3DNOW)
-             cpuCaps |= PP_CPU_CAPS_3DNOW;

diff --git a/media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild 
b/media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild
deleted file mode 100644
index 7aaf82daa19..00000000000
--- a/media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-SCM=""
-if [ "${PV#9999}" != "${PV}" ] ; then
-       SCM="git-2"
-       EGIT_REPO_URI="https://github.com/lu-zero/postproc.git";
-fi
-
-inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
-
-DESCRIPTION="Video post processing library"
-HOMEPAGE="https://github.com/lu-zero/postproc";
-if [ "${PV#9999}" != "${PV}" ] ; then
-       SRC_URI=""
-elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
-       SRC_URI="mirror://gentoo/${P}.tar.xz"
-else # Release
-       SRC_URI="https://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz";
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-if [ "${PV#9999}" = "${PV}" ] ; then
-       KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
-fi
-IUSE="pic static-libs"
-
-# String for CPU features in the useflag[:configure_option] form
-# if :configure_option isn't set, it will use 'useflag' as configure option
-CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow altivec cpu_flags_x86_mmx:mmx 
cpu_flags_x86_mmxext:mmxext"
-for i in ${CPU_FEATURES}; do
-       IUSE="${IUSE} ${i%:*}"
-done
-
-RDEPEND="
-       >=media-video/libav-0.8.2-r2:0=
-       !media-video/ffmpeg:0"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-support-MMXEXT.patch
-}
-
-multilib_src_configure() {
-       local myconf=( ${EXTRA_LIBPOSTPROC_CONF} )
-       for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
-               [[ "${i}" = "native" ]] && i="host" # bug #273421
-               myconf+=( --cpu=${i} )
-               break
-       done
-
-       if use pic ; then
-               myconf+=( --enable-pic )
-               # disable asm code if PIC is required
-               # as the provided asm decidedly is not PIC for x86.
-               [[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
-       fi
-
-       # cross compile support
-       if tc-is-cross-compiler ; then
-               myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) 
--cross-prefix=${CHOST}- )
-               case ${CHOST} in
-                       *freebsd*)
-                               myconf+=( --target-os=freebsd )
-                               ;;
-                       mingw32*)
-                               myconf+=( --target-os=mingw32 )
-                               ;;
-                       *linux*)
-                               myconf+=( --target-os=linux )
-                               ;;
-               esac
-       fi
-
-       "${S}"/configure \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/$(get_libdir)" \
-               --shlibdir="${EPREFIX}/usr/$(get_libdir)" \
-               --enable-shared \
-               --cc="$(tc-getCC)" \
-               --ar="$(tc-getAR)" \
-               --optflags="${CFLAGS}" \
-               --extra-cflags="${CFLAGS}" \
-               $(use_enable static-libs static) \
-               "${myconf[@]}" || die
-}

diff --git a/media-libs/libpostproc/libpostproc-9999.ebuild 
b/media-libs/libpostproc/libpostproc-9999.ebuild
deleted file mode 100644
index 1ce9ec065f8..00000000000
--- a/media-libs/libpostproc/libpostproc-9999.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-SCM=""
-if [ "${PV#9999}" != "${PV}" ] ; then
-       SCM="git-r3"
-       EGIT_REPO_URI="https://github.com/lu-zero/postproc.git";
-fi
-
-inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
-
-DESCRIPTION="Video post processing library"
-HOMEPAGE="https://github.com/lu-zero/postproc";
-if [ "${PV#9999}" != "${PV}" ] ; then
-       SRC_URI=""
-elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
-       SRC_URI="mirror://gentoo/${P}.tar.xz"
-else # Release
-       SRC_URI="https://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz";
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-if [ "${PV#9999}" = "${PV}" ] ; then
-       KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
-fi
-IUSE="pic static-libs"
-
-# String for CPU features in the useflag[:configure_option] form
-# if :configure_option isn't set, it will use 'useflag' as configure option
-CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow altivec cpu_flags_x86_mmx:mmx 
cpu_flags_x86_mmxext:mmxext"
-for i in ${CPU_FEATURES}; do
-       IUSE="${IUSE} ${i%:*}"
-done
-
-RDEPEND="
-       >=media-video/libav-0.8.2-r2:0=
-       !media-video/ffmpeg:0"
-DEPEND="${RDEPEND}"
-
-multilib_src_configure() {
-       local myconf=( ${EXTRA_LIBPOSTPROC_CONF} )
-       for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
-               [[ "${i}" = "native" ]] && i="host" # bug #273421
-               myconf+=( --cpu=${i} )
-               break
-       done
-
-       if use pic ; then
-               myconf+=( --enable-pic )
-               # disable asm code if PIC is required
-               # as the provided asm decidedly is not PIC for x86.
-               [[ ${ABI} == x86 ]] && myconf+=( --disable-asm )
-       fi
-
-       # cross compile support
-       if tc-is-cross-compiler ; then
-               myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) 
--cross-prefix=${CHOST}- )
-               case ${CHOST} in
-                       *freebsd*)
-                               myconf+=( --target-os=freebsd )
-                               ;;
-                       mingw32*)
-                               myconf+=( --target-os=mingw32 )
-                               ;;
-                       *linux*)
-                               myconf+=( --target-os=linux )
-                               ;;
-               esac
-       fi
-
-       "${S}"/configure \
-               --prefix="${EPREFIX}/usr" \
-               --libdir="${EPREFIX}/usr/$(get_libdir)" \
-               --shlibdir="${EPREFIX}/usr/$(get_libdir)" \
-               --enable-shared \
-               --cc="$(tc-getCC)" \
-               --ar="$(tc-getAR)" \
-               --optflags="${CFLAGS}" \
-               --extra-cflags="${CFLAGS}" \
-               $(use_enable static-libs static) \
-               "${myconf[@]}" || die
-}

diff --git a/media-libs/libpostproc/metadata.xml 
b/media-libs/libpostproc/metadata.xml
deleted file mode 100644
index c5d873a154f..00000000000
--- a/media-libs/libpostproc/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>media-vi...@gentoo.org</email>
-       </maintainer>
-       <use>
-               <flag name="pic">Force shared libraries to be built as PIC 
(this is slower).</flag>
-       </use>
-       <upstream>
-               <remote-id type="github">lu-zero/postproc</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/profiles/features/hardened/amd64/package.use 
b/profiles/features/hardened/amd64/package.use
index 65830f06ea8..bc50e9c21e4 100644
--- a/profiles/features/hardened/amd64/package.use
+++ b/profiles/features/hardened/amd64/package.use
@@ -7,5 +7,4 @@
 media-libs/x264 pic
 media-video/ffmpeg pic
 media-libs/mesa pic
-media-libs/libpostproc pic
 media-libs/xvid pic

diff --git a/profiles/package.mask b/profiles/package.mask
index 4c2ac78480a..a253bdfbd2d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -789,11 +789,6 @@ net-misc/gns3-converter
 net-misc/gns3-gui
 net-misc/gns3-server
 
-# Matt Turner <matts...@gentoo.org> (2020-03-25)
-# No releases in two years. No commits in upstream git in last six months.
-# Many open security bugs. Masked for removal in 30 days.
-media-libs/libpostproc
-
 # Jonas Stein <jst...@gentoo.org> (2020-03-21)
 # Package masked for removal. Broken SRC_URI,
 # upstream is dead.

Reply via email to