Diff ffmpegsource-2.40-r2 with a ffmpegsource-9999
| /usr/portage/media-libs/ffmpegsource/ffmpegsource-9999.ebuild 2025-07-29 16:22:14.348455401 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 15 | 15 |
SRC_URI="https://github.com/FFMS/ffms2/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
| 16 | 16 |
S="${WORKDIR}"/ffms2-${PV}
|
| 17 | 17 | |
| 18 |
KEYWORDS="amd64 x86" |
|
| 18 |
KEYWORDS="~amd64 ~x86" |
|
| 19 | 19 |
fi |
| 20 | 20 | |
| 21 | 21 |
LICENSE="MIT" |
| 22 |
SLOT="0/4" |
|
| 22 |
SLOT="0/5" |
|
| 23 | 23 | |
| 24 | 24 |
RDEPEND=" |
| 25 |
>=media-video/ffmpeg-2.4:= |
|
| 25 |
>=media-video/ffmpeg-6.1:= |
|
| 26 | 26 |
sys-libs/zlib |
| 27 | 27 |
" |
| 28 | 28 |
DEPEND="${RDEPEND}"
|
| 29 | 29 |
BDEPEND="virtual/pkgconfig" |
| 30 | 30 | |
| 31 |
PATCHES="${FILESDIR}/${P}-Fix-build-with-ffmpeg-5.patch"
|
|
| 32 | ||
| 33 | 31 |
src_prepare() {
|
| 34 | 32 |
default |
| 35 | 33 | |
| ... | ... | |
| 38 | 36 |
eautoreconf |
| 39 | 37 |
} |
| 40 | 38 | |
| 41 |
src_configure() {
|
|
| 42 |
default |
|
| 43 | ||
| 44 |
sed -i -e "s|@FFMS_VERSION@|${PV}|g" \
|
|
| 45 |
"${S}"/ffms2.pc.in || die
|
|
| 46 |
} |
|
| 47 | ||
| 48 | 39 |
src_install() {
|
| 49 | 40 |
default |
| 50 | 41 | |