summaryrefslogtreecommitdiff
path: root/media-video/dvd_info/dvd_info-1.16.ebuild
blob: 90d0eecc2622c8a217daaa2b6d922487cae3c963 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/beandog/dvd_info.git"
else
	SRC_URI="https://github.com/beandog/dvd_info/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="DVD utilities to print information, copy tracks, backup, etc"
HOMEPAGE="https://github.com/beandog/dvd_info"

LICENSE="GPL-2"
SLOT="0"
IUSE="+libmpv"

DEPEND="
	media-libs/libdvdread
	libmpv? ( media-video/mpv[libmpv,dvd] )
"
RDEPEND="${DEPEND}"

src_configure() {
	econf \
		$(use_with libmpv)
}