media-plugins/gst-plugins-libav: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2022-06-04 22:56:33 -04:00
parent aa96bab3d2
commit b6e47645fa
9 changed files with 0 additions and 277 deletions

View File

@@ -1,6 +1 @@
DIST gst-libav-1.16.3.tar.xz 9472760 BLAKE2B 3e98381244d74aa695c737a898711b311518749c6f949af7bd03d08cdf383cbe1a78cea8e3f0268fdb2132bec930803f8fa31e919c6c268b6f8d58092f01fd04 SHA512 37fe621a8d45ac6bf51383a776f3091cc114faaf84b0097e86f33eb4e8c0b70b4cc6fa467aad63daca9b1b24db24c10a067c973ef8232c2965eedeba3d251b0b
DIST gst-libav-1.18.4.tar.xz 281576 BLAKE2B 5ce7b15163a0671744ca6920865b2e3be35ac9209f8b3b0e73202684fe4da2e16abdee2be2d3844170cd688b58b3eadf89b3f3b87b457dc939ae409fe42bc410 SHA512 4eb10af6698f724bbc8d5b7b215e7349e6ff3b52e24b3987ee4077db1ae27ae0d6f25309adc50f0fccdf5af4d617634a7339ad1e5466a737c40a25c52c0d023f
DIST gst-libav-1.18.6.tar.xz 286976 BLAKE2B a3cabee12ab7aedb950761133b719976b49bd14894de446df3dd17ff3b421902bde75f18f64d5f9a2c20a56780b7da1262535fc1707e364cd78a7f3e9e84dced SHA512 886e9f73bb9fdfb650d7c13cf3395679619fbdad3cc7f15b0415bdb9cc5a8f46484fa3dc57666dab0f337d2f2b1585b607516340e24760da58f9ae3137737ac0
DIST gst-libav-1.20.1.tar.xz 280016 BLAKE2B aa734b9d05686ef829bc2243f7f44f1286cf5f1a72755cb7b9af695f4bc7e2b69916831e900b554967a89b5d103392e4fef3a31b47d542fd4a1acaaa70cd91b2 SHA512 5f4169ac03aec715b56d8bff5e45f471150b1997f785f1ad3dc687f9c76060d5bfaafe0ee51f460e53394adceaf41cb64875ce818c16c0111ee171b5dff46854
DIST gst-libav-1.20.2.tar.xz 282468 BLAKE2B a1bb009321097e675c824c7c4def9d3ea4391b31584fa71df6eaaaf559ee01a73b12e777fdd3cd6158150db7bab98f51c84b9f09af4f72ff15a9131574745239 SHA512 845acd0144f333fc532c35a854a9773cef70c96b097995a684911b9ac3fe45aaf75011454e736427dbd6afabaf07459fd22cf7ce8543066e1d5547ee1992e2ca
DIST gst-plugins-libav-1.18.4_ffmpeg-5.patch.bz2 2454 BLAKE2B 7fd89996181f178b6597f3d445fb7b39b41e72173706b52e1b6aad28d35b54268a8aaeadcafebb002ed8264435cbfb7a0252713fc3f566dc002fdde71d6d6e70 SHA512 8da49c16fa2b4567016a16205b3be5830af2420ad8dfff0811f61237903751119be2a73a0953acdc0682c0c81de197af9196ba2abfc9f46bd2652b41f358db56

View File

@@ -1,20 +0,0 @@
diff --git a/ext/libav/gstav.c b/ext/libav/gstav.c
index 2a88230..f6a6303 100644
--- a/ext/libav/gstav.c
+++ b/ext/libav/gstav.c
@@ -155,6 +155,15 @@ plugin_init (GstPlugin * plugin)
/* build global ffmpeg param/property info */
gst_ffmpeg_cfg_init ();
+#ifndef HAVE_LIBAV_UNINSTALLED
+ /* Not using bundled ffmpeg - add a feature rescan dependency for system-ffmpeg */
+ gst_plugin_add_dependency_simple (plugin, NULL,
+ GIO_LIBDIR,
+ "libavcodec.so.58,"
+ "libavformat.so.58",
+ GST_PLUGIN_DEPENDENCY_FLAG_NONE);
+#endif
+
gst_ffmpegaudenc_register (plugin);
gst_ffmpegvidenc_register (plugin);
gst_ffmpegauddec_register (plugin);

View File

@@ -1,35 +0,0 @@
From 801dc93b790e9a96aa437a3f344214170c0bd540 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
Date: Tue, 13 Apr 2021 01:07:15 +0100
Subject: [PATCH] avdemux: fix build with FFmpeg 4.4
Direct access to avstream->index_entries was removed
in favour of the newly added avformat_index_get_entry()
and friends.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-libav/-/issues/85
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/129>
---
ext/libav/gstavdemux.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ext/libav/gstavdemux.c b/ext/libav/gstavdemux.c
index 21b46aa..80a0920 100644
--- a/ext/libav/gstavdemux.c
+++ b/ext/libav/gstavdemux.c
@@ -483,7 +483,11 @@ gst_ffmpegdemux_do_seek (GstFFMpegDemux * demux, GstSegment * segment)
GST_LOG_OBJECT (demux, "keyframeidx: %d", keyframeidx);
if (keyframeidx >= 0) {
+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(58,78,0)
+ fftarget = avformat_index_get_entry (stream, keyframeidx)->timestamp;
+#else
fftarget = stream->index_entries[keyframeidx].timestamp;
+#endif
target = gst_ffmpeg_time_ff_to_gst (fftarget, stream->time_base);
GST_LOG_OBJECT (demux,
--
GitLab

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools eapi7-ver multilib-minimal
MY_PN="gst-libav"
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html"
SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86"
IUSE="+orc"
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-${PV}:1.0[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-base-${PV}:1.0[${MULTILIB_USEDEP}]
>=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}]
orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
virtual/pkgconfig
"
S="${WORKDIR}/${MY_PN}-${PV}"
RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly
PATCHES=(
"${FILESDIR}"/external-ffmpeg4-dep.patch # Automatically rescan available elements for registry when system ffmpeg changes
)
multilib_src_configure() {
GST_PLUGINS_BUILD=""
ECONF_SOURCE=${S} \
econf \
--disable-maintainer-mode \
--with-package-name="Gentoo GStreamer ebuild" \
--with-package-origin="https://www.gentoo.org" \
--disable-fatal-warnings \
--with-system-libav \
$(use_enable orc)
}
multilib_src_compile() {
# Don't build with -Werror; verbose build
emake ERROR_CFLAGS= V=1
}
multilib_src_install_all() {
einstalldocs
find "${ED}" -name '*.la' -delete || die
}

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gstreamer-meson
MY_PN="gst-libav"
MY_PV="$(ver_cut 1-3)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html"
SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz"
SRC_URI+=" https://cmpct.info/~sam/gentoo/distfiles/${CATEGORY}/${PN}/${P}_ffmpeg-5.patch.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86"
IUSE=""
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/gst-plugins-libav-1.18.4_ffmpeg-4.4.patch"
"${WORKDIR}/${P}_ffmpeg-5.patch"
)

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gstreamer-meson
MY_PN="gst-libav"
MY_PV="$(ver_cut 1-3)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html"
SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86"
IUSE=""
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
"
PATCHES=(
"${FILESDIR}/gst-plugins-libav-1.18.4_ffmpeg-4.4.patch"
)

View File

@@ -1,33 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gstreamer-meson
MY_PN="gst-libav"
MY_PV="$(ver_cut 1-3)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html"
SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz"
SRC_URI+=" https://cmpct.info/~sam/gentoo/distfiles/${CATEGORY}/${PN}/${PN}-1.18.4_ffmpeg-5.patch.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86"
IUSE=""
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
PATCHES=(
"${WORKDIR}/${PN}-1.18.4_ffmpeg-5.patch"
)

View File

@@ -1,28 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gstreamer-meson
MY_PN="gst-libav"
MY_PV="$(ver_cut 1-3)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html"
SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86"
IUSE=""
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -1,28 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gstreamer-meson
MY_PN="gst-libav"
MY_PV="$(ver_cut 1-3)"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="FFmpeg based gstreamer plugin"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html"
SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2+"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86"
RDEPEND="
>=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}]
>=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}]
>=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND=""