media-libs/ffmpegsource - 9999 (gentoo)

Search

Install

Install this version:

emerge -a =media-libs/ffmpegsource-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-libs/ffmpegsource-9999

Or alternatively:

emerge --autounmask-write -a =media-libs/ffmpegsource-9999

Package Information

Description:
A libav/ffmpeg based source library for easy frame accurate access
Homepage:
https://github.com/FFMS/ffms2
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~x86 0/5
View Raw Ebuild
# 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:=
	virtual/zlib:=
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default

	# Cheesy hack from autogen.sh
	mkdir src/config || die
	eautoreconf
}

src_install() {
	default

	find "${ED}" -name '*.la' -delete || die
}

Inherited Eclasses

Dependencies

DEPEND

	>=media-video/ffmpeg-6.1:=
	virtual/zlib:=

RDEPEND

	>=media-video/ffmpeg-6.1:=
	virtual/zlib:=

BDEPEND

virtual/pkgconfig