summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-04-28 10:37:30 -0700
committerMatt Turner <mattst88@gentoo.org>2020-04-28 10:40:03 -0700
commite3e6b70b3583653da8f064d2880e0342d6f396e6 (patch)
tree376e5e9bbbe10c62f00a7040b7b9d0d7cdf74978 /media-libs
parentapp-admin/consul-template: 0.25.0 bump (diff)
downloadgentoo-e3e6b70b3583653da8f064d2880e0342d6f396e6.tar.gz
gentoo-e3e6b70b3583653da8f064d2880e0342d6f396e6.tar.bz2
gentoo-e3e6b70b3583653da8f064d2880e0342d6f396e6.zip
media-libs/libpostproc: Remove
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libpostproc/Manifest1
-rw-r--r--media-libs/libpostproc/files/libpostproc-10.20140517-support-MMXEXT.patch26
-rw-r--r--media-libs/libpostproc/libpostproc-10.20140517-r1.ebuild89
-rw-r--r--media-libs/libpostproc/libpostproc-9999.ebuild85
-rw-r--r--media-libs/libpostproc/metadata.xml13
5 files changed, 0 insertions, 214 deletions
diff --git a/media-libs/libpostproc/Manifest b/media-libs/libpostproc/Manifest
deleted file mode 100644
index 4f61e538f839..000000000000
--- 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 8f7d5adc0baf..000000000000
--- 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 <plevine457@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 7aaf82daa190..000000000000
--- 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 1ce9ec065f89..000000000000
--- 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 c5d873a154f5..000000000000
--- 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-video@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>