summaryrefslogtreecommitdiff
path: root/sys-fs/ffmpegfs/ffmpegfs-2.18.ebuild
blob: 217647f0d211cbd3f33f8d71c9a5bebd1dccc180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

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:=
	sys-fs/fuse:3
	bluray? ( media-libs/libbluray:= )
	dvd? ( media-libs/libdvdread:= )
"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/ffmpegfs-2.18-varcache.patch"
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf \
		$(use_with bluray libbluray) \
		$(use_with dvd libdvd)
}