summaryrefslogtreecommitdiff
path: root/media-video/webcamize/webcamize-2.0.0.ebuild
blob: 0b3d2175c7fdd70036fc4538f2e45fa1d12f0bc5 (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Use almost any camera as a webcam—DSLRs, mirrorless, camcorders, and more"
HOMEPAGE="https://github.com/cowtoolz/webcamize"
SRC_URI="https://github.com/cowtoolz/webcamize/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	media-video/v4l2loopback
	media-video/ffmpeg
	media-libs/libgphoto2
"

src_compile() {
	emake
}

src_install() {
	emake \
	DESTDIR="${D}" \
	PREFIX="/usr" \
	BINDIR="bin" \
	install
	dodoc readme.md
}