mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-fs/ffmpegfs: switch to slotted ffmpeg-compat:7
Because it doesn't build with ffmpeg-8 Thanks to thomasg for the patch Closes: https://bugs.gentoo.org/969109 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
This commit is contained in:
55
sys-fs/ffmpegfs/ffmpegfs-2.17-r1.ebuild
Normal file
55
sys-fs/ffmpegfs/ffmpegfs-2.17-r1.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools ffmpeg-compat
|
||||
|
||||
DESCRIPTION="FUSE-based transcoding filesystem with support from/to many formats."
|
||||
HOMEPAGE="https://nschlia.github.io/ffmpegfs/"
|
||||
SRC_URI="https://github.com/nschlia/ffmpegfs/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="bluray dvd"
|
||||
|
||||
RESTRICT="test" # needs /dev/fuse
|
||||
|
||||
BDEPEND="
|
||||
app-editors/vim-core
|
||||
app-text/asciidoc
|
||||
virtual/pkgconfig
|
||||
www-client/w3m
|
||||
"
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libchardet
|
||||
media-libs/libcue:=
|
||||
media-video/ffmpeg-compat:7=
|
||||
sys-fs/fuse:3
|
||||
bluray? ( media-libs/libbluray:= )
|
||||
dvd? ( media-libs/libdvdread:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/ffmpegfs-2.16-cflags.patch"
|
||||
"${FILESDIR}/ffmpegfs-2.16-varcache.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# bug 936615
|
||||
sed 's/-D_FORTIFY_SOURCE=2//' -i Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ffmpeg_compat_setup 7
|
||||
ffmpeg_compat_add_flags
|
||||
|
||||
econf \
|
||||
$(use_with bluray libbluray) \
|
||||
$(use_with dvd libdvd)
|
||||
}
|
||||
Reference in New Issue
Block a user