media-libs/ffmpegsource: Bump to 5.0

Closes: https://bugs.gentoo.org/948162

Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
This commit is contained in:
Nick Sarnie
2025-03-13 19:19:00 -04:00
parent b4fad8ff5d
commit 8b8550c3f9
3 changed files with 54 additions and 3 deletions

View File

@@ -1 +1,2 @@
DIST ffmpegsource-2.40.tar.gz 140356 BLAKE2B 57fbc3d979f31108b257b6720045f4e157fca6714bf0f8601e8123c0026a14bb55d343549ff6b246b55a44b4f69c541c58f4b19f1051e338f1f97b2b7557b6de SHA512 407c4b0871f5046b9d364c2946eae88c46eec381b5748530d82918742fd4a36849de590024f8235af2785bd631c0299e591499dc43ae157ff2c6a6f2dab78b67
DIST ffmpegsource-5.0.tar.gz 167985 BLAKE2B 57bf1ccfbc31a1bcefa54f6f7cdb4569b5baa2f6295b9f69691c9490e9ca0dac2e4b9564d19ac44ba6cb28cdd68edfc31e8dc870895bf5bb7f73f248686496c2 SHA512 0b75a0ad0a0ea466d1d19be55886eee5470e6b08ede8159a5099cd962ca0f41222044fc98119de64c72ecea8b64ec2e2abebb8c362f3f377b4d054ba77752348

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
QA_PKGCONFIG_VERSION=$(ver_cut 1-2)
inherit autotools
DESCRIPTION="A libav/ffmpeg based source library for easy frame accurate access"
HOMEPAGE="https://github.com/FFMS/ffms2"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/FFMS/ffms2.git"
inherit git-r3
else
SRC_URI="https://github.com/FFMS/ffms2/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/ffms2-${PV}
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0/5"
RDEPEND="
>=media-video/ffmpeg-6.1:=
sys-libs/zlib
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
# Cheesy hack from autogen.sh
mkdir src/config || die
eautoreconf
}
src_configure() {
default
sed -i -e "s|@FFMS_VERSION@|${PV}|g" \
"${S}"/ffms2.pc.in || die
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,10 +19,10 @@ else
fi
LICENSE="MIT"
SLOT="0/4"
SLOT="0/5"
RDEPEND="
>=media-video/ffmpeg-2.4:=
>=media-video/ffmpeg-6.1:=
sys-libs/zlib
"
DEPEND="${RDEPEND}"